a2lt16v Posted October 22, 2009 Share Posted October 22, 2009 two questions firstly my shop sells nuts and bolts etc and all the items have attributes for the different lengthswhat i want to do is hide the add to cart button so that they have to click view to go into the product to find the drop down list of lengths. so if you go here ( shift click this to open in new window) http://www.sts-fixings.co.uk/10-Stainless-Steel-Hex-Head-Bolts you will see that if you click add to cart it will fail becuase it doesnt know what to add. If you click view you then get to the drop down list of size which is where i want to force them.the next one is you can see that all the prices are £0.00 i would like this to show a from price and display the lowest attribute price do i just simply add this in as a whole sale price or is there a tick box some where Link to comment Share on other sites More sharing options...
chrissie Posted October 22, 2009 Share Posted October 22, 2009 To remove the add to cart buttonpublic_html/themes/yourtheme/product-list.tplfind and remove: (round about line 20) {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} {l s='Add to cart'} {/if} that will remove the 'add to cart' from the product list.Can't help you with the price Link to comment Share on other sites More sharing options...
a2lt16v Posted October 22, 2009 Author Share Posted October 22, 2009 cheers for that thats just the jobi think with the prices i simply can write in the lowest price in the product price Link to comment Share on other sites More sharing options...
chrissie Posted October 22, 2009 Share Posted October 22, 2009 it'll be dead easy, lol. there'll be a file somewhere where you can add the word 'from' - somebody will know I'm sure Link to comment Share on other sites More sharing options...
chrissie Posted October 24, 2009 Share Posted October 24, 2009 Think I have it:..../themes/yourtheme/product-list.tplLook for (around line 20):: {if !$priceDisplay || $priceDisplay == 2}{convertPrice price=$product.price}{/if} Add your text "Price From" (or whatever):: {if !$priceDisplay || $priceDisplay == 2}Price From{convertPrice price=$product.price}{/if} Link to comment Share on other sites More sharing options...
bmarko Posted June 26, 2010 Share Posted June 26, 2010 Thanks for this!I also had to make a similar change to homefeatured.tpl in the homefeatured module. 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