remyessers Posted August 29, 2013 Share Posted August 29, 2013 Hi, On my product page I've listed all my available colors in a list like this: Chair X - RED Chair X - Blue Chair X - Green I would like to place an add to cart link after the color on the product page. I've found the follow code where 630 is my product ID: <a class="exclusive_small ajax_add_to_cart_button" title="{l s='Add to cart'}" onclick="ajaxCart.add(630, null, true, null, 1, null)">Add Me</a> How can I change the code so it adds the correct attribute to the cart? Now it adds the default color combination to my cart. Anyone can point me in the right direction? Best regards, Remy p.s. I'm using PS 1.5.4.1 1 Link to comment Share on other sites More sharing options...
pel024 Posted August 29, 2013 Share Posted August 29, 2013 Hi, this module might work. I use it and it works well and easy to customise. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now