Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,707
    Plugin Contributions
    6

    Default Re: Can t Turn off product in categorie??

    Very odd ...

    Are you able to make a Test directory with a Test Database and install the Demo data and test this to see if it is working on that server still?

    If so, can you compare the Live Admin to the Test Admin and see if you are seeing any changes in the code with something like Beyond Compare from scootersoftware.com ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  2. #12
    Join Date
    Apr 2011
    Posts
    71
    Plugin Contributions
    0

    Default Re: Can t Turn off product in categorie??

    Quote Originally Posted by Ajeh View Post
    Very odd ...

    Are you able to make a Test directory with a Test Database and install the Demo data and test this to see if it is working on that server still?

    If so, can you compare the Live Admin to the Test Admin and see if you are seeing any changes in the code with something like Beyond Compare from scootersoftware.com ...
    no i am not and i am having bigger issues now. My product won t show up on the info page. i have everything except the product image / description.... basically the center column is blank

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,707
    Plugin Contributions
    6

    Default Re: Can t Turn off product in categorie??

    This seems to be working now ... what was the solution?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #14
    Join Date
    Apr 2011
    Posts
    71
    Plugin Contributions
    0

    Default Re: Can t Turn off product in categorie??

    Quote Originally Posted by Ajeh View Post
    This seems to be working now ... what was the solution?
    I thought it was coming from the admin folder but i was wrong. It was a corrupted database so i had to drop everything except product and install a clean database and import the product again. It would have been easier if had a more up to date backup but at least it is working for now.

    Thanks for helping though

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,707
    Plugin Contributions
    6

    Default Re: Can t Turn off product in categorie??

    Thanks for the update on what the problem was ... remember backups make the world go 'round ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #16
    Join Date
    Mar 2004
    Location
    Finland
    Posts
    471
    Plugin Contributions
    3

    Default Re: Can t Turn off product in categorie??

    I can confirm this, as a customer of mine just called me and asked why he can't switch products on/off after upgrade to 1.5.0

    The green/red tab in the categories list has a link like this:
    categories.php?action=setflag&flag=0&pID=6743&cPath=871_946_933&page=1

    But the code that handles it reads:

    PHP Code:
          if ( isset($_POST['flag']) && ($_POST['flag'] == '0') || ($_POST['flag'] == '1') ) {
            if (isset(
    $_GET['pID'])) {
              
    zen_set_product_status($_GET['pID'], $_POST['flag']);
            }
          } 
    Switching the $_POST to $_GET solved the problem :)
    Working with Zen Cart since 2003 :: www.prr.fi
    Author of the original Finnish language pack for Zen Cart since 2004

  7. #17
    Join Date
    May 2007
    Posts
    7
    Plugin Contributions
    1

    Default Re: Can t Turn off product in categorie??

    Quote Originally Posted by pasi View Post
    I can confirm this, as a customer of mine just called me and asked why he can't switch products on/off after upgrade to 1.5.0

    The green/red tab in the categories list has a link like this:
    categories.php?action=setflag&flag=0&pID=6743&cPath=871_946_933&page=1

    But the code that handles it reads:

    PHP Code:
          if ( isset($_POST['flag']) && ($_POST['flag'] == '0') || ($_POST['flag'] == '1') ) {
            if (isset(
    $_GET['pID'])) {
              
    zen_set_product_status($_GET['pID'], $_POST['flag']);
            }
          } 


    Switching the $_POST to $_GET solved the problem :)
    Thanks for posting this,I had the same problem and you solved it for me,too.

  8. #18
    Join Date
    Feb 2005
    Location
    Houghton, MI, USA
    Posts
    20
    Plugin Contributions
    2

    Default Re: Can t Turn off product in categorie??

    Quote Originally Posted by pasi View Post
    PHP Code:
          if ( isset($_POST['flag']) && ($_POST['flag'] == '0') || ($_POST['flag'] == '1') ) {
            if (isset(
    $_GET['pID'])) {
              
    zen_set_product_status($_GET['pID'], $_POST['flag']);
            }
          } 
    Switching the $_POST to $_GET solved the problem :)
    Which file did you find this code in? Would you post the updated code, please? Thanks!

  9. #19
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,916
    Plugin Contributions
    3

    Default Re: Can t Turn off product in categorie??

    Quote Originally Posted by pasi View Post
    I can confirm this, as a customer of mine just called me and asked why he can't switch products on/off after upgrade to 1.5.0

    The green/red tab in the categories list has a link like this:
    categories.php?action=setflag&flag=0&pID=6743&cPath=871_946_933&page=1

    But the code that handles it reads:

    PHP Code:
          if ( isset($_POST['flag']) && ($_POST['flag'] == '0') || ($_POST['flag'] == '1') ) {
            if (isset(
    $_GET['pID'])) {
              
    zen_set_product_status($_GET['pID'], $_POST['flag']);
            }
          } 
    Switching the $_POST to $_GET solved the problem :)
    Do you mean switching ALL instances of $_POST to $_GET ?

    Such as...

    PHP Code:
          if ( isset($_GET['flag']) && ($_GET['flag'] == '0') || ($_GET['flag'] == '1') ) {
            if (isset(
    $_GET['pID'])) {
              
    zen_set_product_status($_GET['pID'], $_GET['flag']);
            }
          } 
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  10. #20
    Join Date
    Jan 2006
    Posts
    1,557
    Plugin Contributions
    0

    Default Re: Can t Turn off product in categorie??

    I just upgraded my main site to 1.5 yesterday via a fresh install. I knew that Image Handler 4 caused a similar problem and I used it's posted fix to be able to turn on/off products via the green/red button in admin.

    Now I just notice that I'm having a similar problem with Specials: cannot turn them on/off via their green/red button in admin. Surely someone has come across this before, as 1.5 has been out for awhile. Will probably have to search more.
    Steve
    prommart.com

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. I want to add Categorie name on my product page
    By xiazhiqqw in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Sep 2010, 05:28 PM
  2. How to Click a Categorie and redirect to product page directly?
    By xuxinunuon in forum General Questions
    Replies: 2
    Last Post: 5 Jun 2010, 08:19 AM
  3. Adding a Frame around the product listing and Categorie
    By CoolCarPartsOnline in forum General Questions
    Replies: 0
    Last Post: 25 Sep 2008, 02:51 AM
  4. Where are the product and categorie files located?
    By veychek in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 19 Jan 2008, 07:22 AM

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
  •