Virtuemart additional text in news show GK5

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Mar 06, 2014 2:37 pm
Reply with quote
Report this post
Hi
Where can I add the text "inc.tax: €xxx" like in demo news show GK5? I send a screenshot. Thanks.
text.png
User avatar
Expert Boarder

teitbite
Thu Mar 06, 2014 6:13 pm
Reply with quote
Report this post
Hi

This should be displayed on it's own if tax is set properly. Please show me Your site.
User avatar
Moderator

GK User
Thu Mar 06, 2014 7:19 pm
Reply with quote
Report this post
The site is http://www.miraelmuro.cl/
I have one tax por all prices, but I had to change a line in controler.php file, in /modules/mod_news_pro_gk5/portal_modes/product_gallery, writing 'salesPrice" instead of 'basePriceWithTax'" (in this forum in theme "GK5 don't show prices")
Does this mean that it can not display the additional text?
In the product details maybe you can see price with red characters. This is because I can not separate the text styles for the color module GK5 price in price and color in the product detail view.
User avatar
Expert Boarder

teitbite
Fri Mar 07, 2014 4:26 pm
Reply with quote
Report this post
Hi

The fact that prices were not showing when "basePriceWithTax" was used means that VM recognised no tax and used 0. The modification to controler.php forced not to use this price, but tax should be visible. If it's not than I believe something is wrong with the tax in the settings of VM still. But since I'm not a VM expert and You have already done some work to controler.php than edit it one more time and add the tax text manually. What is the tax value You are using and send me the modified file so I'll prepare it for You.

What format should this tax text have ?
User avatar
Moderator

GK User
Fri Mar 07, 2014 8:35 pm
Reply with quote
Report this post
I only want to add the phrase "19% IVA incluído" (included 19% tax), because I will show a whole price with tax and no differentiate. Can I add this phrase in default.php?
User avatar
Expert Boarder

teitbite
Sat Mar 08, 2014 9:31 pm
Reply with quote
Report this post
Hi

Not in default.php, but this style's controler.php file. Please send it to me so I'll add it. I could use the clear template, but I'm not sure what changes exactly was made.
User avatar
Moderator

teitbite
Tue Mar 11, 2014 7:52 pm
Reply with quote
Report this post
Hi

I meant to send me controler.php file, but if You want me to make it for You than I will need an access to FTP.
User avatar
Moderator

GK User
Wed Mar 12, 2014 7:57 pm
Reply with quote
Report this post
O.K, I did not understand, now I send the file.
User avatar
Expert Boarder

teitbite
Thu Mar 13, 2014 8:10 pm
Reply with quote
Report this post
Hi

Thanks. Here is same file with an extra line to add tax information.
User avatar
Moderator

GK User
Fri Mar 14, 2014 2:35 pm
Reply with quote
Report this post
Thanks you very, very much!!
User avatar
Expert Boarder

teitbite
Fri Mar 14, 2014 11:23 pm
Reply with quote
Report this post
Hi

No problem. Glad I could help.
User avatar
Moderator


cron