• Resolved madamadari

    (@madamadari)


    I recently purchased Jigoshop Smart Coupons extension for use on https://www.plantbasedalchemy.com/courses/

    The client has a number of courses available and wants to offer gift vouchers for each course. So for example there will be a Health on a Plate gift voucher worth £299 available for sale, which will only be valid for use on the Health on a Plate course.

    After running some tests, I haven’t had any issues linking vouchers to specific products, and have been able to edit the Smart Coupon – Product Discount email which is sent to the voucher recipient on purchase, however neither the name of the voucher product purchased, or the name of the product which it is valid for use on are available in the listed variables.

    This is fine if the user is purchasing the gift voucher for themselves, as they know what they bought, and also have the other confirmation emails. However, if someone is purchasing the voucher for someone else, that person has no way of knowing which product they can use the code on.

    Do you have any suggestions on how I can get access this information in this email? Or alternative suggestions on how I can set the vouchers up that will enable us to tell the recipient which product they can use it on?

    The client lives in a remote area without internet access, so ideally we do need to be able to send at least the name of the course, or the voucher product purchases (as this includes the name of the course) automatically on purchase.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter madamadari

    (@madamadari)

    ### WordPress Environment ###

    Home URL: https://www.plantbasedalchemy.com
    Site URL: https://www.plantbasedalchemy.com
    Jigoshop Version: 1.18.1
    Jigoshop Database Version: 1503180
    Log Directory Writable: ? To allow logging
    make /home/sites/plantbasedalchemy.com/public_html/wp-content/uploads/jigoshop-logs/ writable or define a custom JIGOSHOP_LOG_DIR.

    WP Version: 4.6.1
    WP Multisite: –
    WP Memory Limit: 96 MB
    WP Debug Mode: –
    Language: en_US

    ### Server Environment ###

    Server Info: Apache/2.4.23 (Unix)
    PHP Version: 5.4.45
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.5.53
    eAccelerator: ?
    APC: ?
    OpCache: ?
    Short Open Tag:
    Allow URL fopen:
    Session:
    Cookie Path: /
    Save Path: /home/sites/plantbasedalchemy.com/var/php_sessions
    Use Cookies:
    Use Only Cookies:
    Max Upload Size: 64 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 (8) ###

    Redux Framework: by Team Redux – 3.6.2
    Akismet: by Automattic – 3.2
    Intuitive Custom Post Order: by hijiri – 3.0.7
    Jetpack by WordPress.com: by Automattic – 4.3.2
    Jigoshop Smart Coupons: by Jigoshop – 3.0
    Jigoshop: by Jigoshop Limited – 1.18.2
    Simple Page Ordering: by Jake Goldman
    10up – 2.2.4

    WP Menu Cart: by Jeremiah Prummer
    Ewout Fernhout – 2.5.8

    ### Settings ###

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

    ### Jigoshop Pages ###

    Shop Base: #207 – /shop/
    Cart: #238 – /cart/
    Checkout: #244 – /checkout/
    Pay: #245 – /checkout/pay/
    Thanks: #246 – /checkout/thanks/
    My Account: #240 – /my-account/
    Edit Address: #241 – /my-account/edit-address/
    View Order: #243 – /my-account/view-order/
    Change Password: #242 – /my-account/change-password/
    Track Order: #239 – /order-tracking/
    Terms: Page not set

    ### Taxonomies ###

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

    ### Theme ###

    Name: Awaken Child
    Version: 1.0.0
    Author URL: https://www.madamadari.com
    Child Theme:
    Parent Theme Name: Awaken
    Parent Theme Version: 1.1.3
    Parent Theme Author URL: https://themezhut.com/
    Jigoshop Support: Not Declared

    ### Templates ###

    Overrides: awaken-child/jigoshop/archive-product.php
    awaken/index.php
    awaken-child/jigoshop/loop-shop.php
    awaken-child/jigoshop/product_taxonomy.php
    awaken-child/jigoshop/single-product.php

    Plugin Author Jigoshop Support – Marcin

    (@azrielnefezen)

    I’ll take a look at the possible solutions – but I am quite sure that it would require changes in the code.

    Thread Starter madamadari

    (@madamadari)

    Thanks. I suspected it would require a code change, as those variables just don’t seem to be available to that email template.

    Essentially the client wants some way of letting the recipient know what product the voucher is valid for.

    Ideally, I would like to include the name of the product that it can be used on, and a link to the product page, but we can work with any option that will let us tell the recipient what product the gift certificate is valid for.

    The way the gift certificate options work is great, and it allows us to do everything we need in terms of linking the voucher to a specific product, barring this one missing bit of information, but because the goal is sending people coupons as gifts for a specific product, it’s a pretty vital component, as the recipients have no way of knowing what product they can use the voucher on.

    Plugin Author Jigoshop Support – Marcin

    (@azrielnefezen)

    Ok – contact me at [email protected] – I think I’ve got an idea.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jigoshop Smart Coupons – Adding product variable to coupon email’ is closed to new replies.