Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2017
    Location
    Vermont
    Posts
    5
    Plugin Contributions
    0

    red flag Creating Blanket Sale on Master Category

    I read through posts but didn't find anything that related to my specific problem...

    I cannot use Salemaker through the Zen Cart admin site, it times out and gives me an internal server error, so I'm using myPHPadmin.

    I need to create a 66% off sale on a master category we'll call "Bargain Basement" and have the 66% off apply to every product of every sub category I move into that master category. Right now all I can do is get the sale to work when I manually put in the subcategory IDs I want on sale into the 'sale_categories_all' field.

    I need any normal user on Zen Cart admin to be able to move a subcategory into the master category and have it reprice automatically, then remove the price when that subcategory is moved out of the master sale category. We had a sale like this in the past but it appears someone deleted it.

    Can anyone give some advice on how to set this up without using the front end of Salemaker since it times out?

    Thank you in advance.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    5,620
    Plugin Contributions
    211

    Default Re: Creating Blanket Sale on Master Category

    Quote Originally Posted by cherryyarn View Post

    I cannot use Salemaker through the Zen Cart admin site, it times out and gives me an internal server error, so I'm using myPHPadmin.
    Please post the error message from the log and answer the questions under Posting Tips.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  3. #3
    Join Date
    Jul 2017
    Location
    Vermont
    Posts
    5
    Plugin Contributions
    0

    Default Re: Creating Blanket Sale on Master Category

    For whatever reason the error doesn't log in the error log, it just times out and says 'Internal Server Error 500". Here are the Posting Tips answers I'm able to answer to the best of my ability, apologies:

    - We are using version v1.3.9c/v1.3.9b
    - PHP Version: 5.4.22 (Zend: 2.4.0)
    - MySQL Client API version 5.5.52
    - The problem has been happening for over a year.
    - The last myDEBUG log in our cache is from 2011.
    - Site url: www.discontinuedbrandnameyarn.com

    I apologize in advance for muddled or lack of information - our webmaster up and left with minimal information and I'm not nearly as knowledgeable.

    Thank you.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    6,977
    Plugin Contributions
    63

    Default Re: Creating Blanket Sale on Master Category

    You're running a very old version of Zen Cart (v1.3.9b/c were released in May 2010) on a version of PHP (5.4.x) for which that Zen Cart code was not designed.

    The error you're receiving is most likely due to that incompatibility. I suggest that you focus on getting your Zen Cart core up-to-date before trying any patching.

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,608
    Plugin Contributions
    1

    Default Re: Creating Blanket Sale on Master Category

    In cPanel (your control panel for your hosting account) there is a section called Metrics and a link for Error log. That should show a line related to your 500 error msg. The lines all start with a date so you should be able to determine which error applies. Can you copy & paste that line starting at: /public_html/...
    The learning is in the doing.

    Potent Products

  6. #6
    Join Date
    Jul 2017
    Location
    Vermont
    Posts
    5
    Plugin Contributions
    0

    Default Re: Creating Blanket Sale on Master Category

    Quote Originally Posted by lat9 View Post
    You're running a very old version of Zen Cart (v1.3.9b/c were released in May 2010) on a version of PHP (5.4.x) for which that Zen Cart code was not designed.

    The error you're receiving is most likely due to that incompatibility. I suggest that you focus on getting your Zen Cart core up-to-date before trying any patching.
    Thanks, lat9. Unfortunately this company is closing it's doors very soon but I appreciate the suggestion. We're trying to have one last "big bang" sale with the 66% off

  7. #7
    Join Date
    Jul 2017
    Location
    Vermont
    Posts
    5
    Plugin Contributions
    0

    Default Re: Creating Blanket Sale on Master Category

    Quote Originally Posted by Website Rob View Post
    In cPanel (your control panel for your hosting account) there is a section called Metrics and a link for Error log. That should show a line related to your 500 error msg. The lines all start with a date so you should be able to determine which error applies. Can you copy & paste that line starting at: /public_html/...
    Thank you, Rob. Here is the error:
    PHP Warning: Missing argument 2 for currencies::display_price(), called in /home/dbnydis/public_html/shop/admint/includes/functions/functions_prices.php on line 299 and defined in /home/dbnydis/public_html/shop/admint/includes/classes/currencies.php on line 70, referer: https://www.discontinuedbrandnameyar...=194878&page=1

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    5,620
    Plugin Contributions
    211

    Default Re: Creating Blanket Sale on Master Category

    The file admin/includes/functions/functions_prices.php on your site has been modified incorrectly. I'd suggest replacing it with a fresh copy from a new download of 1.3.9.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  9. #9
    Join Date
    Jul 2017
    Location
    Vermont
    Posts
    5
    Plugin Contributions
    0

    Default Re: Creating Blanket Sale on Master Category

    Quote Originally Posted by swguy View Post
    The file admin/includes/functions/functions_prices.php on your site has been modified incorrectly. I'd suggest replacing it with a fresh copy from a new download of 1.3.9.
    Thanks swguy - any ideas for how to create this sale through myPHPadmin's salemaker_sales?

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,608
    Plugin Contributions
    1

    Default Re: Creating Blanket Sale on Master Category

    Reply by swguy trumps my reply. Gotta type faster. :-)
    The learning is in the doing.

    Potent Products

 

 

Similar Threads

  1. v139h Creating a new category for all "Sale items"
    By swamyg1 in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 25 Sep 2012, 09:36 PM
  2. Replies: 10
    Last Post: 30 Apr 2010, 04:46 PM
  3. resetting Master Category ID for all products in a category = HTTP 406 error!
    By bodyjewelrystores in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 18 Nov 2009, 04:25 AM
  4. How to set a category folder as the default master category
    By april12345 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 1 Sep 2008, 10:33 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