ciburator Posted September 28, 2014 Share Posted September 28, 2014 Hi, i would like to modify code of new, and on-sale labels so it would show only one label at the time. I mean if it is marked on-sale it shows only on-sale not both, on-sale label should have higher priority. Any ideas from where should i start ? Link to comment Share on other sites More sharing options...
vekia Posted September 28, 2014 Share Posted September 28, 2014 what theme you use? also, for these features you use default modules or some other solutions? Link to comment Share on other sites More sharing options...
ciburator Posted September 28, 2014 Author Share Posted September 28, 2014 blackhawk3.0 theme and reworked blockspecials module to show onsale products. http://78.60.149.186 Link to comment Share on other sites More sharing options...
ciburator Posted September 30, 2014 Author Share Posted September 30, 2014 do i have to modify product.tpl code to get my result ? Link to comment Share on other sites More sharing options...
trevorgilligan Posted January 8, 2015 Share Posted January 8, 2015 using prestashop 1.6 default theme, best sellers not showing add to cart button... any ideas? Link to comment Share on other sites More sharing options...
mytheory. Posted January 8, 2015 Share Posted January 8, 2015 Hi, Well if you are trying to modify the labels on the product main page (where there is only 1 product and its details) then yes you would modify /themes/yourtheme/product.tpl If you are trying to modify the label on the product list pages... the list of products that appear under specific categories, then you will need to edit /themes/yourtheme/product-list.tpl OR BOTH. You will need to find the block of code that inserts these labels and include an IF-Statement to work... it shouldn't be too difficult. Let me know if you need clarification. You may need to provide the tpl files though. HTH! Link to comment Share on other sites More sharing options...
trevorgilligan Posted January 9, 2015 Share Posted January 9, 2015 hi and thanks @mytheory. i uploaded the default "product-list.tpl" with no change. its not the product main page its the home page. "new arrivals" shows everything - labels, add to cart, etc. however, best sellers only shows "more". some of the same products are in both new arrivals and best sellers but in best sellers they dont show anything other than "more". if you have any idea of what code to change and where that would be a great help. thank you @mytheory. all the best, trev Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2015 Share Posted January 9, 2015 trevorgilligan you see add to cart button in other parts of shop (instead of product page) ? i mean, other products listings displays it? Link to comment Share on other sites More sharing options...
trevorgilligan Posted January 9, 2015 Share Posted January 9, 2015 hi vekia, pleasure to chat to you yes add to cart everywhere. its not just add to cart missing from best sellers, it is also "new label" and "sale label". see image, thanks again vekia, trev. see difference here: http://vouchoff.com/shop/ between new arrivals and best sellers Link to comment Share on other sites More sharing options...
trevorgilligan Posted January 11, 2015 Share Posted January 11, 2015 any update on this? if not i will just get it done from prestashop designer, thanks trev Link to comment Share on other sites More sharing options...
mytheory. Posted January 20, 2015 Share Posted January 20, 2015 Hi, Sorry I must have missed this post... did you get it resolved? So I noticed in your last post you provided the url. Having viewed the page, you are trying to get rid of the "NEW" label, and only show the "SALE" label? If you still need assistance, please let me know. Thanks! 1 Link to comment Share on other sites More sharing options...
yaser.awan Posted January 21, 2015 Share Posted January 21, 2015 How i can change label " Store Information" in footer to "School Information " thanks Link to comment Share on other sites More sharing options...
mytheory. Posted January 21, 2015 Share Posted January 21, 2015 Hi, Is this a custom module? If its the Block Contact Info... try editing /modules/blockcontactinfos/blockcontactinfos.tpl Look for a line of code similar to the following: <h4 class="title_block">{l s='Contact us' mod='blockcontactinfos'}</h4> In this example, change 'Contact us' to 'Something Different' Let me know if this works or doesn't Thanks! Link to comment Share on other sites More sharing options...
trevorgilligan Posted February 6, 2015 Share Posted February 6, 2015 thanks @mytheory @mytheory. it didnt show labels new , and sale , but more importantly didnt have add to cart. anyhow i got someone to make changes and its up there now, i dont know where change is, but i think its in themes / modules / block bestseller or else modules / best seller. if anyone want to see any files / code i can put up here no prob Link to comment Share on other sites More sharing options...
Recommended Posts