Jump to content

[SOLVED] Taxes & special offers and accesories modules


Recommended Posts

Hi,

I have the option of not showing taxes in my shop (www.mawamba.es, Spanish sorry...) and when it shows accesories the prices are tax included.

The special offers block in the main window (on the right) also shows the old price with tax included, although you can read the message "tax not included below the price".

Anyone can guess what's happening?

Thank you very much, my partners!

Link to comment
Share on other sites

  • 2 weeks later...

Hello, I had same problem as you with accessories prices.

I have solved replacing the next lines in product.tpl:

Old line:
{displayWtPrice p=$accessory.price}

Replaced with:
{if $priceDisplay == 1}
{displayWtPrice p=$accessory.price_tax_exc}
{else}
{displayWtPrice p=$accessory.price}
{/if}

I hope this can help you.

------

En español:
Tuve el mismo problema que tú con el tema de los impuestos en los accesorios. Lo he podido resolver modificando el archivo product.tpl del tema que estoy usando, reemplazando las líneas que he mencionado antes.

Espero que te sirva de algo.
Lo otro que comentas, de las ofertas especiales.. yo no las uso, pero en este mismo fichero "product.tpl" he visto las líneas que ponen el precio en pantalla. Seguro que si haces estos mismos cambios en esa zona te funciona.

Saludos.

Link to comment
Share on other sites

Excellent! It works fine!

Only one thing: take care the " " are theses ones and not those italic in your code.

I've also followed your instructions about the special offers bug and it was solved too!

You only have to change line 218:

{convertPrice price=$product->getPriceWithoutReduct(true)}

for this one

{convertPrice price=$product->getPrice(false,"","","","",false)}

THANK YOU!!!

Link to comment
Share on other sites

@alfix, after making the changes you propose, the article shows me the following error:

Catchable fatal error: Object of class Product could not be converted to string in /homepages/25/d261805770/htdocs/tools/smarty/compile/%�^D0E^D0E37A37%%product.tpl.php on line 361

EDIT: SOLVED, the problem was the "".

but in special offers block still can´t set prices without TAX, any help?

Thanks.

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
×
×
  • Create New...