Zen Cart Logo
Forums / All Other Contributions/Addons / Request Restock Mod Thread

Request Restock Mod Thread

Locked

Views: 23,631

Results 21 to 40 of 138
This thread is locked. New replies are disabled.
6 Aug 2007, 10:15 PM
#21
landshark avatar

landshark

New Zenner

Join Date:
Mar 2006
Posts:
83
Plugin Contributions:
0

Request Restock Mod Thread

Ok i will do some checking. Is it possible the template overides are not working properly?

Using: Zencart 1.3.7 and lovin' every minute of it.

6 Aug 2007, 10:40 PM
#22
landshark avatar

landshark

New Zenner

Join Date:
Mar 2006
Posts:
83
Plugin Contributions:
0

Re: Request Restock Mod Thread

OK i checked,

request_restock.php is in /catalog/includes/languages/english/diytac/

I do not have a folder called template_default in /catalog/includes/languages/english/ as i don't believe i should.

I also checked in admin and my template is correctly pointing to "diytac"

What woud be the cause for it not to be read in the /diytac folder?

Using: Zencart 1.3.7 and lovin' every minute of it.

6 Aug 2007, 11:11 PM
#23
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Ok, here is the solution which has just been tested: edit

/includes/languages/english/diytac/button_names.php

Add

define('BUTTON_IMAGE_REQUEST_RESTOCK','button_request_restock.gif');
define('BUTTON_REQUEST_RESTOCK_ALT', 'Request Restock');

Done! That was again my stupid mistake. Should work fine now!

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

6 Aug 2007, 11:43 PM
#24
landshark avatar

landshark

New Zenner

Join Date:
Mar 2006
Posts:
83
Plugin Contributions:
0

Re: Request Restock Mod Thread

yellow1912:

Ok, here is the solution which has just been tested: edit

/includes/languages/english/diytac/button_names.php

> 
> Add
> 
> ```php
define('BUTTON_IMAGE_REQUEST_RESTOCK','button_request_restock.gif');
define('BUTTON_REQUEST_RESTOCK_ALT', 'Request Restock');

Done! That was again my stupid mistake. Should work fine now!

That did the trick! I didn't want the image in for application so i modified accordingly but it is definitely reading button_names.php

Thanks for taking the time to help.

Using: Zencart 1.3.7 and lovin' every minute of it.

6 Aug 2007, 11:46 PM
#25
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Your are very welcomed! I'll post the fix for the number checking soon.

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 Aug 2007, 2:06 AM
#26
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Alpha 3.2 changes:

  1. Fixed the error with image and alternative text not displayed.
  2. Fixed the error with input values not checked.
  3. Some minor bugs.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=660

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 Aug 2007, 6:55 PM
#27
landshark avatar

landshark

New Zenner

Join Date:
Mar 2006
Posts:
83
Plugin Contributions:
0

Re: Request Restock Mod Thread

Perfect, got it installed and it's appears to be working great.

Using: Zencart 1.3.7 and lovin' every minute of it.

9 Aug 2007, 7:23 PM
#28
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

landshark:

Perfect, got it installed and it's appears to be working great.
I'll release alpha3.3 soon, which will allow you to better customize email template sent to the customers (which is very very important, imo).
I have it working great on my site already, just need to remove some hard-coded links so it can work on any 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

11 Aug 2007, 4:45 PM
#29
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Alpha3.3 uploaded.

You MUST update to this version to fix a critical error!!!

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

14 Aug 2007, 3:50 AM
#30
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Can some mod please help me to add these links to the first post:

Latest (stable version)
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=660
Latest (unstable version)
https://svn.rubikintegration.com/zencart_mods/request_restock/
Bug report:
http://www.rubikintegration.com/mantis/

Please report bugs to the above link only since it's easier for me to keep track of the bugs.

Thank you

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

17 Aug 2007, 11:09 AM
#31
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Request Restock Mod Thread

HI!

Great mod!

I found a small bug, you give a closing </div> in your button code in the readme.txt, but no opening div.

<!--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_RESTOCK, BUTTON_REQUEST_RESTOCK_ALT) . BUTTON_REQUEST_RESTOCK_ALT . '</a>'; ?></div>
<?php } ?> <!--eof Restock button -->
17 Aug 2007, 1:02 PM
#32
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Thank you, and will update it soon ^^.

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

27 Aug 2007, 4:10 PM
#33
landshark avatar

landshark

New Zenner

Join Date:
Mar 2006
Posts:
83
Plugin Contributions:
0

Re: Request Restock Mod Thread

Does anyone know where to place the code so that the request restock button/link will show up next to the "out of stock" icon in the list view.

I've got it in my product description but would also like someone to be able to request the restock when they are just browsing through the list. Often times people won't click on the item if it is showing up as out of stock and therefor they don't know that they can request a notification when it's back on the shelf so to speak.

Hope this makes sense.

Using: Zencart 1.3.7 and lovin' every minute of it.

27 Aug 2007, 8:15 PM
#34
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

You would have to edit many files just to do it, there are special listing, new listing, all products listing, ....
I don't remember the exact files names, but if you are familiar with editing ZC files then it's easy to do:
Say I want to edit the listing for my index site, I will view the source file of the file. I want to put the request button right under the price, so I look at the source code of "price":

<div class="price">$6.49</div>

Now I can use a program that can search the content of many files (notepad++ for example) and search for

div class="price"

If that does not work then I may want to search for only

price

ZC sometimes build the html in the module files, sometimes in the template files, so it can get really confusing at first but you will get used to it. And I sure hope we will see code improvement on the later versions.

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 Sep 2007, 4:29 PM
#35
nullmind avatar

nullmind

Zen Follower

Join Date:
Jul 2007
Posts:
129
Plugin Contributions:
0

Re: Request Restock Mod Thread

I have installed this add-on and seems to work great

but I did a test to be notified of a restock and all I got was

Dear carlos

Product XYZ


This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error, please send an email to
[email protected]


Copyright (c) 2007 Zen Cart. Powered by Zen Cart

That was it, nothing else .. what am I doign wrong ? seems it's not using the email template ?

2 Sep 2007, 4:31 PM
#36
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Can you please take a screenshot of the mail and post it here please?

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 Sep 2007, 11:58 PM
#37
nullmind avatar

nullmind

Zen Follower

Join Date:
Jul 2007
Posts:
129
Plugin Contributions:
0

Re: Request Restock Mod Thread

sure, here it is .. let me know if you need anything else

3 Sep 2007, 1:57 AM
#38
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

Huhm, are you using the newest version? We no longer use that email template.
Try downloading the newest version, install it and let me know if this still happens.

NullMind:

sure, here it is .. let me know if you need anything else

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

3 Sep 2007, 8:32 AM
#39
nullmind avatar

nullmind

Zen Follower

Join Date:
Jul 2007
Posts:
129
Plugin Contributions:
0

Re: Request Restock Mod Thread

I am using Alpha 3.3 ? .. is there a newer one ?

3 Sep 2007, 2:11 PM
#40
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Request Restock Mod Thread

No, it's the newest

Are you sure that you uploaded all the files in the folder "email" to your corresponding folder on the 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