mpluis Posted February 24, 2011 Share Posted February 24, 2011 Hi, My Add to cart button text overlaps the view button text!can I modify the text in this button? Regards Luis Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 24, 2011 Share Posted February 24, 2011 Change this code in product-list.tpl: {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} {l s='Add to cart'} {/if} to this: (note the difference is the exclusive_big class) {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} {l s='Add to cart'} {/if} and in global.css. ADD this selector: input.exclusive_big, input.exclusive_big_disabled, a.exclusive_big, span.exclusive_big { background-image: url('../img/button-large_exclusive.gif') width: 180px; } What this will do is create a new selector that uses the large button for your add to cart button where it normally uses the medium button. The large button is 180px wide. I hope that is enough. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 24, 2011 Share Posted February 24, 2011 You may also have to play around with the positioning. Link to comment Share on other sites More sharing options...
mpluis Posted February 25, 2011 Author Share Posted February 25, 2011 Mr many thanks! Link to comment Share on other sites More sharing options...
mpluis Posted February 25, 2011 Author Share Posted February 25, 2011 MrBaseball34, Just a question, were in the global.css. page should I put the selector, its new code or replace an existing one?I opened the global.css. page in Dreamweaver and is huge! this is the first time I do something like this! Thanks Luis Link to comment Share on other sites More sharing options...
poppo Posted February 4, 2012 Share Posted February 4, 2012 Hi I am actually wanting to edit the text in the button that says view when you click on a category page then it shows the list of products. I've tried editing the tpl file but nothing changes. i want to change the word view to Choose Product Size because I am basing my prices on atrributes. Any help would be greatfully appreciated Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 6, 2012 Share Posted February 6, 2012 MrBaseball34, Just a question, were in the global.css. page should I put the selector, its new code or replace an existing one? Yes, it is huge, you can place it at the bottom of the file. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 6, 2012 Share Posted February 6, 2012 Hi I am actually wanting to edit the text in the button that says view when you click on a category page then it shows the list of products. Search for this text in your tpl files: title="{l s='View'}" Then you'll find it. I can see 3 in my template. product-list.tpl, product.tpl and producs-comparison.tpl Link to comment Share on other sites More sharing options...
Recommended Posts