Jump to content

what file controls the add to cart feature?


bikhs

Recommended Posts

Hey everyone, am new to prestashop and have minimal php experience so bare with me :)

 

i have plenty HTML experience so hopefully thats a good start......

 

i want to find out in prestashop, what php file holds the add to cart feature?

 

is it possible to customise the add to cart button via the php script ie modify / customise what details are sent to the cart like in HTML??

 

all help will be much appreciated

 

thanks peeps :D

 

Bikhs

Link to comment
Share on other sites

Hi,

 

CartController.php manage cart : add product, delete product.

You can overload it to get special behaviour

 

Add to cart button will be find in several tpl files like product.tpl to be displayed in html.

 

There are possibilities to get customised add to cart button. Do not mind asking for specifics ones

Regards

Link to comment
Share on other sites

hi math

 

i have a probelm with "add to cart". I turned off the ajax on backend resulting redirect to the previous page when i clicked "add to cart". my problem is the cart remains empty although i clicked it repeatedly

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...