Question: Problem When Updating

Problem When Updating

Good morning, i tried to update from 3.4.38 to 3.4.40. I encounter a problem when updating the database. What i did was 1. Load sql file and select the latest version. 2. Run the sql file.

EH

Einnlleinhatt Ha

Asked
Good morning, i tried to update from 3.4.38 to 3.4.40. I encounter a problem when updating the database. What i did was

1. Load sql file and select the latest version.
2. Run the sql file.

I got an error "discount" table duplicate.

After that i tried to refresh my webpage and saw the version was updated from 3.4.38 to 3.4.40. Should i ignore the error ?
  • MS

    Mian Saleem

    Answered
    Hello,

    If the version is updated that mean the import should be fine. You can check the `sma_customer_groups` for the `discount` column OR check the customer groups page and try to edit any as the discount is added to customer group. This is to allow -ve percentage to be applied as discount. Before system was just changing the price but now it can be discount.

    Thank you
  • EH

    Einnlleinhatt Ha

    Answered
    I do have a new option on the customer group where you can check/uncheck the "-ve discount" option. Also can you explain it to me more about the -ve percentage discount ?


    Sorry cant upload a picture now because whenever i tried to do that it always stuck.
  • MS

    Mian Saleem

    Answered
    Hello,

    By -ve I mean if you deduct from price. Before you have the option like -5 to subtract 5% from the price and 5 to add 5% to the price. Now if you set the -5 and select the discount then system will not subtract 5% from price instead it will apply 5% discount to the product. For positive percentage values, the price will be updated.

    Thank you
  • EH

    Einnlleinhatt Ha

    Answered
    I see, also about my update can i ignore the "discount" duplicate warning ?
  • MS

    Mian Saleem

    Answered
    Yes, if you have any issue, please let me know. Thank you
  • Login to Reply