Jump to content

[PrestaShop 1.7] How to make your own Add to Cart button?


Recommended Posts

Hi Everyone,

I'm trying to provide multiple Add to Cart buttons on a single product page corresponding to each combination of the product. 
For instance, if a product has two variations: Small and Large, then there will be two separate buttons to add each into the cart.

I've managed to pull the data of all the available combinations on the page but I can't seem to figure out how the default ajax add to cart button works. Did some google search but I suppose the implementation varies from version to version of PrestaShop.

I'm quite a noobe so I would highly appropriate any help from the community.

Using PrestaShop 1.7.4.2, default theme.

Thanks a ton! 

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...