Developer forum

Forum » Feature requests » Added Fees per Product

Added Fees per Product

Dynamicweb Employee
Jason Harwell
Reply

Has there been any thought to have the ability to add fees on an order per product? For example, when a hazardous material product is added to the cart it would trigger a Hazardous handling fee to the cart too. We are starting to get asked this a lot for things like handling fees, costs to crate items, laws that require additional fees when products are ordered online. 

I understand you could try to use the parts list but the templates would need to get changed and this is not ideal for integration. The best way to implement fees would be to use an enhanced version of product discounts but "Fees" would just add to the total instead of subtracting from the total as discounts do. All of the other product discount configurations fields would be great for "fees" but just in reverse. Even a basic version could have a radio box for creating a new rule for "Discount" or "Fee". If fee was chosen the amount entered would add instead of substract to the order today. In my example you would create a "Hazardous handling fee" and assign to a limited number of products with a cost of $50. Then when one of the hazardous products is added to the cart the $50 "fee" would automatically apply to the cart the same exact way discounts do. Attached is an example. 

fees.PNG

Replies

 
Nicolai Pedersen
Reply

Hi Jason

I have never heard it before, so we have not been looking at it. But yes, parts lists would easily cover this.

What happens if you create a discount of -50$?

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

>> What happens if you create a discount of -50$?

That's how we did this in the past, but the UI doesn't seem to allow negative values anymore ;-(

 
Nicolai Pedersen
Reply

Can taxes with flat tax provider be used...?

 
Dynamicweb Employee
Jason Harwell
Reply

As Imar said negative values are not allowed and would be the simple fix. Also, adding a tax "fee" would work on the frontend but makes it harder for integration to the ERP. This creates another tax orderline and gets mixed in with the normal tax orderline. Then when writing orders to the ERP with the two or more tax orderlines it is difficult to sort out.  I still think having fees setup like the discounts is the best solution for the long run. 

 
Nicolai Pedersen
Reply

Hi Jason

Agree it will make sense to look into. The taxes was merely a suggestion to bridge the feature gap until we can do the fees.

Thanks. Nicolai

 
Dynamicweb Employee
Jason Harwell
Reply

It looks little we have another project that is requiring product fees. I would say we are getting this request every couple of months and having to still do this as a custom solution

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

+1

We are also getting this type of requests and so far we had to always customize it.

A standard, extensible approach would be very useful.
Adrian

 
Nicolai Pedersen
Reply

Yes - I am aware and we have been looking into a new feature that can cover discounts and this kind of feature in a hole new level.

Think of a flow with 'rules' and 'rewards'. Rules needs to be met, and when they are, 'rewards' are added. Rewards can be discount %, amount, other products, other fees and other costs. So rewards can be negative or positive amounts, other products (i.e. giftcards, free products, or add-ons like service fees, packaging cost, delivery cost etc.

  • Add any number of rules
    • Product has to X
    • Product group has to be Y
    • Delivery country have to be Z
    • Order totalt has to be > or < some amount
    • Order has voucher code
    • Order zip = 90210
    • Order customer name contains "nicolai"
    • Whatever order property <operator> any value or context value
    • Visitor context, i.e. IP country = DK
    • etc etc.
    • And of course custom rules in a configurable add-in
  • Add any number of rewards if the above rules are met
    • Add a product as a sub orderline
      • With the product price, i.e. "Gift wrapping" at $5
      • For free, i.e. get this thingie
    • Add % discount
    • Add % fee
    • Add amount discount
    • Add amount fee
    • Set property on order
    • Give free shipping
    • Increase shipping fee
    • Change shipping method
    • etc. etc.
    • Custom rewards.

Everytime you set one of these things up, one or more rules has to met (configurable), and then all rewards are added.

So it could be that if you add a voucher code to an order, you get 5% discount on the order, you get a free product and has to pay a fixed amount in campaign fee. So 3 rewards added to the order based on the voucher code rule.

This sort of feature would give a lot of flexibility and can be used for discounts, fees, shippings etc.

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

That concept sounds great Nicolai

 

Let me throw in some common things we still don't find very straighforward to do and/or explain customers how to do, so that it can at least be considered:

  • Almost eligeable discounts
    i.e. Add 'X' more to the cart to get free shipping | Another common request is "add 'x' more quantities to your cart to get a discount"
    Currently it's step intensive
    Being able to add a paragraph in the header (for free shipping) or PDP (for orderline discounts) is always a desired feature_
     
  • Listing active discounts
    Specially in the US the concept of coupons/voucher codes is very much used, so being able to list active discounts and datetimes (so we can add a countdown timer up to when they can use it)

 

Best Regards,

Nuno Aguiar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

@Nicolai: I think this gives indeed a lot of flexibility. If we can use the concept of "Extenders", it would make it even more flexible.

@Nuno: we have received similar requests from our customers as well, I think it can be a nice addition to the functionality.

Thank you all and I am looking forward to see it in action :)

Adrian

 
Nicolai Pedersen
Reply

@Nuno. A discount publishing app :-). 

Would be able to configure all kinds of things you want to see - list discounts applicable for a product, order, or vouchers, etc. 

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

@Nicolai sounds great. Looking forward to something like that.