Page 12 of 12 FirstFirst ... 2101112
Results 111 to 114 of 114
  1. #111
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Re: Additional Product Images

    v157c with bootstrap template and Image Handler. I installed this Additional Images plugin today and it was successful according to the messages in the admin. However, when I try to use it, it is non-functional. Going to Admin>Catalog >Additional Product Images displays the message:
    *Product is Disabled
    I am unable to select any images for active products. I can see my products listed when I select a category. But selecting a product and clicking "Upload Images" just returns me to a blank form.
    I've checked all of the plugin settings under Configuration>Images, but all seems to be in order there.
    Others have also reported the
    *Product is Disabled
    message. But I've not been able to find any solutions. Anyone have an idea on how to fix this?

  2. #112
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Additional Product Images

    Quote Originally Posted by Joseph M View Post
    v157c with bootstrap template and Image Handler. I installed this Additional Images plugin today and it was successful according to the messages in the admin. However, when I try to use it, it is non-functional. Going to Admin>Catalog >Additional Product Images displays the message:

    I am unable to select any images for active products. I can see my products listed when I select a category. But selecting a product and clicking "Upload Images" just returns me to a blank form.
    I've checked all of the plugin settings under Configuration>Images, but all seems to be in order there.
    Others have also reported the message. But I've not been able to find any solutions. Anyone have an idea on how to fix this?
    So, looking over the code and knowing of an "issue" with ZC 1.5.7, may I suggest changing:
    admin/additional_product_images.php
    Line 80 from:
    Code:
              <?php echo zen_draw_form('related_products', FILENAME_ADDITIONAL_IMAGES_UPLOAD, '', 'get');
    to:
    Code:
              <?php
              if (isset($_GET['cmd'])) {
                $tempcmd = $_GET['cmd'];
              }
              $_GET['cmd'] = FILENAME_ADDITIONAL_IMAGES_UPLOAD;
    
              echo zen_draw_form('related_products', FILENAME_ADDITIONAL_IMAGES_UPLOAD, '', 'get');
              unset($_GET['cmd']);
              if (isset($tempcmd)) {
                $_GET['cmd'] = $tempcmd;
              }
    This should support the plugin working in ZC 1.5.7. It did for me...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #113
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Re: Additional Product Images

    Quote Originally Posted by mc12345678 View Post
    So, looking over the code and knowing of an "issue" with ZC 1.5.7, may I suggest changing:
    admin/additional_product_images.php
    Line 80 from:
    Code:
              <?php echo zen_draw_form('related_products', FILENAME_ADDITIONAL_IMAGES_UPLOAD, '', 'get');
    to:
    Code:
              <?php
              if (isset($_GET['cmd'])) {
                $tempcmd = $_GET['cmd'];
              }
              $_GET['cmd'] = FILENAME_ADDITIONAL_IMAGES_UPLOAD;
    
              echo zen_draw_form('related_products', FILENAME_ADDITIONAL_IMAGES_UPLOAD, '', 'get');
              unset($_GET['cmd']);
              if (isset($tempcmd)) {
                $_GET['cmd'] = $tempcmd;
              }
    This should support the plugin working in ZC 1.5.7. It did for me...
    That was the fix. I still see the *Product is Disabled message, but was able to upload two additional images to a product with no problem at all. And the logs are clear too. It appears to be working great.
    I see similar red messages in the Image Handler form, *Category is Disabled *Product is Disabled, so I'm wondering if they're supposed to be there, or if they're related to the "issue" with v157?
    In any case, I am very grateful for your solution. Thank you.

  4. #114
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Additional Product Images

    Quote Originally Posted by Joseph M View Post
    That was the fix. I still see the *Product is Disabled message, but was able to upload two additional images to a product with no problem at all. And the logs are clear too. It appears to be working great.
    I see similar red messages in the Image Handler form, *Category is Disabled *Product is Disabled, so I'm wondering if they're supposed to be there, or if they're related to the "issue" with v157?
    In any case, I am very grateful for your solution. Thank you.
    The code change provided addresses how zen_draw_form operates currently in ZC 1.5.7. That is the "issue" to which I was referring. The disabled category/product is something else. I suggest starting a new post/thread to address that and to be sure that changes to the cart as compared to a vanilla install be identified (along with addressing the other posting tips). That issue is not related to this plugin.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 12 of 12 FirstFirst ... 2101112

Similar Threads

  1. Admin interface for Additional Product Images addon?
    By Scarlet in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 28 Jan 2012, 08:15 PM
  2. Additional Product Images - Add title below all images
    By sports guy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Dec 2011, 05:54 AM
  3. Layout of Additional of Additional Product Images - Possible Bug?
    By RatMonkey in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Mar 2011, 02:21 PM
  4. Problem integrating additional image titles addon and commercial addon
    By strugglingnovice in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 15 Aug 2010, 03:07 PM
  5. Replies: 4
    Last Post: 30 Apr 2009, 06:19 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