Coupon Add -on not able to save a coupon

Hi There

I am trying to add a coupon to the site but when I click save it just goes back to the coupon screen and my coupon has not been saved.

Please can you advise?

  • Sajid
    • DEV MAN’s Sidekick

    Hi nifty,

    Hope you are doing good today :slight_smile:

    You don’t get any error message on screen ? Neither in any error log ?

    Could you please enable debugging by adding following code in wp-config.php file ? Please download the wp-config.php file located in root folder where you installed WordPress, open it up, find following code:

    define( 'WP_DEBUG', false );

    …and replace it with this code:

    define( 'WP_DEBUG', true );

    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );

    Please let us know when you done and if you see any error messages. This will help us determine the issue quickly.

    If you don’t see any error message related to this issue then please run a plugin and theme conflict test as described in our getting support manual (flowchart).

    Look forward towards your response Nifty :slight_smile:

    Kind Regards,

    Sajid

  • nifty
    • The Incredible Code Injector

    Hi Sajid

    I have a dev site set up for this as I didn’t want to test on my live site – here is the link to the dev site http://bit.ly/1QK4CaP

    I deactivated the theme and activated twenty sixteen and the problem is resolve so it is definitely a theme conflict.

    I am using Elegant Themes Extra theme with my child theme.

    I have activated the wpmu dashboard and granted support access.

    Can you help with this as I really need to use the coupon functionality?

    Many Thanks for your help

  • Sajid
    • DEV MAN’s Sidekick

    Hi nifty,

    Hope you are doing good today :slight_smile:

    I am sorry for delay on this ticket and thanks for granting support staff access. During troubleshooting I came to know that the issue is not with Extra Theme but the child silversparkle theme instead.

    If you remember adding any custom script in your child theme’s functions.php file or any other file of your child ? If yes then revert that change back and then test again.

    If you don’t remember then rename your functions.php file, if the issue is gone then check your functions.php by removing the each function at a time to know what function is causing the conflict.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:

    Kind Regards,

    Sajid

  • nifty
    • The Incredible Code Injector

    Hi There

    Thanks so much for that, you were correct it was some code that I had added into my child theme functions.php file that was causing the issue.

    The code was to remove short words from the url string so I have removed that code and the coupon functionality works fine now.

    Thanks again for all your help with this!