• Resolved naestanteonline

    (@naestanteonline)


    Hello. I’ve tried out your plugin and know that there’s some compatibility with WCLover’s MultiVendor Marketpalce – WCFM. But what I want to know is: is it possible for a vendor to create a gift card that can only be applied to their own products? Or all gift cards can be universally applied to the entire marketplace?

    Because then users could buy a gift card from a store and use it to get discount on products from other store and I don’t exactly want that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pimwick

    (@pimwick)

    We haven’t specifically tested with that plugin, but we have confirmed that the plugin is compatible with WordPress Multisite.

    By default, default each site will have its own Gift Card database keeping track of numbers/balances separately. To allow a gift card to be used on any site in the multisite network, perform these steps. It will switch to use the central gift card database for all numbers and balances:

    1. Log into your FTP site and edit wp-config.php
    2. Edit wp-config.php and scroll to the end. Add the code above the line that says “Happy blogging.” or something similar:

    define( 'PWGC_MULTISITE_SHARED_DATABASE', true );
    
    /* That's all, stop editing! Happy blogging. */

    3. Save the wp-config.php file and re-upload it to your server.

    Let me know if this also works with WCLover’s plugin.

    Thread Starter naestanteonline

    (@naestanteonline)

    Hello. Thank you for the reply! But I’m not quite sure if it’s clear to me. Will this code you provided keep users from applying gift card discounts in every store? Or actually allow them to? Because that’s not what I actually want.

    If a vendor creates a gift card for users to buy than it should only be applied to their own products. If not, then users can get discounts on other vendor’s products unintentionally.

    Plugin Author pimwick

    (@pimwick)

    The code I provided will allow them to use the same gift card in any store for a WordPress Multisite setup. That isn’t what you want, the default behavior is a single database per site which means that the gift card would only be valid for the store where it was purchased.

    With all of this being said, I don’t think WordPress Multisite is the same thing as the plugin you are using. You will need to test the gift card plugin in your configuration to see if it meets your needs.

    If the WCFM plugin you are using creates a separate database per store then it should work, however if all products are kept in a single database then our plugin won’t be suitable for your needs.

    Hi There
    Im trying the same type of install using WCFM and your plugin, In the small chance you might be looking into this.
    here’s hoping

    • This reply was modified 4 years, 10 months ago by whiteyzn.
    Plugin Author pimwick

    (@pimwick)

    We may look into this for a future update but for now this isn’t something that our plugin can do. If we add support for WCFM then we will update this thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Integration with WCFM’ is closed to new replies.