Not to display "Old price" if price=0

11.12.2017 10:40
#1
J.
Joomshopping forum user no avatar
Name: Radik
22.03.2011
Posts: 33
Quote
Not to display "Old price" if price=0

hi
there is not happy solution for old price. If "old price" is 0, joomshopping template add "style="display:none" ". This is not good for SEO, because on gooogle resaults there is, in description for product, also text "Old price: 0.00 €." - IT SHOULD NOT BE THERE if old price is 0, right? There must be only price for product. Only if there is any number as old price, it must be displayed there, in source code of product.

Please fix teplate for product "product_default.php". So if there will be "old price=0", it will not be generated at all on page (frontend).

thanks


Joomla: 3.8.2
JoomShopping: 4.16.3
PHP: 7
MySQL: 5.6
 
11.12.2017 12:03
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Not to display "Old price" if price=0

style="display:none - done for attributes

change your template.

 
11.12.2017 12:26
#3
J.
Joomshopping forum user no avatar
Name: Radik
22.03.2011
Posts: 33
Quote
Aw: Not to display "Old price" if price=0

hi,
1st - it is in your, joomshopping's, "default" teplate
2nd - not possible to set - turn on/off to display option for "old price" in joomshopping settings/options - why it is not there?

thanks

 
11.12.2017 14:07
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Not to display "Old price" if price=0

1. Create copy and change
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/3567.html

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.