• Resolved Flamekebab

    (@flamekebab)


    I recently decided to give out some coupons for a set discount off some items in my shop (specifically items in this category). The idea being to provide a flat £10 off the value of the items selected, shipping not included.

    I was informed this morning by a rather honest customer that it wasn’t working properly. Instead of giving a £10 discount it gives a discount for whatever value is in the cart (although the category limits work – it only affects the selected category).

    Have I set it up wrong or is this a bug?

    Here’s the setup page for the coupon:
    http://i.imgur.com/hAai0Mj.jpg

    Here’s it in the cart:
    http://i.imgur.com/yfv65g4.jpg

    In the second image you can see that a non Fox Box product is in the cart and isn’t being affected by the coupon (pushing the total from £4.99 to £5.24).

    The coupon was definitely not for £31.39 though!

    Jigoshop system info:

    ### WordPress Environment ###

    Home URL: http://fox-box.co.uk
    Site URL: http://fox-box.co.uk
    Jigoshop Version: 1.17.9
    Jigoshop Database Version: 1503180
    Log Directory Writable: /var/www/foxbox/wp-content/uploads/jigoshop-logs/
    WP Version: 4.3.1
    WP Multisite: –
    WP Memory Limit: 96 MB
    WP Debug Mode: –
    Language: en_GB

    ### Server Environment ###

    Server Info: Apache/2.4.7 (Ubuntu)
    PHP Version: 5.5.9-1ubuntu4.13
    PHP Post Max Size: 40 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.5.44
    eAccelerator: ✕
    APC: ✕
    OpCache:
    Short Open Tag:
    Allow URL fopen:
    Session:
    Cookie Path: /
    Save Path: /var/lib/php5
    Use Cookies:
    Use Only Cookies:
    Max Upload Size: 40 MB
    Default Timezone is UTC:
    fsockopen/cURL:
    SoapClient:
    Remote Post:
    Remote Get:

    ### Server Locale ###

    decimal_point: .
    thousands_sep: N/A
    mon_decimal_point: N/A
    mon_thousands_sep: N/A

    ### Active Plugins (16) ###

    Akismet: by Automattic – 3.1.5
    Force non-SSL: by Ian Dunn – 0.4
    Google Analyticator: by SumoMe – 6.4.9.6
    Google XML Sitemaps: by Arne Brachhold – 4.0.8
    Jetpack by WordPress.com: by Automattic – 3.8.0
    JigoShop Statistics: by James Kemp – 1.0.1
    Jigoshop Video Product Tab: by Sebs Studio – 1.0
    Jigoshop: by Jigoshop Limited – 1.17.9
    Premium Shipping for Jigoshop: by Jigoshop – 1.4.8
    SEO Ultimate: by SEO Design Solutions – 7.6.5.8
    Site Offline or Coming Soon: by wpecommerce – 1.6.5
    PluginChief Twitter Badge Widget: by Andy Clark
    Brandon Camenisch
    Jason Bahl – 1.75

    UK Cookie Consent: by Catapult – 1.8.2
    WP-Mail-SMTP: by Callum Macdonald – 0.9.5
    WP-PageNavi: by Lester ‘GaMerZ’ Chan – 2.89.1
    WP-reCAPTCHA: by – 4.1

    ### Settings ###

    Taxes Enabled: –
    Shipping Enabled:
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2

    ### Jigoshop Pages ###

    Shop Base: #164 – /shop/
    Cart: #98 – /shopping-basket/
    Checkout: #390 – /checkout/
    Pay: #40 – /pay/
    Thanks: #107 – /checkout-2/thanks/
    My Account: #36 – /my-account/
    Edit Address: #37 – /my-account/edit-address/
    View Order: #38 – /my-account/view-order/
    Change Password: #39 – /my-account/change-password/
    Track Order: #35 – /order-tracking/
    Terms: Page not set

    ### Taxonomies ###

    Product Types: configurable (configurable)
    downloadable (downloadable)
    grouped (grouped)
    simple (simple)
    variable (variable)
    virtual (virtual)

    ### Theme ###

    Name: Easel
    Version: 2.0.7
    Author URL: http://frumph.net
    Child Theme: ✕ – If you’re modifying Jigoshop or a parent theme you didn’t build personally we recommend using a child theme. See: How to create a child theme
    Jigoshop Support: Not Declared

    ### Templates ###

    Overrides: easel/index.php

    https://wordpress.org/plugins/jigoshop/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jigoshop Support – Eric

    (@jigoshop-support)

    Hi Flamekebab,
    From the screenshot provided it looks like you have set up a £10 per each product in that category and because the price of product unit is lower than £10, the total cost of product from this category is discounted.

    You should change the coupon type to Cart Discount to give only a £10 discount
    on total value of products from the selected category in the cart.

    I would also suggest to set up a min. subtotal for product from this category before the coupon can be applied, otherwise you might give your product for free if someone orders for less than £10

    Thread Starter Flamekebab

    (@flamekebab)

    Right-o!

    I thought the distinction between product and cart discount was that one would affect just the products in the cart (but not the shipping) and the other would affect everything in the cart.

    I’m experimenting with it now and have found some further strange behaviour.

    1. I don’t have the free shipping method enabled for the coupon and even with a minimum order amount set (e.g. min. £2.99) shipping is considered part of the total that gets discounted. The idea with these coupons is to be able to give free products but shipping is not supposed to be free. Free products are fine but shipping comes out of a separate budget and paying that on some international orders would incur a fairly large loss quite quickly!

    2. Changing quantities in the cart make the coupon appear invalid. Removing it and adding it again fixes the problem.

    I’ve created a short screen capture video to illustrate that problem:
    https://youtu.be/n3SSrLi9yvI

    I’m guessing the solution to all of these problems is to buy the Smart Coupons extension?

    If so I’ll have to keep an eye out for a sale. At the current price ($49) I’d be better off just paying for the shipping costs out of pocket.

    Plugin Author Jigoshop Support – Eric

    (@jigoshop-support)

    Hi,
    1. I have tested the cart type coupon and can confirm that you are right about removing the shipping cost when the coupon value is higher than the products total cost in the cart.
    This will be fixed in the next jigoshop update.

    2. I can’t replicate the issue with coupon being invalid when changing the quantities in cart.
    Can you please send us wp-admin access to support@jigoshop.com so we can investigate it further on your site.

    Smart coupons is based on functionality of the standard coupons so it won’t be a solution to your problems if we don’t fix the coupons first.

    Plugin Author Jigoshop Support – Eric

    (@jigoshop-support)

    Temporary solution to the first issue would be to set the “Order total min” value at £10 to prevent the coupon from discounting the shipping cost when the total of products is less than coupon value

    Thread Starter Flamekebab

    (@flamekebab)

    1. That workaround looks to be a workable solution but I’m glad that there’s going to be a proper fix in the near future.

    2. You should now have the login details in your email account.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Coupons ignore set value and instead give 100% discount to covered items’ is closed to new replies.