Shipping Bonus

  • Posts: 251
  • Thank you received: 2
13 years 3 months ago #23925

Hi Nicolas,

It is possibile to set a bonus on the shipping cost for the first buy?

Thank you!

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 3 months ago #23937

Hi,

You could create an auto loaded coupon and restrict it with a minimum quantity per user of 1. That way, the users would get the discount automatically the first time but not afterwards. You will need the essential edition in order to do that.

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

  • Posts: 251
  • Thank you received: 2
13 years 3 months ago #23951

I have the essential edition and I have already set an auto loaded coupon with the restrictions you told me, but I have 3 different shipping costs based on the weight... How I can set the bonus for all the shipping cases?

In other words I need to set shipping costs free, only for the first buy, in any case of shipping.

Thank you so much!

Last edit: 13 years 3 months ago by Nello.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 3 months ago #23961

Mmm. If the cost is different then that solution won't work as the coupons value are only fixed or a % of the order total amount.

I see another solution then, but it requires the Business edition:
You should have two groups of registered users (that can be done in the group manager of joomla >= 1.6 or with DJF ACL on joomla 1.5). When users register they will be in group 1.
Then, for each products, you need to select the group 2 in the "group after purchase" option of the product.
Then, you restrict your current shipping methods to all the groups except group 1 and public.
And finally, you create a new shipping method which will be free and restricted to group 1 and public only.
Also make sure that the hikashop group plugin is published.

That way, by default, the users will be be group 1 or public (before they login), so they will see only the free shipping method. After their first order, they will be moved automatically to the group 2. On their second purchase, when they login, they will only see the normal shipping methods.

One catch: on joomla >= 1.6, the user is added to group 2 but not removed from his previous group. That will be possible by changing the line:
$this->_updateGroup($data->user_cms_id,$oneProduct->product_group_after_purchase);

to:
$this->_updateGroup($data->user_cms_id,$oneProduct->product_group_after_purchase,XXX);
in the file plugins/hikashop/group/group.php
where XXX is the id of the "group 1" group.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum