presents come with product

  • Posts: 252
  • Thank you received: 1
8 years 5 months ago #259685

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.12

Hi,
It is new year season, so we have some promotion events.
One of the event is, when user buy the specified product, they can choose 'one' present from the provided category of product.
Some of the the present are just for free and some are in very low price.
I am not sure should user put the present into cart? or put it in different cart?

Could this be set in hikashop? or we have to write some program for this?
Would you give us some advice how to do this.

Thanks in advance
best regards

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

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
8 years 5 months ago #259692

Hi,

You could use the "user group after purchase" setting of that product so that after the purchase of that product, a specific user group would be added to the customer user account.
And then, you could configure the prices of your products for that user group so that the customer would then see these low/free prices instead of the normal prices.
You could then have your shipping methods not display for low/free prices and have one shipping method for these with a maximum quantity of 1 in order to prevent such customers to purchase more than one product per order.
And you could then have a mass action to remove the user group of the users after their order is confirmed.
That way, they wouldn't be able to order multiple free products.
So it should be possible without coding but it requires some setup.
You could also have it done with a custom plugin but you need to have a developer work on that.

The following user(s) said Thank You: twscott

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

  • Posts: 252
  • Thank you received: 1
8 years 5 months ago #259811

Hi Nicolas,
Thanks for your reply.
I tried "user group after purchase", but it didn't work. Do I need to complete the payment process then user be added into the group?
Could it be possible to add the user to the specific group by the time the product is put to cart ?
In addition, if user buy two of the products so he could get two presents, then I can't not set the limit to 1, is there other ways to do this?

Thanks
Best regards

Last edit: 8 years 5 months ago by twscott.

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

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
8 years 4 months ago #259819

Hi,

Yes, the payment process needs to be completed for the user to be added to the user group.
The user group after purchase feature doesn't have the capability to add the customer to a user group based on the products in the cart.
It would be better to have a custom plugin implementing the cart API in that case.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum