- Posts: 108
- Thank you received: 2
Affiliate Commission & Assigning Affiliate Partner
15 years 1 month ago #24319
by bars92
Affiliate Commission & Assigning Affiliate Partner was created by bars92
Hello again nicolas.
First question is, can i have a commission per product? (exmpale: product id 1 = 10% commission, product id 2 = 0% commission and so on).
Second question, is it possible to do, when there is no partner assigned (partner_id cookie), to assign the super administrator as a partner? The reason i want to do this, is because sometimes i would like to change the partner, and when an order came without partner i cannot change it to add a partner, so this is the best way i could come up with.
If this can be done, can you help me out? I know onInitialize() must be activited all the time and that the cookie default value needs to be 1 (super admin id), if there a simpler way i would like to know.
Thank you very much in advance.
First question is, can i have a commission per product? (exmpale: product id 1 = 10% commission, product id 2 = 0% commission and so on).
Second question, is it possible to do, when there is no partner assigned (partner_id cookie), to assign the super administrator as a partner? The reason i want to do this, is because sometimes i would like to change the partner, and when an order came without partner i cannot change it to add a partner, so this is the best way i could come up with.
If this can be done, can you help me out? I know onInitialize() must be activited all the time and that the cookie default value needs to be 1 (super admin id), if there a simpler way i would like to know.
Thank you very much in advance.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #24334
by nicolas
Replied by nicolas on topic Re: Affiliate Commission & Assigning Affiliate Partner
Hi,
Having different commissions on a per product basis is not possible.
For the partner_id cookie, you could try to change the default value of the column order_partner_id of the table hikashop_order from 0 to 1.
Having different commissions on a per product basis is not possible.
For the partner_id cookie, you could try to change the default value of the column order_partner_id of the table hikashop_order from 0 to 1.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #24338
by bars92
Replied by bars92 on topic Re: Affiliate Commission & Assigning Affiliate Partner
Exellent, working as planed.
Thank you.
Is different commissions per product in schedual?
Thank you.
Is different commissions per product in schedual?
Please Log in or Create an account to join the conversation.
15 years 1 month ago #24364
by nicolas
Replied by nicolas on topic Re: Affiliate Commission & Assigning Affiliate Partner
No one asked so far so it's not in the todo list. We can add it to it but it will be a low priority for now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds