Edit order discount and coupon(s)

Hello! I was trying to edit an order already placed. I do not see anywhere I can apply the coupon code nor a place where I can manually add or edit discount offered. Can anyone help please? Thank you!

Can’t do it - see the bug reports below and add your comments if you want this fixed:



[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1301[/url]

[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1091[/url]

From my quick glance at the demo cart at cscart, their v2.0.9 have apparently fixed the edit discount functionality. So you can edit the discount now if you are on v2.0.9 I believe. Try to test it out at the demo copy, or your labs copy.



As for coupon code, it is still not possible to edit coupon code that have been applied to an order yet. (it was possible wtih v1.3.5 sp4)

[quote name=‘nodame’]From my quick glance at the demo cart at cscart, their v2.0.9 have apparently fixed the edit discount functionality. So you can edit the discount now if you are on v2.0.9 I believe. Try to test it out at the demo copy, or your labs copy.[/QUOTE]

I just checked this in the demo store and the discount is still not available for editing in the admin - just the price:

[url]http://idisk.mac.com/jobosales/Public/admin-edit_order_stepe1_no-discount.png[/url]



Additionally, the order info in the storefront does not display the discount which makes the line item subtotal confusing:

[url]http://idisk.mac.com/jobosales/Public/storefront_order-info_no-discount.png[/url]



Bob

I submited a ticket to CS about mis-calculation too. However, they asked me to pay for their investigation cost! I used stock installation. Modification mainly on the template only. Very disappointed :frowning:

Just want to follow up. I was sent with a replacement file that solved my problems. :wink:

grabbags



Can you send me the file that fixes this. I was asked to pay also…

[quote name=‘argentice’]grabbags



Can you send me the file that fixes this. I was asked to pay also…[/quote]

ditto at that :stuck_out_tongue:

Hello! This is the fix for version 2.0.10 that solved MY CALCULATION PROBLEM. Please use at your own risk. Thank you!

core_js_fix.zip

[quote name=‘grabbags’]Hello! This is the fix for version 2.0.10 that solved MY CALCULATION PROBLEM. Please use at your own risk. Thank you![/quote]



Can you confirm that this fix is for 2.0.10?

[quote name=‘JesseLeeStringer’]Can you confirm that this fix is for 2.0.10?[/QUOTE]



Hello Jesse,

This fix the following error:

```php

Background

  1. Create a product
  2. Add global option

    a) text option

    b) radio button
  3. Set unit price
  4. Set promotion price to a fixed amount

    Simply add the created product(s) above, the subtotal is correct.

    However, if you extract the detail, you will notice the calculation is incorrect.

    ```



    However, I just notice new problems:

    the total “order discount” are not added up together when 2 coupons are used.

    I will contact them again regarding this issue. (it has nothting to do with settings)

[quote name=‘grabbags’]Hello! This is the fix for version 2.0.10 that solved MY CALCULATION PROBLEM. Please use at your own risk. Thank you![/QUOTE]



This is the same file I have on my live system.



So this is not the fix I’m looking for, but thanks anyway.