News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

where does the form action occurs?

Started by rookiecoder, March 07, 2014, 01:51:45 AM

Previous topic - Next topic

rookiecoder

where does it occur? and also why can't I see my "shipping_method" anywhere in the database?

Thanks.

llegrand


abantecart

Form action occur in controller for the section. What page or section are you looking at?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

rookiecoder

actually I planned to do some custom work in shipping page. i would like to make a drop down menu to offer some sub-locations options for customer to choose. so I decided to use the "comment section" column instead of creating a new column in the database table. I would like to know how to pass the information from the drop down menu to the comment section. e.g example of desired forms like in this link: http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_radio_checked4

when the customer hits "send order" then it will be submitted to the "comment" section.
I know the form action for shipping occurs in shipping.php in controller and shipping.tpl(for layout). I am confused on how these two components links to each other.

thanks.

eCommerce Core

Each shipping method is an extension and has own model and controller. These are located in the extension/[default_----] directory.
What shipping do you edit?
"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

rookiecoder

I want to edit the "default store pick up" shipping method. so, that's mean I have to alter the shipping file in model and controller? I am still confused, but at least you guys shed some light on this.

Thanks.

abantecart

There is no controller for storefront in "default store pick up". There is only model.
If you need to hook to shipping selection page, you need to look into checkout/shipping template and controller.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Forum Rules Code of conduct
AbanteCart.com 2010 -