Layaway for Hikashop?

  • Posts: 22
  • Thank you received: 1
7 years 6 months ago #269056

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5

Hi fiends, my client asked me if it's possible to implement a layaway function. What I mean is the ability to pay a deposit on a product to secure it for a later purchase. Any ideas how I could possibly do this? Thank you very much!

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

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
7 years 6 months ago #269062

Hi,

There is no option to do that. But if you develop a custom plugin, you could have it.
The simplest I think would be to duplicate your payment method(s) and rename the copy to indicate that the customer can pay only a fraction of the price to secure it and then have a custom plugin of the group "hikahop" implementing the onAfterCartProductsLoad trigger:
www.hikashop.com/support/documentation/6...fterCartProductsLoad
In that trigger, you would simply change the price of the products in $cart->products and the total of the cart in $cart->total based on which payment method has been selected by the customer in $cart->cart_payment_id

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

Time to create page: 0.058 seconds
Powered by Kunena Forum