Jump to content

1. How can I add text to the right of the price in homefeatured? 2. Invoice...


Recommended Posts

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...

 

post-294423-0-63442900-1406721512_thumb.png

 

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:

 

post-294423-0-86236700-1406721816_thumb.png

 

Can someone help? :)

 

 

Link to comment
Share on other sites

 

 

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

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

×
×
  • Create New...