News:

Looking for documentation? Take a look on our wiki

Main Menu

shopping cart page in one step

Started by guardiano78, June 23, 2015, 11:37:56 AM

Previous topic - Next topic

guardiano78

hello,
I'm trying to change the page layout of the truck, but I noticed a problem.
I explain my need;

In my site I have two customer groups: default and retailers.
1. The default group should see prices including VAT. so customers always in the group I set that should display the "final sale price";
2. group customers must see the prices excluding VAT. to do this I set the group customers who must see the "Retail price taxes excluded".

I checked prices at home (mod_virtuemart_product) that I modified to get the desired result;
I checked the price list products (the old browse page) that I modified to get the desired result;
I checked the prices of the product in detail (the old fly page) that I modified to get the desired result;

In the shopping cart page, I had some more problems to release the prices without VAT or with VAT in the list of items.

Now my problem is this: the default customer group (prices VAT included - Final price sales) are seen to be the total of VAT and the total order; with the group reseller customers (prices excluding VAT - Price excluding tax) appears neither the total of VAT or the total order.

I wish total tax and total order to display always.
How can I fix?

joomla 3.4.1 - virtuemart 3.0.9

guardiano78

sorry, is this the wrong section to post this kind of issue?

guardiano78

no one knows how to always display the total order (including taxes) and total taxes in the cart?

jenkinhill

Impossible to see exactly what you have done without a URL, but also missing is if you applied Tax per Bill to the wholesale group and Tax per Product to the default group, which would be the normal way to approach this. You mention modifications, which I assume to mean that you used overrides.  It is possible that you may need to set up an override for the checkout cart display as well.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

guardiano78

#4
i'm sorry :-)
this is the url: http://ibnet.no-ip.info/joomla3

i create 2 users:

1. username: renato
    password: 123456
    shoppergroup: default (he can see price with tax)
2. username: test
    password: 123456
    shoppergroup: rivenditori (he can see price without tax)

please try to buy "Sony Xperia E4 Dual Sim Black" to see the issue in cart.


guardiano78

the source code of the prices that are not displayed when the shopper group is set with "prices without taxes ":


echo $this->currencyDisplay->createPriceDiv ('billTaxAmount', '', $this->cart->cartPrices['billTaxAmount'], FALSE);

echo $this->currencyDisplay->createPriceDiv ('billTotal', '', $this->cart->cartPrices['billTotal'], FALSE);

guardiano78

if i print i print bill total unformatted it works (shopper Group that see prices without tax):
$this->cart->cartPrices['billTotal']
It may have a bug???

where can i check functions currencyDisplay and createPriceDiv?

guardiano78

I think I've solved this way:
bill tax amount:

echo $this->currencyDisplay->createPriceDiv ('billTaxAmount', '', $this->cart->cartPrices['billTaxAmount'], FALSE); //displayed for prices with tax
echo $this->currencyDisplay->createPriceDiv ('priceWithoutTax', '', $this->cart->cartPrices['billTaxAmount'], FALSE); //displayed for prices without tax

and bill total:

echo $this->currencyDisplay->createPriceDiv ('billTotal', '', $this->cart->cartPrices['billTotal'], FALSE); //displayed for prices with tax
echo $this->currencyDisplay->createPriceDiv ('priceWithoutTax', '', $this->cart->cartPrices['billTotal'], FALSE); //displayed for prices without tax

But I remain convinced that this can be a bug.
tell me what do you think.