Jump to content

100% promo discount is applying to all products (admin order)


Recommended Posts

===========DESCRIPTION===========

 

I have a 100% discount promo for SSL purchase. Under Setup > Payments > promotions it is set to apply only to SSL certificates, however - when I create a new order for a client, add this promo, with the SSL, then add a few other paid for products, it correctly shows the order costs in the right hand side panel, but upon hitting "Submit Order" the 100% discount seems to then apply to all products, not just the SSL.

 

 

===========Expected Behaviour===========

 

The discount should only apply to that individual single product /service, not to the entire order.

 

 

=========STEPS TO REPLICATE=========

 

[1] Create a 100% discount promo for 1 single product e.g. SSL cert.

 

[2] Apply it to only to that one product Under Setup > Payments > Promotions "Applies To".

 

[3] Tick "Apply Once / Client Apply only once per client globally (ie. only one order allowed per promo)" - leave all other options as default.

 

[4] Create a new order for a test client, add the free SSL product (and ensure the promo is selected in dropdown).

 

[5] Add another 1 or 2 products that are not free, e.g. widget A $100 one off fee.

 

[6] Pricing is correct in right hand panel. Click Submit Order - the order page displays with all products discounted by 100% - and the confirmation email is received saying "payment complete".

Payment Status also appears as complete under the order.

Clicking on the invoice ID shows that all the products have been discounted by 100% (the promo code for the free product shows against all products).

 

=======ADDITIONAL INFORMATION======

 

This is a fresh install of 5.2.5

 

 

Please advise if you can recreate this issue - thank you.

Edited by sol2010
Link to comment
Share on other sites

following your steps, I couldn't recreate your issue - when I tried it, the 100% discount was only applied to the correct discounted service... everything went through at full price.

 

two thoughts - which order form template are you using, and have you customised it in any way ?

Link to comment
Share on other sites

This isn't a bug. An admin user can use any promotion code when adding an order through the admin area. If you want the promotion restrictions to apply, the order needs to be placed through the client area.

 

 

Hi Andrew

 

This doesn't make any sense to me. If a promo code is for 1 product, it should be applied to that 1 product, not to all items in the basket - regardless of whether I am in the admin or not.

 

So in order to do this, I have to login as client ? Seems odd to me to have to do that.

 

The problem is - I have products that I need to order through admin as I use the price override function because pricing varies.

In addition to this, there are also several products that are not on display in the client order form (hidden) that I need to add to an order in admin.

 

So this really isn't going to work for me.

Any other suggestions?

Edited by sol2010
Link to comment
Share on other sites

Brian - this is through the admin order process, not in the client side.

yeah, I realised that after Andrew posted! :oops:

 

So this really isn't going to work for me.

Any other suggestions?

there might be a long-winded way to get around this by creating an invoice for the "order" and entering the discounted price on the invoice... then you would have to add the product(s)/domain(s) manually to the client's account.

Link to comment
Share on other sites

Thank for your reply Brian.

 

Yes, this "workaround" is currently how I am handling that - but what a pain because the client does not receive any order notification this way - which is useful because it details the recurring fees etc.... I am currently having to add all that manually in an invoice. Also, I don't get the benefit of auto set up once invoice has been paid (as you do with a pending order).

 

I'm sure this feature worked in 5.15 just fine - since upgrading, that's when I noticed this "bug"

 

Thanks for your interest

Link to comment
Share on other sites

  • 2 weeks later...

I would like to bring this up again.

 

I've had another situation when this doesn't make sense.

 

Several products to be ordered, I want to place the order through admin (these products are not available in the front end), so that I have access to module create commands, once payment is received. However, there is no way to discount any of the products.

 

So how can I offer a discount of X dollars, either on the total order value, or on an individual product? The only thing I can think of is to create a custom promo for each individual order - but this also does not seem possible because any value applies to all products!

 

Then I tried creating a dummy product with no pricing, so that I can use price over-ride and add a negative amount in for a discount, but this does not work as it wants to apply tax to the entire overall amount - so then I tried the same again, but with "don't add tax" applied to the dummy product - this total is still wrong.

 

Any suggestions please? The admin order function is a vital part to our business. I can't understand why individual product pricing can't be applied, or a discount per item added - without it affecting the recurring charge. And before you say "use price override" you can't, because this actually affects the recurring charges. Example, let's say you want to provide free hosting for 6 months, amongst other services. Setting the hosting cost in price-over-ride to half price also reduces the recurring amount to half price.

 

I even tried to create the order using the promo and unticked send email, and unticked order notification, with the thought that I could modify the invoice before sending it, but because the order-value defaults to zero, it still sends the client an email saying, "order-total zero, thanks your invoice has been paid".

 

In Summary:

Where is the logic - I unticked send email and it still sent it!

Where is the logic - I created a discount that should apply to a specific product, but it applies it to the entire cart!

Where is the logic - I use price over-ride to try to discount a product - and it also discounts the recurring fee !

Where is the logic - I try to create a custom promo - but a message pops up to say "this will be applied to all products".

Where is the logic - I created a custom product with no value, so that I can use price over-ride with a negative amount to try to achieve a "discount" - nope - it buggers up the overall total (whether with or without tax)!

Where is the logic - I am unable to place an order in admin - there is absolutely no way to provide a custom discount!

Where is the logic - I can't place the order in the client front end because many of these products are hidden.

 

Conclusion:

So I am left feeling the admin order system is totally inadequate. Sure I can use the invoice feature and lose all of the module create functionality and the other benefits of the order system OR yes, I could provide fixed cost products and never offer a discount? Sure I could make all my products "visible" and order through the client side.......... Guys - ALL I WANT is to add a simple discount in the admin order FFS !!

 

The irony is, the admin order system actually worked fine in the previous version. Should I downgrade?

 

Surely I can't be the only one that's struggling with this - please add your voices !!

Thank you for your attention and I apologise for my rant - but this has really made me cross and I've wasted heaps of time on something that should be so simple!

 

I would be more than happy to eat humble pie, if someone can tell me how to achieve a simple discount (without it affecting the entire cart, or recurring fees!)

Edited by sol2010
Link to comment
Share on other sites

i've just had a play with this in Admin and for the most part you seem to be totally correct.

 

even if you setup a promotion that works with only one product, if you then use that promo code in the admin order form, the discount is applied - whether that particular product is being ordered or not... if that's an intention design feature, it's a weird one!

 

although, if you setup a promotion code in the usual way (not via the order form, but payments -> promotions) and ensure "Recurring" is unticked, and for billing cycles, "One Time", is ticked - then it will apply the discount to the product, but not change the recurring fee.... however, as with all promotion codes in admin orders, it gets applied to all products in the cart.

 

I would guess your only way would be to do split the orders and enter them separately (or at least combine those that can use the same promo code)... this would create multiple invoices, although renewal invoices would likely be combined (as they'd have the same date).

 

or as you stated previously, create you order as usual, manually calculate what you want the combined discount to be, create a custom promo (not in order form, but via payments) and then apply it... but that seems a lot of hassle to me!

 

my first WHMCS install was v5.2.3, so I don't know whether it was the same in v5.1.5 - but if WHMCS aren't going to change this, then you might want to start a feature request to see how much interest there is to get this changed.

Link to comment
Share on other sites

  • 4 weeks later...

I have to agree with this, i have not manually applied any promotions on orders mainly because i rarely have to manually complete orders but if the time does come i can very well see how frustrating it would be to have the promotions working in this way. There is no reason the admin area should ignore the promotion settings what is the point in that?

 

I think this needs working over to make sure that the promotions are functioning consistently throughout the installation.

Link to comment
Share on other sites

  • 6 years later...

I've found the perfect workaround to remedy this "bug". I too had an issue with a fixed rate coupon applying to all items on the order although it was set to apply only once. The problem was a permission on our admin user roles called "Use Any Promotion Code on Order", which I enabled after install. When this is enabled it provides the ability to build a coupon while placing the order, as soon as I removed it it also fixed the way my coupon is suppose to work.

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated