Zen Cart Logo
Forums / All Other Contributions/Addons / Back In Stock Notifications

Back In Stock Notifications

Views: 71,748

Results 361 to 380 of 507
24 Mar 2010, 6:55 PM
#361
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Back In Stock Notifications

Hi,

vatertime:

Is there a way to show both the 'buy now' button AND 'notify me when in stock'? I would like my customers to be able to lock in the price by purchasing the product while out of stock.

No, sorry, that functionality is not available.

You'd have to have it custom coded, there's no way to do what you are asking in Zen Cart.

All the best...

Conor
ceon

8 Apr 2010, 3:11 PM
#362
ashely avatar

ashely

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Back In Stock Notifications

Hello everybody,

I really appreciate this module! Thank you very much, Conor.

But I encounter a problem recently. After my customers fill in their email adress and click "notify me", the page goes to the shopping cart page but not the confirmation page, and the details (email address & name) are never recorded. I really don't know why. It just worked perfectly before, and I haven't changed anything of this module these days. I'm wondering which part could be wrong. I really need your help!

Thank you so much in advance.

Ashely

8 Apr 2010, 3:27 PM
#363
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi Ashely,

Glad you like the module!

Ashely:

But I encounter a problem recently. After my customers fill in their email adress and click "notify me", the page goes to the shopping cart page but not the confirmation page, and the details (email address & name) are never recorded. I really don't know why. It just worked perfectly before, and I haven't changed anything of this module these days. I'm wondering which part could be wrong. I really need your help!

This means that the Back In Stock Notification form on the product page is posting to the shopping cart page instead of the BISN subscription page.

That's probably being caused by some messed up code in your product_info template file.. for example not closing a form tag before the BISN form is being included, so it is posting to the wrong place.

You've made some changes on your site recently which have caused this behaviour.

If you take a look at your product_info template(s) you should be able to find where you have gone wrong. You were correct in thinking that it wasn't anything to do with this module as the change has been made outside of the module.

Hope that helps!

All the best..

Conor
ceon

9 Apr 2010, 1:40 AM
#364
ashely avatar

ashely

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Back In Stock Notifications

Thank you very much for the prompt reply, Conor. Yes, it was the file product_info that was messed up! The position was wrong. It should be after </form>... Now the problem has been fixed.:-)
I really appreciate your help and time!!

9 Apr 2010, 8:36 AM
#365
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

Ashely:

Thank you very much for the prompt reply, Conor. Yes, it was the file product_info that was messed up! The position was wrong. It should be after </form>... Now the problem has been fixed.:-)
I really appreciate your help and time!!

No problem.. glad you like the software!

All the best..

Conor
ceon

14 Apr 2010, 1:26 AM
#366
piker avatar

piker

Zen Follower

Join Date:
Nov 2009
Posts:
109
Plugin Contributions:
0

Re: Back In Stock Notifications

Hello Conor,
I have been using this great mod for a few months now, without a hitch, until today.
Although I made one of my products "sold-out" on Monday a customer , somehow, just sent me an order today (wednesday) with the Sold-Out item included in it. How could this be possible? Is there a setting somewhere to avoid this happening in future?
Cheers.

14 Apr 2010, 1:52 AM
#367
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: Back In Stock Notifications

piker:

Hello Conor,
I have been using this great mod for a few months now, without a hitch, until today.
Although I made one of my products "sold-out" on Monday a customer , somehow, just sent me an order today (wednesday) with the Sold-Out item included in it. How could this be possible? Is there a setting somewhere to avoid this happening in future?
Cheers.

Have you made sure that 'Allow Checkout' is set to false in Admin->Configuration ->Stock?

14 Apr 2010, 4:15 AM
#368
piker avatar

piker

Zen Follower

Join Date:
Nov 2009
Posts:
109
Plugin Contributions:
0

Re: Back In Stock Notifications

Hello jbrit,
I just checked it and its set to "true". I suppose it is possible that something was changed after some other mod was installed. There have been quite a few!
Does it have to be set to "false" for this mod?
What would be the functional difference between the 2 settings, in regards to this mod?
Cheers.

14 Apr 2010, 7:38 AM
#369
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

piker:

Does it have to be set to "false" for this mod?

It's nothing to do with the module.

It should be set to "false" simply because you have said you don't want people to be able to checkout with items that are out of stock. Installing the module doesn't affect any other Zen Cart settings like this one, you still have to configure the store to have it work the way you want!

piker:

What would be the functional difference between the 2 settings, in regards to this mod?

In regards to the module, none. In regards to your store, everything! ("It does what it says on the tin" :) ).

Glad to hear of yet another person who likes the software!

All the best..

Conor
ceon

14 Apr 2010, 8:27 AM
#370
piker avatar

piker

Zen Follower

Join Date:
Nov 2009
Posts:
109
Plugin Contributions:
0

Re: Back In Stock Notifications

Thanks Conor and jbrit,
I reckon Allow Checkout was probably always left at "true" since I installed this mod. The only reason this particular order caused problems for me was because he had been putting the order together over 4 or 5 days and I changed one of the items' availability in the middle of it.
Am I right in thinking that now that i've set it to "false" a php check will be made on the order,prior to checkout,and the customer (given these same circumstances) will be notified that the chosen item is now out of stock?
Yes, I do like the software Conor as a matter of fact my particular kind of business couldn't operate without it. A must have for shops that operate ON and OFF line and that have stock coming in and going out all the time.Cheers.:smile:

14 Apr 2010, 9:22 AM
#371
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

piker:

I reckon Allow Checkout was probably always left at "true" since I installed this mod.

I think you meant "since I installed Zen Cart".

piker:

The only reason this particular order caused problems for me was because he had been putting the order together over 4 or 5 days and I changed one of the items' availability in the middle of it.

Yup, that would make sense.

piker:

Am I right in thinking that now that i've set it to "false" a php check will be made on the order,prior to checkout,and the customer (given these same circumstances) will be notified that the chosen item is now out of stock?

As I said before.. "it does exactly what it says on the tin".. the customer can't check out with an item that's out of stock if you set the option "customer can check out with an item that's out of stock" to "false". :-)

piker:

Yes, I do like the software Conor as a matter of fact my particular kind of business couldn't operate without it. A must have for shops that operate ON and OFF line and that have stock coming in and going out all the time.Cheers.:smile:

I'm glad to hear it's so useful to you, makes all the work writing and supporting it that bit more worthwhile!

All the best..

Conor
ceon

3 May 2010, 1:19 PM
#372
ashely avatar

ashely

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Back In Stock Notifications

Hello Conor,

I really want the product model (or even with manufacturer) to be also included (just shown behind the $product_name) in the back-in-stock-notification subscription email. Because I hope to get a better idea of what is exactly wanted by the customer just from reading the notification email.

Is there a way to achieve that? Could you please show me which file(s) should I edit and what kind of codes should I add?

Thank you very much in advance.

Best Regards,
Ashely

3 May 2010, 4:03 PM
#373
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi Ashley,

Ashely:

Is there a way to achieve that? Could you please show me which file(s) should I edit and what kind of codes should I add?

You can easily add that functionality by modifying the file includes/modules/pages/back_in_stock_notification_subscribe/header_php.php

You can add a SQL lookup to populate a variable with the model and then add it to the e-mail as part of the product name, or edit the e-mail templates to add a "placement variable" to have it as a separate part of the e-mails.

Hope that helps!

All the best..

Conor
ceon

4 May 2010, 4:54 AM
#374
ashely avatar

ashely

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Back In Stock Notifications

Hello Conor,

Thank you very much for the quick reply.

I tried to edit the header_php.php file. But the product model was still not properly shown. The code I added to that file is as follows:

$product_model_query = "
	SELECT
		products_model
	FROM
		". TABLE_PRODUCTS . "
	WHERE
		products_id = '" . (int) $_GET['products_id'] . "';";
$product_model_result = $db->Execute($product_model_query);
$product_model = $product_model_result->fields['products_model'];

There must be some mistakes there. Could you please help me with that? Sorry, I know little about programming.

Thank you very much.

Best Regards,
Ashely

4 May 2010, 9:05 AM
#375
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi Ashely,

Ashely:

Thank you very much for the quick reply.

No problem. Glad you find the software useful!

Ashely:

I tried to edit the header_php.php file. There must be some mistakes there. Could you please help me with that? Sorry, I know little about programming.

You're most of the way there. Now you just need to use the $products_model variable.

Right after $form_errors = array(); put in the line:

$products_name .= ' ' . $products_model;

This will add a space then the model to the name. (Which is the most basic way to get this information included in the e-mail.. personally I'd myself prefer to have it listed in the e-mail separately, but that's just the way I do things and this "quick fix" is what you were looking for I think!).

Hope that helps!

All the best...

Conor
ceon

4 May 2010, 10:45 PM
#376
ashely avatar

ashely

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Back In Stock Notifications

Thank you for the answer, Conor. Much appreciated!

Great! Now it works perfect! Product model clearly shows up. I just love this module even more. :-D

Thanks again,
Ashely

8 May 2010, 9:40 AM
#377
jojo_cool avatar

jojo_cool

New Zenner

Join Date:
Jun 2009
Location:
malaysia
Posts:
41
Plugin Contributions:
0

Re: Back In Stock Notifications

Hi,

I uploaded all the files and the sql to the server. When I select "Back In Stock Notification" in the admin, it show "Not Found". I double checked the file location. It's correct.

Any idea why? :frusty:

11 May 2010, 8:00 PM
#378
vatertime avatar

vatertime

New Zenner

Join Date:
Dec 2009
Posts:
18
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

No, sorry, that functionality is not available.

You'd have to have it custom coded, there's no way to do what you are asking in Zen Cart.

All the best...

Conor
ceon

I got 'er working with a little php goodness. BTW, there is a missing </div> tag at the very end of tpl_account_back_in_stock_notifications_default.php

Makes everything look crappy on your logged in account page.

Otherwise, a really slick little mod. I really like its verboseness. If anyone is looking to test it out you can on my site if you want: nelsontactical.com

12 May 2010, 8:40 AM
#379
piker avatar

piker

Zen Follower

Join Date:
Nov 2009
Posts:
109
Plugin Contributions:
0

Re: Back In Stock Notifications

Hello again Conor,
I've installed this mod on a Local 1.3.9b website and it seems to be working well. Can you confirm if it should be ok on 1.3.9b?Cheers.

13 May 2010, 7:27 PM
#380
jordane avatar

jordane

New Zenner

Join Date:
Apr 2010
Posts:
1
Plugin Contributions:
0

Re: Back In Stock Notifications

Hey Conor, kind of same question here. But first of all, GREAT add-on !

I'm running on 1.39b, an upgraded from 2.2.4 to 2.4.0. Merged the files properly and it works fine... until I change the functions_general file.

Then my site goes blank, I don't even access the home page... Any idea what it could be ? Is there any SQL to be done ?

Thanks a lot for your help,
Please if anyone else on this thread has an idea, that would be very nice to help,
Cheers to all,
Jordane