Check out options

  • Posts: 252
  • Thank you received: 1
7 years 3 months ago #275590

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7
-- PHP version -- : 5.6

Hi,
We have requirements about checking out:
1. We have two group of products, if user choose products from one of them, he could choose from another product group with lower price.
2. When checking out, and the total over a number, like $50, then the system show an area of products that user can buy with lower price.

How can the be set?

Thanks
Best regards

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 3 months ago #275605

Hi,

I don't see a way to set that up with the settings available in HikaShop or ready made extensions for HikaShop.
So that will require customization to be able to handle that condition of the listing of products with the lower price displaying if the total amount is more than $50.

I would first configure a standard HikaShop content module to always display on the checkout the products you want the customer to be able to select. And then I would edit the file "listing" of the view "product" in order to add the total cart price condition at the top and the proces the products in the $this->rows array to change their price.
Then, I would also add a small plugin implementing the onAfterCartProductsLoad(&$cart) trigger in order to alter the prices of the products once added to the cart by the customer.

The following user(s) said Thank You: twscott

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum