Arnytoo Posted July 30, 2014 Share Posted July 30, 2014 Hello, I have two small problems in my shop, that I can't find answers to... Googled alot... 1. How can I add text in my homefeatured module to the right of the price. See the first picture... I want to put the text within the yellow box. I tried to put code text <span>Kaina be PVM</span> To product.tpl code lines, but the text didn't showed up.. <span class="product-price price_yellow"> {if $priceDisplay != 1} {displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc} {/if} </span> 2. And for the second problem. I want to remove tax box from my invoice. See below: Can someone help? Link to comment Share on other sites More sharing options...
vekia Posted July 30, 2014 Share Posted July 30, 2014 1 Topic = 1 Subject or 1 Question- If you have more than one question, open more than one new topic! - Do not ask your question on a thread that doesn’t deal with the exact same matter. Open a new thread, it’s alright to do so. 1) what prestashop version you use and what template? from screenshot you attached i see that it's some non default theme Link to comment Share on other sites More sharing options...
Arnytoo Posted July 30, 2014 Author Share Posted July 30, 2014 Sorry, didn't knew that rule. I use prestashop 1.6.0.6 version. Here is the link to the page: http://www.biurvita.lt/ . Link to comment Share on other sites More sharing options...
Arnytoo Posted July 31, 2014 Author Share Posted July 31, 2014 Any suggestions? Really need to have that text on homefeatured module. Link to comment Share on other sites More sharing options...
vekia Posted August 1, 2014 Share Posted August 1, 2014 after <span> with price just add another span, for example: <span class="afterprice">test</span> effect Link to comment Share on other sites More sharing options...
Arnytoo Posted August 6, 2014 Author Share Posted August 6, 2014 Thanks for the answer vekia, unfortunately this doesn't work. If you do "view source" on Google Chrome and add this, then yes it shows that it should work, but when I add that to the code it doesn't: <span class="product-price price_yellow"> {if $priceDisplay != 1} {displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc} {/if} </span> <span class="afterprice">test</span> </span> I tried to put that code in numerous ways beetween every line and still... Maybe that is because "homefeatured" module, show the product simply by asking for $products? Link to comment Share on other sites More sharing options...
vekia Posted August 6, 2014 Share Posted August 6, 2014 make sure that you altered correct file if module file is located in theme directory (themes/YOUR_THEME/modules/) you have to alter this one Link to comment Share on other sites More sharing options...
Arnytoo Posted August 11, 2014 Author Share Posted August 11, 2014 Hi, I managed to solve the problem. I had to add text in product-list.tpl file of the theme. Will create another topic for the second problem. Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts