Price in Views Category different from Price in View product

21 views
Skip to first unread message

Pierre de Nomazy

unread,
May 10, 2012, 12:12:02 PM5/10/12
to djang...@googlegroups.com
Hi,
I have in LFS07.2 set up a costumer taxe (VAT) and a product with product taxe and for_sale == True and a for_sale_price.
In category_products View, the standard_price is without VAT and the for_sale price with VAT.
In the product view, both price are with VAT.

Perhaps, it's a bug, I discovered by random, because my aim is to view all price without VAT (for a BtoB web site). I replaced get_price_gross by get_price_net ligne 82 in product_inline.html, for view product.
How can do for the same for category_products View ?

In addition, I have to add VAT on shipping price. In the cart or the order, VAT on shipping price must be added to VAT on product price.

Thanks

Kai Diefenbach

unread,
May 10, 2012, 1:39:04 PM5/10/12
to djang...@googlegroups.com
Hi, 

Am 10.05.2012 um 18:12 schrieb Pierre de Nomazy:

I have in LFS07.2 set up a costumer taxe (VAT) and a product with product taxe and for_sale == True and a for_sale_price.
In category_products View, the standard_price is without VAT and the for_sale price with VAT.
In the product view, both price are with VAT.

This is a bug, I can reproduce this. I'm going to fix this asap. Thanks!

Perhaps, it's a bug, I discovered by random, because my aim is to view all price without VAT (for a BtoB web site). I replaced get_price_gross by get_price_net ligne 82 in product_inline.html, for view product.
How can do for the same for category_products View ?

Same there, the product instance is within "product.obj"

FWIW, there will be tags, later, with which you can change all prices at once, see line 33 of categories/product/default.html 

In addition, I have to add VAT on shipping price. In the cart or the order, VAT on shipping price must be added to VAT on product price.

Sorry, don't get this one.

Regards
Kai

--
IQ++
Tel: +49 361 / 6636700
Fax: +49 361 / 6636702
Mail: kai.die...@iqpp.de
Web: http://www.iqpp.de
Skype: kai.diefenbach

Pierre de Nomazy

unread,
May 11, 2012, 10:19:55 AM5/11/12
to djang...@googlegroups.com
Kai,
Thanks for answer. I changed 'get_price_gross' by 'get_price_net' ligne 623 in

lfs_tags.py and now, I have all my view without VAT.


About VAT in shipping price, we can add same rate in a product taxe and link it to the shipping method. The button choice of the price calculator in this shipping method has no effect, it is always computed as 'price included taxe'. So, we have no Total exluded Taxe in the cart and the order. I must check but this Total exc. VAT is mandatory in invoices in most european countries. 

Regards

Pierre

Reply all
Reply to author
Forward
0 new messages