webtoni Posted September 7, 2011 Share Posted September 7, 2011 Dear users, i'm inserting products in a catalog, the products are t-shirts who can have 4 sizes (s, m, l, xl), i put that in combinations and all is right, but when i visit the products in front office it puts a default size (M). Is there any way to show product without a default size, and if user forget to select it, system will alert them. thanks your attention. Link to comment Share on other sites More sharing options...
webtoni Posted September 7, 2011 Author Share Posted September 7, 2011 Hi webtoni, Can you post a link to your store here for us to check this out? -Mike dear Mike http://abstract-wear.com/presta/product.php?id_product=10 Link to comment Share on other sites More sharing options...
webtoni Posted September 7, 2011 Author Share Posted September 7, 2011 In your product.tpl file, look for this bit of code: <select name="group_4" id="group_4" onchange="javascript:findCombination();$('#wrapResetImages').show('slow');;"> <option value="23" title="L">L</option> <option value="22" selected="selected" title="M">M</option> <option value="21" title="S">S</option> <option value="24" title="XL">XL</option> </select> And replace it with <select name="group_4" id="group_4" onchange="javascript:findCombination();$('#wrapResetImages').show('slow');;"> <option value="23" title="L">L</option> <option value="22" title="M">M</option> <option value="21" title="S">S</option> <option value="24" title="XL">XL</option> </select> This should remove any default value. Unfortunately, I don't have a suggestion off the top of my head as for the email notification if you don't select a size, but I'm sure someone else here on the forums can point you in the right direction on that one. Please let me know if this works for you. -Mike where is the location of this file Link to comment Share on other sites More sharing options...
tomerg3 Posted September 7, 2011 Share Posted September 7, 2011 I just tried to add the product to the cart and it seems to be working correctly http://screencast.com/t/CCQ4zXj3 Do you still have this issue? Link to comment Share on other sites More sharing options...
webtoni Posted September 12, 2011 Author Share Posted September 12, 2011 I just tried to add the product to the cart and it seems to be working correctly http://screencast.com/t/CCQ4zXj3 Do you still have this issue? Dear Tomerg3 yes, we can add product to the car, but my problem still existing: - i had created the combinations for the products, but i don't want the page set a default value for product when i see their details. because people can forget to choose or change the size. do you understand me? thanks for your attention Link to comment Share on other sites More sharing options...
tomerg3 Posted September 12, 2011 Share Posted September 12, 2011 Check out http://www.presto-changeo.com/en/content/7-default-attribute-alert It was written for older versions of PS, so the line #'s may be off a bit, but the logic remains the same. Also, make sure to turn on force recompile (Preferences->performance) after you change the tpl files. Link to comment Share on other sites More sharing options...
webtoni Posted September 13, 2011 Author Share Posted September 13, 2011 Check out http://www.presto-ch...attribute-alert It was written for older versions of PS, so the line #'s may be off a bit, but the logic remains the same. Also, make sure to turn on force recompile (Preferences->performance) after you change the tpl files. thanks, i will try that. thanks 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