Problem with price in category page

Fashion and clothing responsive Joomla ecommerce template with full VirtueMart support and advanced store features.
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
Fri Jan 03, 2014 11:36 am
Reply with quote
Report this post
I have problem with show price in category page and NSP module in frontage. What do I need? Please help!
http://organicsymphony.ru
User avatar
Fresh Boarder

teitbite
Fri Jan 03, 2014 4:44 pm
Reply with quote
Report this post
Hi

Looks like the priceWithTax is disabled or You have a tax set to 0. Please try change this value to a different one for test. Try also if disabled tax makes a difference.
User avatar
Moderator

GK User
Fri Jan 03, 2014 5:55 pm
Reply with quote
Report this post
does not help, I give you the password so you can fix?
User avatar
Fresh Boarder

teitbite
Fri Jan 03, 2014 6:51 pm
Reply with quote
Report this post
Hi

Unfortunatelly I'm not a VM expert and would not know how to make it display. I just know problem is connected with tax and if tax is configured wrong it's giving a price option called priceWithTax equal 0.

Please make a different workaround.
Go to /modules/mod_news_pro_gk5/portal_modes/product_gallery/controller.php , localize the code around line 155

Code: Select all
        $news_price.= $currency->createPriceDiv('basePriceWithTax','',$product->prices);


and change it to

Code: Select all
        $news_price.= $currency->createPriceDiv('salesPrice','',$product->prices);


With this a different type of price will be used and the tax issue will not matter.
User avatar
Moderator

GK User
Wed Jan 08, 2014 3:45 am
Reply with quote
Report this post
I found another workaround to display the Base price without tax only on the VM Category page:
go to the file../templates/gk_shop_and_buy/html/com_virtuemart/category/default.php
and edit/comment the lines as shown below:

//echo $this->currency->createPriceDiv('basePriceWithTax', '', $product->prices);
echo $this->currency->createPriceDiv('priceWithoutTax', '', $product->prices);
//echo $this->currency->createPriceDiv('taxAmount','TPL_GK_LANG_VM_INC_TAX', $product->prices);
Cheers....
User avatar
Fresh Boarder

teitbite
Fri Jan 10, 2014 5:55 am
Reply with quote
Report this post
Hi

Yes, that's a solution for category page layout. Sorry, I thought we were talking only about News Show Pro module. Anyway, I'm glad it's ok now :)
User avatar
Moderator


cron