Affiliate Program

  • Posts: 15
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #370261

-- HikaShop version -- : 6.3
-- Joomla version -- : 6.02
-- PHP version -- : 8.4
-- Browser(s) name and version -- : chrome latest

Hello, is there a way to use Hikashop 6.3 & Joomla! 6 to create a store with the following features? The principle is multi-level marketing, there will be dealers who will have customers under them, and the CEO will be able to see which dealer each customer who has made a purchase belongs to. Accordingly, the dealer must be able to use discounts because they are a partner after all.
My Question is: How can the store owner see which customer belongs to which dealer?

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

  • Posts: 85264
  • Thank you received: 13917
  • MODERATOR
1 month 1 week ago #370262

Hi,

With the affiliate system in HikaShop, each affiliate of a partner will be linked to that partner. When you edit a customer in HikaShop's backend, you'll have a setting "partner" with the partner user selected, so you can see "which customer belons to which dealer".
Also, with a mass action you can output a list / CSV of the users of a partner with a filter on the column user_partner_id and an action "Display the results" or "export CSV file".

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

  • Posts: 15
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #370272

The idea is, is there a way for each distributor to send a unique link to customers or something similar?

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

  • Posts: 85264
  • Thank you received: 13917
  • MODERATOR
1 month 1 week ago #370275

Hi,

Yes, it is possible. You can configure banners in HikaShop to setup links you want to advertise to partners so that they can share their unique link with their customers. This way, the customers will be linked to them automatically.
www.hikashop.com/support/documentation/i...hop-banner-form.html
You can see an example of partner affiliate program page with some banners configured for our own website:
www.hikashop.com/my-account/affiliate-program.html

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

  • Posts: 15
  • Thank you received: 2
  • Hikashop Business
3 weeks 4 days ago #370499

Hello, tell me, is there a way for customers to accumulate points through their purchases and, accordingly, for each order from the customer to also accumulate points for their dealer?

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

  • Posts: 85264
  • Thank you received: 13917
  • MODERATOR
3 weeks 4 days ago #370500

Hi,

It's possible for users to accumulate points with the user points system:
www.hikashop.com/support/documentation/257-using-points.html
Then, you can configure the "Provide points instead of fees" setting, under the Features tab of the HikaShop configuration for partners to gain points instead of fees.

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

  • Posts: 15
  • Thank you received: 2
  • Hikashop Business
2 days 22 hours ago #370782

Hello, I want to ask a question about user points. I created a payment method Pay with Points in which I use Hikashop user points for the point system, and for a custom field for the price of a product in points I use a custom field "User Points" in differrent tables user nad product. In the product I indicate the points, which are for the respective product, for example 7, and when the customer buys the product and has the status Confirmed Order, he receives the points - 7. I have the following questions:
1. How can the points be doubled or tripled if the customer orders two or three pieces of the product?
2. How can I make it so that the customer can use the accumulated points to buy a given product, and if the points are not enough, to pay the corresponding amount? Accordingly, if there are many points, then pay only with points?
3. Tell me how to make customers earn points and use them for partial or full discounts, if they have a lot of points?
p.s. I did the following: I created a product that accumulates 7 points if the customer buys it. And the price is 39 euros. Accordingly, the opposite can be done with 7 user points to buy the same product. I am confused, please help me! I also tried the moment when when the customer has more points it tells him that he will generate a coupon to buy the product with points, but the following confusion occurs, the coupon is generated and the workflow process returns you to the previous step, writing that the points have been taken and the customer has to remember that he took it back a step and repeat the step again and already in the order he notices that there is a coupon. Also if he deletes the coupon from the trash and cancels the order, the points are irrevocably taken and practically the customer, there are neither points in the form of a coupon, nor a discount, but the points disappear!

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

  • Posts: 85264
  • Thank you received: 13917
  • MODERATOR
2 days 18 hours ago #370785

Hi,

Let me address your questions one by one.

1. Points multiplied by quantity

This is the default behavior. When a customer buys 3 pieces of a product that gives 7 points, the points plugin will give 3 x 7 = 21 points. You don't need to configure anything special for that. If you're not seeing this behavior, make sure the points plugin's "Give points when using some" setting is set to "Give on full price" (which it is in your screenshot).

2. Paying with points (partial or full)

In your "Pay with Points" payment method configuration, you have "Partial payment" set to "No" and "Minimum (percent)" set to 100%. This means the customer must pay the full amount in points or not at all. To allow partial payment (points + money), set "Partial payment" to "Yes" and lower the minimum percentage. For example, setting the minimum to 0% would allow the customer to use whatever points they have and pay the rest with another payment method.

However, there is an important thing to understand: the "Pay with Points" payment method works as a standalone payment method. When partial payment is enabled, the remaining amount after deducting the points value will need to be paid with a second payment method during checkout. The customer would first select "Pay with Points", which deducts what it can, and then a second payment step is presented for the remainder.

