Page 2 of 14 FirstFirst 123412 ... LastLast
Results 11 to 20 of 138
  1. #11
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod - Anyone wants it?

    Can you please give me the exact link to an out-of-stock item on your site?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #12
    Join Date
    Mar 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Request Restock Mod - Anyone wants it?

    Great Mod!

    I had the same problems as the previous poster but made it work. I think I am having a problem reading the "define" if that makes sense. I don't know the proper terminology. Reason i say this is that the image is not loaded and the alt tex is not either.

    Here is a link to one in my site http://www.diytacticalstore.com/cata...roducts_id=196

    I do have suggestions a suggestion is it possible to make the "Quantity" box a numeric only field?

    A few people have already entered things such as "2-3" or "approximately 5" this prevents the request from being recorded in the back end.

    Also if they leave it blank it does not list in the admin. Even thought there is a "*" labeled as a required field there is no error when someone leaves it blank.

    Thank you for your work on this.
    Using: Zencart 1.3.7 and lovin' every minute of it.

  3. #13
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod - Anyone wants it?

    Tell me, so u got the newest file (see my previous post for the attachment) and it still does not work?

    And I'll check why it doesnt check the number thing, huhm!

    Will have an updated version within 2 days.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #14
    Join Date
    Mar 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Request Restock Mod - Anyone wants it?

    Yes I downloaded the file attached to post #9 in this thread. I will double check however just to be sure.

    Thank you for looking into the number value. I would say about 80% of our requests are coming in with more than just a single number.
    Using: Zencart 1.3.7 and lovin' every minute of it.

  5. #15
    Join Date
    Mar 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Request Restock Mod - Anyone wants it?

    Quote Originally Posted by yellow1912 View Post
    Tell me, so u got the newest file (see my previous post for the attachment) and it still does not work?
    I've doubled checked and i did download the latest version.

    Is it possible that it has something to do with my shopping cart not being installed in the Root directory? It is installed in /catalog
    Using: Zencart 1.3.7 and lovin' every minute of it.

  6. #16
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod - Anyone wants it?

    First error:
    I made a mistake in the installation guide, there is no file with the name tpl_product_info_display.com, the file you should edit is tpl_product_info_display.php

    Double check that file in your custom template folder:
    PHP Code:
    includes/templates/your_current_template/templates/tpl_product_info_display.php 
    The text/image displayed in your product_info page is the result of this code:
    PHP Code:
    <!--bof Restock button-->
    <?php
      
    if ($products_quantity <= 0) { ?>
        <?php echo '<a href="' zen_href_link(FILENAME_REQUEST_RESTOCK'products_id=' $_GET['products_id']) . '">' zen_image_button(BUTTON_IMAGE_REQUEST_RESTOCKBUTTON_REQUEST_RESTOCK_ALT) . BUTTON_REQUEST_RESTOCK_ALT '</a>'?></div>
        
    <?php
    }
    ?>
    <!--eof Restock button -->
    Double check it.

    And all those image and text are defined in:
    PHP Code:
    includes/languages/english/your_current_template/request_restock.php 
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #17
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod - Anyone wants it?

    I see that you are currently using "template_default"?
    If so, have you changed all the folders named TEST in the package to template_default before uploading them to your server?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  8. #18
    Join Date
    Mar 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Request Restock Mod - Anyone wants it?

    Actually to be honest I didn't even realize you had made a mistake in the installation guide. here is the code as I modified it to show what is currently showing in the link i posted:

    Code:
    <!--bof Restock button-->
    <?php
      if ($products_quantity <= 0) { ?>
    	<div><?php echo '<a href="' . zen_href_link(FILENAME_REQUEST_RESTOCK, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_REQUEST_RESTOCK, Request_Restock_Notice) . '</a>'; ?></div>
    	
    <?php
    }
    ?>
    <!--eof Restock button -->
    Placing the code as you have listed the no image did not show and this BUTTON_REQUEST_RESTOCK_ALTBUTTON_REQUEST_RESTOCK_ALT or something similar shoed up as the link,

    I had to edit BUTTON_REQUEST_RESTOCK_ALT to Request_Restock_Notice and remove the BUTTON_REQUEST_RESTOCK_ALT this is outside the (BUTTON_IMAGE_REQUEST_RESTOCK, BUTTON_REQUEST_RESTOCK_ALT)

    It is my understanding if there was a problem with the image then the ALT text should have shown? But it appears for me it was pulling the text that did show from the code i entered into the tpl_product_info_display.php file

    I have very limited knowledge of code i just figured this out after a few hours of tinkering.

    These two lines:

    Code:
    define('BUTTON_IMAGE_REQUEST_RESTOCK','button_request_restock.gif');
    define('BUTTON_REQUEST_RESTOCK_ALT', 'Request Restock');
    are listed in request_restock.php

    i hope this explains what is going on a little bit better. Wish i could be of more help
    Using: Zencart 1.3.7 and lovin' every minute of it.

  9. #19
    Join Date
    Mar 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Request Restock Mod - Anyone wants it?

    Quote Originally Posted by yellow1912 View Post
    I see that you are currently using "template_default"?
    If so, have you changed all the folders named TEST in the package to template_default before uploading them to your server?
    I shouldn't be i placed a copy of the tpl_product_info_display.php file into my custom template's "templates" folder and modified that.

    Maybe there is something else that is conflicting.
    Using: Zencart 1.3.7 and lovin' every minute of it.

  10. #20
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Request Restock Mod - Anyone wants it?

    You see, when I go to your site and check your html code, here is what I found out:
    PHP Code:
    includes/templates/template_default/buttons/english/BUTTON_IMAGE_REQUEST_RESTOCK 
    It's saying that, the current template you are using is "template_default"

    The button image and alt text are not loaded because 1 reason: they are defined in request_restock.php, and that file should be in
    Code:
     		 			 includes/languages/english/your_current_template/request_restock.php  
    which, in your case here, would be:
    Code:
     		 			 includes/languages/english/template_default/request_restock.php  
    Make sure you have it in the right place. If it still does not work, I'm here to help!
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 
Page 2 of 14 FirstFirst 123412 ... LastLast

Similar Threads

  1. Restock Request
    By jsarwar in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 20 Jul 2014, 11:16 PM
  2. Request Restock Mod Alpha 3.5
    By Adds in forum General Questions
    Replies: 0
    Last Post: 12 Nov 2007, 07:52 PM
  3. Restock Request Module - Urgent Help Needed Please....
    By Adds in forum General Questions
    Replies: 1
    Last Post: 30 Oct 2007, 01:39 AM
  4. Return Request mod
    By dscott1966 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Nov 2006, 05:21 PM

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