- Posts: 11
- Thank you received: 0
Category view (price-per-weight-unit)
11 years 3 months ago - 11 years 3 months ago #206633
by Babylon5
Category view (price-per-weight-unit) was created by Babylon5
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.6.3
-- Error-message(debug-mod must be tuned on) -- : Category view not corresponding to german law
Hello,
german law demands that the price per weight unit is already visible in the catagory view (product list).
I could not find a solution in this forum yet how to display this information in the product listing. Can you please help me how to modify the category view to meet the legal requirements?
Best Regards
Sabine
UPDATE: I followed the hint in the post: demo.hikashop.com/support/forum/4-how-to...-category-pages.html
The price per weight is showing now, but in an non acceptable way (so I disabled it again):
This is the result:
"8,90 € 11,87 € / l inkl. MwSt."
This way it should be displayed:
8,90 € / unit inkl. MwSt.
11,87 € / l inkl. MwSt.
Any hints?
URL: bihlmayer.de/cms/onlineshop
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.6.3
-- Error-message(debug-mod must be tuned on) -- : Category view not corresponding to german law
Hello,
german law demands that the price per weight unit is already visible in the catagory view (product list).
I could not find a solution in this forum yet how to display this information in the product listing. Can you please help me how to modify the category view to meet the legal requirements?
Best Regards
Sabine
UPDATE: I followed the hint in the post: demo.hikashop.com/support/forum/4-how-to...-category-pages.html
The price per weight is showing now, but in an non acceptable way (so I disabled it again):
This is the result:
"8,90 € 11,87 € / l inkl. MwSt."
This way it should be displayed:
8,90 € / unit inkl. MwSt.
11,87 € / l inkl. MwSt.
Any hints?
URL: bihlmayer.de/cms/onlineshop
Last edit: 11 years 3 months ago by Babylon5. Reason: Update
Please Log in or Create an account to join the conversation.
11 years 3 months ago #206641
by nicolas
Replied by nicolas on topic Category view (price-per-weight-unit)
Hi,
The simplest is to edit the file "listing_price" via the menu Display>Views and change the code:
to:
The simplest is to edit the file "listing_price" via the menu Display>Views and change the code:
Code:
if($this->params->get('show_price_weight')){
if(!empty($this->element->product_id) && isset($this->row->product_weight) && bccomp($this->row->product_weight,0,3)){
Code:
if(true){
if(isset($this->row->product_weight) && bccomp($this->row->product_weight,0,3)){
Please Log in or Create an account to join the conversation.
11 years 3 months ago #206809
by Babylon5
Replied by Babylon5 on topic Category view (price-per-weight-unit)
Please Log in or Create an account to join the conversation.
11 years 3 months ago #206834
by nicolas
Replied by nicolas on topic Category view (price-per-weight-unit)
That's just a matter of CSS.
You can try with that CSS for example:
.hikashop_product_price_per_weight_unit{ display: block; }
You can try with that CSS for example:
.hikashop_product_price_per_weight_unit{ display: block; }
Please Log in or Create an account to join the conversation.
11 years 3 months ago #206865
by Babylon5
Replied by Babylon5 on topic Category view (price-per-weight-unit)
That´s it 
Sorry for bothering you and thank yo so much.....
Sorry for bothering you and thank yo so much.....
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds