Give discount based on previous purchase

  • Posts: 32
  • Thank you received: 2
9 years 5 months ago #203929

-- HikaShop version -- : 2.3.1 business
-- Joomla version -- : 2.5.18

I want to give a discount to customers who buy product Y when they previously purchased product X (a fixed £ discount on a 1:1 link). I'm struggling to find anything similar in the forum or instructions. There are several hundred customers that are eligible for the fixed discount. Ideally I'd like the discount to be automatic but a coupon/voucher code would work - if the coupon/voucher code is common to everybody then the system has to restrict it to those who are eligible for the discount only.

(I did try to update to 2.3.2 before posting this but keep getting "Invalid extension update")

Thanks for any help.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 5 months ago #203942

Hi,

For your update issue ; you might try to install by FTP ; it is maybe an upload limitation problem.
www.hikashop.com/support/support/documen...-install.html#errors
Please note that the current stable release is 2.4.0 (but a new release will be made soon).

About your discount question ; I don't know if you will have several discounts/products or few ones.
But using the ACL and the plugin "group after purchase" you can use restrictions on the discounts.
So the customer can have a discount (and not an auto-loaded coupon ; but you should work too..) if he is in the right group.
By buying the product X, he will receive the special group which will unlock him the discount for product Y.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 32
  • Thank you received: 2
9 years 5 months ago #204251

Thanks. As I say it's a 1:1 link - one product bought some time ago, and one new product which will be offered for sale in a few days. However, how does the user get assigned to this special group if the original purchase was in the past?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 5 months ago #204278

Hi,

You can go in the menu System>Mass actions and create a new mass action like that:
take.ms/CyR83
It will allow you to add the user group to the users who purchased a specific product.
Make sure you do a backup before using mass actions. They are powerful, and thus dangerous :)

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

  • Posts: 32
  • Thank you received: 2
9 years 5 months ago #204521

Aha, got it to work, many thanks!

For anybody else reading this, one can use the Mass Actions facility to process immediately (no filter required), and you can also preview the results by exporting to CSV/Excel. I did this to check that there were about the right number of results - after remembering to add "order confirmed", not just "product ID" :pinch: !

I was then able to restrict a discount to a specific product, and access to a specific user group (ie the one added in the mass action).

Last edit: 9 years 5 months ago by GeoffM.
The following user(s) said Thank You: hunt2013

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

Time to create page: 0.065 seconds
Powered by Kunena Forum