Change the price of order with the payment method

  • Posts: 267
  • Thank you received: 5
4 years 6 months ago #319406

-- url of the page with the problem -- : universidadpopular.es
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.3.17
-- Browser(s) name and version -- : 81.0.4044.138

Hi!

Is it possible to modify the total price of the order directly ( in the checkout view) at the time the customer chooses a specific payment method?
The question is to make a pre-sale in which the client, if he chooses the pre-sale payment method, will be charged 50% of the amount of the cart instead of the total.

A cordial greeting

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 6 months ago #319411

Hi,

You could create a second payment method of the same payment plugin of your normal payment method but with the name "pre-sale payment" and with -50 entered in the "percentage" setting of that payment method.
That will add a payment fee of -50% off of the total. And you can rename that "payment fee" text to "pre-sale of 50%" or something like that with a translation override:
www.hikashop.com/download/languages.html#modify

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

Time to create page: 0.049 seconds
Powered by Kunena Forum