- Posts: 12
- Thank you received: 1
two prices RRP and our price
- gavin.evans
-
Topic Author
- Offline
Less
More
13 years 9 months ago #81647
by gavin.evans
two prices RRP and our price was created by gavin.evans
I have two prices assigned to a product, that is fine on the product item see below link
demo.havenkayeitsolutions.co.uk/index.ph...-2-2-fully-reclining
RRP is hikashop_product_price hikashop_product_price_0
Our Price is hikashop_product_price hikashop_product_price_1
but on the product list page see link below
demo.havenkayeitsolutions.co.uk/index.php/products
RRP is hikashop_product_price hikashop_product_price_0 but shows the price of Product_price_1
This is confusing the hell out of me, any help would be really welcome.
demo.havenkayeitsolutions.co.uk/index.ph...-2-2-fully-reclining
RRP is hikashop_product_price hikashop_product_price_0
Our Price is hikashop_product_price hikashop_product_price_1
but on the product list page see link below
demo.havenkayeitsolutions.co.uk/index.php/products
RRP is hikashop_product_price hikashop_product_price_0 but shows the price of Product_price_1
This is confusing the hell out of me, any help would be really welcome.
Please Log in or Create an account to join the conversation.
13 years 9 months ago #81760
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic two prices RRP and our price
Hi,
The product listing does not load every prices of the product, just the cheapest one for each quantity.
It uses
The product page uses
Which load every prices accessible for the vendor and if a quantity have several prices it would keep all of them.
So, if you want to display all prices in the product listing. You have to edit the view "product | listing" and call a mixed function between getListingPrices and getPrices in order to load every prices including with prices with the same quantity.
The feature request is already in our TODO list but does not have any planning for the moment.
Regards,
The product listing does not load every prices of the product, just the cheapest one for each quantity.
It uses
Code:
$currencyClass->getListingPrices($rows,$pageInfo->zone_id,$pageInfo->currency_id,$pageInfo->filter->price_display_type);
Code:
$currencyClass->getListingPrices($element,$ids,$currency_id,$main_currency,$zone_id,$discount_before_tax);
So, if you want to display all prices in the product listing. You have to edit the view "product | listing" and call a mixed function between getListingPrices and getPrices in order to load every prices including with prices with the same quantity.
The feature request is already in our TODO list but does not have any planning for the moment.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- gavin.evans
-
Topic Author
- Offline
Less
More
- Posts: 12
- Thank you received: 1
13 years 9 months ago #81906
by gavin.evans
Replied by gavin.evans on topic two prices RRP and our price
Hi I can't find the getListingPrices in product|listing view, can you please advise, I'm not very good with PHP.
Thanks again
Thanks again
Please Log in or Create an account to join the conversation.
13 years 9 months ago #81994
by Xavier
Replied by Xavier on topic two prices RRP and our price
Hi,
You have to edit the file "components/com_hikashop/views/product/view.html.php".
You have to edit the file "components/com_hikashop/views/product/view.html.php".
Please Log in or Create an account to join the conversation.
- gavin.evans
-
Topic Author
- Offline
Less
More
- Posts: 12
- Thank you received: 1
13 years 9 months ago #82041
by gavin.evans
Replied by gavin.evans on topic two prices RRP and our price
Sorry for been dumb, but I can't get this work any extra info would be very appreciated
Please Log in or Create an account to join the conversation.
13 years 9 months ago #82167
by nicolas
Replied by nicolas on topic two prices RRP and our price
You're not supposed to have several prices with the same minimum quantity. Otherwise, the system doesn't know which one to pick for the cart/order/payment.
Instead, you should have the RRP price only in the product and then create a discount on that product so that the final price after discount is your price.
Or you could also have your price in the product and add the RRP price in the description, or in a custom product field. Both solution will require the Essential edition though.
Instead, you should have the RRP price only in the product and then create a discount on that product so that the final price after discount is your price.
Or you could also have your price in the product and add the RRP price in the description, or in a custom product field. Both solution will require the Essential edition though.
Please Log in or Create an account to join the conversation.
Time to create page: 0.232 seconds