How do I set a rule? Sign up = free product?

  • Posts: 41
  • Thank you received: 0
9 years 3 months ago #186765

-- url of the page with the problem -- : www.bityard.com
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6

How do I go about to setup a rule in HikaShop that incentivizes visitors to sign up for an account and then get free product. The product can only be obtained once.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #186773

Hi,

I think that the best way to do so is to use the product limitation.

The "product limit" feature is provided by commercial edition of HikaShop (HikaShop essential & HikaShop Business).
Thanks to that, you can create a rule to have a limitation of 1 on the specific product for the period "forever".
demo.hikashop.com/administrator/index.ph..._hikashop&ctrl=limit

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: 13
  • Thank you received: 0
8 years 7 months ago #212401

-- HikaShop version -- : 2.4.0 essential
-- Joomla version -- : 3.4.3

I have the same product limit rule.
When I set quantity number 1, it's work.
But when I set quantity number 2 or 3, It can't limit.
Is it bug or some setting wrong with me?

Attachments:

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #212407

Hi,

I'm sorry but we don't read chinese so we can't understand what are all the settings of your limit set up to.
Could you provide a screenshot in english ?

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

  • Posts: 13
  • Thank you received: 0
8 years 7 months ago #212467

Sorry, I forget set it in English.
Now I reload it, please help me check it.

Attachments:

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #212481

This means that the customers will only be able to purchase maximum 1 product directly in the selected category and that the system will only take into account past orders with the statuses "created", "confirmed" and "shipped".

If that's not what it is doing on your website, please provide the steps to reproduce the issue on your website.

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

  • Posts: 13
  • Thank you received: 0
8 years 7 months ago #212620

Yes, Original setting is maximum 1, and it's work.
But when I change maximum 3, the customers can buy it and check out over 3 times.
So I feel confuse and maybe something wrong with setting.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #212634

Please provide the steps to reproduce the issue on your website and we'll be able to look further into the matter.

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

  • Posts: 13
  • Thank you received: 0
8 years 7 months ago #212705

Pic1- product setting.
Pic2- limit setting.
Pic3- put in cart and accepted.
Pic4- checkout conforming.
Pic5- checkout final state.
Pic6- order list.
Pic7/8- order details for example.

Same product can't be limited 3 times.

Should I recede the steps by video?

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #212717

Hi,

A video won't be necessary.
What we would need is a link to the product page that you used for your tests.
We don't read chinese so we couldn't find a product page on your website to do the tests and we wouldn't know if the product would be in the category of the limit or not.

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

  • Posts: 13
  • Thank you received: 0
8 years 7 months ago #212895

Ok, I will setting a link with English for check later.
BTW, Should I offer a backend account to check?

This limit setting was working with maximum 1 at first, until I change to maximum 3.
I didn't change other setting, I only set 1 limit for 1 product of this category.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #212901

A backend access would be useful yes. That way, we can reproduce the issue on the frontend and at the same time check the settings.

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

  • Posts: 13
  • Thank you received: 0
8 years 7 months ago #214372

How to offer backend account and password in private?
I already renew my account, but not see support ticket system.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #214374

Hi,

You want to use our contact form with a link to this thread:
www.hikashop.com/support/contact-us.html

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 7 months ago #214516

Hi,

I've checked your settings and they seem fine. I've also tried to reproduce the problem on my end but it works fine.
Could you provide a FTP account so that we could debug directly on your website ?

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

  • Posts: 13
  • Thank you received: 0
8 years 6 months ago #215311

one week ago I offer FTP account by contact us.
So do you have any progress with it?

I have another integrate with Joomla Quiz deluxe will execute at Oct. 5
I should finished this bug before integrate.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
8 years 6 months ago #215375

Hi,

Sorry for the delay.
We found the issue.
The line:
$rows = $database->loadObjectList('product_id');
had to be replaced by :
$rows = $database->loadObjectList();
in the file administrator/components/com_hikashop/classes/cart.php in order to fix the problem.
It's now working fine on your website.

The following user(s) said Thank You: archinfoto

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

Time to create page: 0.095 seconds
Powered by Kunena Forum