Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,478
    Plugin Contributions
    18

    Idea or Suggestion Twitch TURN OFF SaleMaker & Specials & Discount Coupons for Wholesale Customers

    Twitch TURN OFF SaleMaker, Specials & Discount Coupons for Wholesale Customers
    for ZenCart v1.51 - Version 13a
    December 21.2013

    This module will make the following ZenCart default modules unavailable for wholesale clients:
    - SaleMaker
    - Specials Pricing
    - Discount Coupons

    Bonus - Includes an update to clean up the look of the discount coupon module in the checkout.


    The code changes/files provided are based on a clean ZenCart v1.51 install with these working modules:

    Twitch Wholesale with Twitch Wholesale Attributes
    Twitch List Price
    Twitch Base Price
    Twitch Hidden Searchable Model Number

    Also works with:
    Twitch SaleMaker & Specials for Attributes


    (Note: This module could easily be adapted to work in reverse - wholesale customers see sales/specials/discounts, retail do not.)
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch WS + Attributes, ZC 1.38 - 1.56c - Expert Site Migration & Upgrades!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,061
    Plugin Contributions
    25

    Default Re: Twitch TURN OFF SaleMaker & Specials & Discount Coupons for Wholesale Customers

    Just curious... how tricky will it be to use this mod without the others you mention? Do you have directions for detangling them, or is the code commented such that it would be straightforward to move the current mod edits to a clean copy of the file(s)?

    (I have a couple of mods where one needs special code in the files primarily belonging to the other in order to work, but you don't want the code active if the first mod is not installed. I added checks in the second to see if the first mod is installed in order for the correct code version to be used.)

  3. #3
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,478
    Plugin Contributions
    18

    Default Re: Twitch TURN OFF SaleMaker & Specials & Discount Coupons for Wholesale Customers

    No tricks, technically you don't need to have the other modules installed, the filter could just return false and continue on with the code. What modules are you trying to make this work with?
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch WS + Attributes, ZC 1.38 - 1.56c - Expert Site Migration & Upgrades!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,061
    Plugin Contributions
    25

    Default Re: Twitch TURN OFF SaleMaker & Specials & Discount Coupons for Wholesale Customers

    I'm not trying to use it, just wondered. So there are no actual dependencies that would cause problems, right?

  5. #5
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,478
    Plugin Contributions
    18

    Default Re: Twitch TURN OFF SaleMaker & Specials & Discount Coupons for Wholesale Customers

    The filters are setup inside of the default functions, that way the functions will continue to return the appropriate values when called upon.

    Hiding the functions would light cart errors up like a Christmas tree... not recommended.
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch WS + Attributes, ZC 1.38 - 1.56c - Expert Site Migration & Upgrades!

  6. #6
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,478
    Plugin Contributions
    18

    Default Re: Twitch TURN OFF SaleMaker & Specials & Discount Coupons for Wholesale Customers

    Submitted to ZC here:
    http://www.zen-cart.com/downloads.php?do=file&id=1803

    Also available with screenshots on my site here:
    http://twitchtoo.com/zencart/index.html
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch WS + Attributes, ZC 1.38 - 1.56c - Expert Site Migration & Upgrades!

 

 

Similar Threads

  1. v151 Twitch SaleMaker & Specials for Attributes
    By twitchtoo in forum Setting Up Categories, Products, Attributes
    Replies: 20
    Last Post: 26 Jun 2014, 01:41 PM
  2. Blocking usage of Group Discount & Discount Coupons
    By familynow in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 24
    Last Post: 21 Feb 2012, 03:34 AM
  3. Salemaker & specials not working
    By crisand in forum Setting Up Specials and SaleMaker
    Replies: 4
    Last Post: 18 Jul 2008, 04:55 PM
  4. Salemaker & Coupons..
    By gemohler in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 3 Jun 2007, 06:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR