mitchellds Posted September 2, 2012 Share Posted September 2, 2012 Version: CubeCart 5.1.4 OK, this may be super simple but I think the idea is super-logical. When you create a product, one of the attributes of a product is it's "Condition." For example, from the "Condition" drop-down list, you select "New," "Used," or "Refurbished." What I want to happen is to have this product "Condition" displayed on each product's page. Right now, each product displays the product price, the manufacturer, and the stock level like: $94.50 Manufacturer: Zap! Stock Level: 1 What I want to achieve is the following: $94.50 Condition: New Manufacturer: Zap! Stock Level: 1 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 2, 2012 Share Posted September 2, 2012 Add to content.product.php <!--added to show condition--> {if $PRODUCT.condition} <div style="text-transform: capitalize;"> <li><strong>{$LANG.catalogue.condition}</strong>{$PRODUCT.condition}</li></div> {/if} <!--end--> All our items are used, and we finally stopped getting questions about them being new or used after adding this to the listing itself. It didn't matter that the notice that all are used was in the slider on every page, plus in the TOS. Quote Link to comment Share on other sites More sharing options...
mitchellds Posted September 3, 2012 Author Share Posted September 3, 2012 Dirty Butler, Thank you very much for the help! Your simple modification worked perfectly! I made a couple of very light adjustments to your code: <!--added to show condition--> {if $PRODUCT.condition} <div style="text-transform: capitalize;"> {$LANG.catalogue.condition}: {$PRODUCT.condition}</div> {/if} <!--end--> Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 3, 2012 Share Posted September 3, 2012 Glad it worked for you. I'm not on a stock skin, so the extra code on mine was probably for cosmetic consistency. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.