dennisss Posted May 2, 2011 Share Posted May 2, 2011 Hi,I'm new to prestashop and not very familiar with php (c# developer).First of all, I have a product with two attributes, they have different "reference" set during creation.I'm trying to add a link on my product page (in product.tpl) that sends the currenty selected reference as a parameter to another webpage that shows all our physical stores stocklevel. The problem is I'm unable to use $product->reference since it shows the main products reference and not the currently selected value.I've tried creating a html element with the id below in product.tpl and then adding this to product.js$('#product_reference_dennis')[removed]("Dennis testing"); (as row 275, presta 1.4.0.17), but it won't allow me to use innerHTML to replace the tag contents.Any help would be greatly appeciated!!!Best regardsDennis 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