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! 

Share this post


Link to post
Share on other sites
  • 1 year later...

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

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More