Purchase prerequisites?

  • Posts: 195
  • Thank you received: 5
10 years 11 months ago #172563

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.31

Is there any way to create 'prerequisites' for products?

i.e. Product B only is displayed/available to users if they have already purchased Product A.

also, the inverse...

Product A is no longer displayed if they have purchased it once.

I've searched and can't find anything that might help with this.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 11 months ago #172564

Hi,

You can use the plugin "group after purchase" and the "ACL" on product.
It is plugins/features provided by HikaShop business.

So when a customer buy the product A, he will be added to a special group which allow him to see/buy the product B.

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: 195
  • Thank you received: 5
10 years 11 months ago #172708

Jerome,

Thanks. That makes sense for the first part; however, how would I do the 2nd part:

Product A is no longer displayed if they have purchased it once.

The 'access level' option doesn't allow me to include a 'not' operator, or any complex/compound logic on groups.
And the 'User group after purchase' doesn't give me the option of 'removing' a user group upon purchase.
Either of these would make this process pretty easy.

With the existing features of HS how would I make Product A work as indicated above?

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 11 months ago #172729

Hi,

So I think you can use a mass-action.
type order, trigger "on after order is.. confirmed" with a filter on the order product product_id and with the action to change the user group.

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: 195
  • Thank you received: 5
10 years 11 months ago #173321

OK ... I think I can figure out a solution using these ideas; however, I think it would be a REALLY good idea to consider adding this sort of feature into the core of HS. Several other ecommerce extensions have this functionality and it seems to be a 'core' function that would be processed more efficiently with code specifically for this task.

Maybe somebody could create an extension just for this functionality???

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 11 months ago #173323

Hi,

Yes it will be nice but we (HikaShop team or myself) are already quite overbooked with the current projects.

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.

Time to create page: 0.063 seconds
Powered by Kunena Forum