evolution.x Posted August 9, 2012 Share Posted August 9, 2012 (edited) Hi, At the moment i have quite a few products which are sent directly from the manufacturer. All of these products are showing "In Stock" in the store, problem is that some may not be in stock with the manufacturer. Is there any way i could add a new option to the product page in BO, for example a checkbox which would be "Is this product sent direct from manufacturer?" if the box is ticked it will show in the store front "Product sent direct from manufacturer, please email us to check stock levels" instead of "In Stock". Any help on this would be great! Thanks. Edited August 10, 2012 by evolution.x (see edit history) Link to comment Share on other sites More sharing options...
orwell Posted August 10, 2012 Share Posted August 10, 2012 If all these products have the same supplier or manufacturer you could do some testing in your template. {if $product->supplier_name == 'your supplier'} Please email us to check stock levels {else} The code block that displays stock {/if} 1 Link to comment Share on other sites More sharing options...
evolution.x Posted August 10, 2012 Author Share Posted August 10, 2012 Hi, Thanks for that, works perfectly. Any idea how to exclude 2 product ID as 2 of the product i always hold in stock? Cheers Link to comment Share on other sites More sharing options...
evolution.x Posted August 10, 2012 Author Share Posted August 10, 2012 (edited) Fixed with this {if $product->manufacturer_name == 'My Manufacturer' & $product->id != 225 & $product->id != 226} Edited August 10, 2012 by evolution.x (see edit history) 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