3. Exchange rate configuration

Looking at your screenshots, there is an inconsistency in your exchange rates. In the "Pay with Points" payment method, you have 1 point = 0.25 EUR. But in the points plugin, you have 1 EUR = 1 point. This means the customer earns 1 point per EUR spent but each point is only worth 0.25 EUR when redeeming. Make sure this is intentional. If you want points to have a 1:1 value with EUR, set both to the same rate.

Also, you have the product custom field "userpoints" set to 7 for a product priced at 39 EUR. If you're using the custom field to define a fixed point cost for products, this means the product costs 7 points (= 1.75 EUR at your current 0.25 rate). If you want 7 points to cover the full 39 EUR, you would need to set the rate to approximately 1 point = 5.57 EUR. Alternatively, if you want each product to define its own point price independently from the EUR exchange rate, you can use the "Custom field for price in points" setting, which overrides the exchange rate calculation for that product.

4. Coupon workflow issue

The issue you described with the coupon being generated and the checkout going back a step is related to the "Virtual coupon" setting, which is set to "No" in your configuration. When it's set to "No", the system generates a real coupon code that the customer needs to apply manually, which causes the confusing workflow you described. If you set "Virtual coupon" to "Yes", the point discount will be applied automatically without generating a visible coupon, and the checkout flow will be smoother.

Regarding the points disappearing when a coupon is deleted: if "Return points on cancel" is set to "Yes" (which it is), the points should be returned when the order is cancelled. But if the customer just deletes the coupon without cancelling the order, the points may not be returned. This is expected because the coupon deletion is not the same as an order cancellation.

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

  • Posts: 15
  • Thank you received: 2
  • Hikashop Business
21 hours 40 minutes ago #370800

Hello,

I encountered two issues with the HikaShop User Points / Pay with Points workflow during checkout.

1. Points are lost if the generated coupon is deleted and the order is abandoned

When a customer selects Pay with Points, the system generates a coupon from the customer’s points.

However, if the customer deletes the generated coupon (using the trash icon) and then abandons the order, the points are already deducted and are not restored to the customer account.

Example scenario:

Customer has 30 points

Customer selects Pay with Points

The system generates a coupon worth 7.50 €

Customer deletes the coupon using the trash icon

Customer leaves checkout / abandons the order

Result:

The coupon is gone

The order is not completed

The 30 points remain deducted and are not restored

Expected behavior:
Points should not be permanently deducted if the order is not completed. They should either:

be deducted only after the order is finalized, or

be restored automatically if the generated coupon is removed or the order is abandoned.

2. Coupon is generated on "Finalize order" instead of "Next step"

Another issue is related to when the coupon is generated.

Currently the coupon is generated only after clicking “Finalize order”, which causes the checkout to refresh and return to the previous step. Only then does the coupon and discount appear.

Workflow example:

Customer selects Pay with Points

Customer clicks Finalize order

Checkout reloads and returns to the previous step

The coupon and discount appear only after that

This creates a confusing checkout experience because the discount is not visible before final confirmation.

Expected behavior:
The coupon should be generated when moving to the next checkout step, so the discount is visible before the final confirmation step.

Could you please clarify:

whether this behavior is expected

if there is a way to generate the coupon earlier in the checkout process

how points should be restored if a coupon created from points is removed and the order is not completed

Thank you.

Last edit: 21 hours 32 minutes ago by Taurus76.

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

  • Posts: 85264
  • Thank you received: 13917
  • MODERATOR
8 hours 17 minutes ago #370803

Hi,

Both issues you describe are caused by having the "Virtual coupon" setting set to "No" in your Pay with Points payment method.

When this setting is set to "No", the plugin needs to create a real coupon code to apply the discount. This can only happen at the "Finalize order" step, which is why the checkout goes back to the previous step to show the coupon. And if the customer deletes that coupon and leaves checkout, the points cannot be automatically restored because the system has no way to know that the deleted coupon was linked to a point deduction.

The solution is to set "Virtual coupon" to "Yes". In this mode:
- No real coupon is created. The point discount is applied automatically as a line on the cart.
- Points are only deducted when the order is actually confirmed.
- The discount is visible before the final confirmation step.
- If the customer leaves checkout without completing the order, no points are lost.

Note that when "Virtual coupon" is set to "Yes", you also need to enable "Partial payment" and make sure it is not set to "No". The virtual coupon mode requires partial payment to be enabled.

Regarding your exchange rates: with your current configuration (1 point = 0.25 EUR in the payment method, and "userpoints" custom field set to 7 on the product), the product costs 7 points regardless of its EUR price. The custom field overrides the exchange rate calculation for that product. So a customer needs exactly 7 points to buy this product with points. If 7 points is not enough to cover the full 39 EUR price and you want the customer to pay the difference, you need to enable partial payment.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum