Free gift/product at checkout

  • Posts: 39
  • Thank you received: 1
8 years 9 months ago #231404

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.17

Hi,

I have the next question, that once a customer goes to the shopping cart to checkout, the customer can select a free gift/product in the shopping cart. This from a certain total amount.

As example:
a total amount up to € 50,- , choice of gift A, B or C
and a total amount from € 100 , - , choice of gift D, E or F

Another example see attachment 1

I try to find a solution, but I do not know how. :blush:

I hope you can help me with this?
Thanks

Attachments:

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #231416

Hi,

There is no option to do that. It would require a custom plugin to be developed implementing the checkout API of HikaShop in order to have that on your HikaShop checkout:
www.hikashop.com/support/documentation/6...r-documentation.html

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

  • Posts: 39
  • Thank you received: 1
8 years 9 months ago #231465

Hi,

that's a shame! can you help me in the right direction?
because I do not know where I should look for it in the script. :blush:

Thanks

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #231469

Hi,

Well, you need to implement the different functions of the checkout API of the link I gave you in a HikaShop plugin.
As an example, you can look at the plugin files of the user points plugin in the folder plugins/hikashop/userpoints
It implements that API in order to add a user points usage selection view on the checkout.

The following user(s) said Thank You: ralph024

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

  • Posts: 193
  • Thank you received: 76
8 years 9 months ago #231496

If you don't need to add trial/present to cart, you can write your own custom field plugin for this.
I made something similar (free gift to order over X) using custom field.
But as it was one-time promotion and I didn't need configuration for it, I hardcoded it in step view.

The following user(s) said Thank You: ralph024

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

  • Posts: 39
  • Thank you received: 1
8 years 9 months ago #231531

Hi Korzo,

oke i can try to write a own custom field plugin for this.
I also need te have something like a free gift to order over X.

If you have some more suggestions please let me know.

Thanks

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

Time to create page: 0.080 seconds
Powered by Kunena Forum