| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
if a product is outstock, notify when in stock - preorder | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#81
|
|||||||
|
|||||||
![]() I just tried using this mod in the 4.0.13 version and am having an error 401 access denied pop up when entering an email address no matter if logged in as a member or not logged in as a guest.
Anyone else use this in 4.0.13 yet, and if so, what was different. I have tried a few things here, but nothing makes a difference. shishapipe. any ideas?
__________________
vs 4.1.12 |
|||||||
#82
|
|||||||
|
|||||||
![]() can any one post a complete error correct mod again, as there are too many modifications made due to error in original and it's kind of confusing following it through pages.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#83
|
|||||||
|
|||||||
![]() Well, I am not totally sure here, but I think this is an issue with the guest logged part that was added for non members to be able to use this mod.
When I am a guest and try to enter email, I get the 401 error "Not Authorized." When I am a member and I see the button to take me ot the page to enter by email, I immediately go to the "Not Authorized" 401 error. I have played with a couple of lines of code to try to eliminate the guest part to see if remaining will work right and nothing good happens. I also note that no info is passed into the database as well. So, what ever is locking up is either the posting of data, or the ability to get passed the authentication TO post the data. I think I have everyhting installed right here per the instructions and updated info, but it is possible that something has changed in the xcart code to cause issues. Anyone else have anything to add to this? Anyone with 4.0.13 try this yet? I think this is an awesome mod and would be a great addition to the store, but I am having fits at the moment.
__________________
vs 4.1.12 |
|||||||
#84
|
|||||||
|
|||||||
![]() For those of you having trouble with the installation using 4.0.13.
I missed this SQL command below when I first tried installing this mod and was getting the same error as the posters above. It seems to work now. Code:
__________________
Jeanne 4.1.8 Gold |
|||||||
#85
|
|||||||
|
|||||||
![]() Quote:
Bless you! I am not sure how I missed this, but it WAS the problem. At least for submitting the inquiry. All I need to do is test out nof for product restock and emails to be sent out to end user. Thanks jeanne, sometimes it is the smallest things that get overlooked.
__________________
vs 4.1.12 |
|||||||
#86
|
|||||||
|
|||||||
![]() I modifed this a bit to work with variants and to get the product name in the email that is sent out. I am not much into coding more like messing around until something works, so use at your own risk.
First follow the directions left by sishapipe to install this mod for products without variants. Make sure that it works first before you continue and of course back up all files. Then I added the field 'productcode' to the xcart_notify table. varchar(32) Don't add the ' s to the field. In config.php add Code:
Code:
I modified the email files and the files that generate the automatic emails to get the product name sent to the customer. include/process_product.php in the code submitted by sishapipe on page 4 of this thread (thanks BTW) replace Code:
Code:
Replace skin1/mail/stock_notify_subj.tpl with Code:
in skin1/mail/html/stock_notify.tpl I added Code:
To modify for variants I changed modules/Product_Options/product_variants.php right after Code:
Code:
in skin1/modules/Product_Options/product_variants.tpl right after Code:
Code:
in skin1/customer/main/product.tpl I added Code:
Code:
in skin1/modules/Product_Options/customer_options.tpl change Code:
Code:
Code:
Code:
Code:
Code:
For your products with variants the link to the notify me page will only show up when you are out of stock on the variant. I modified the link on the products without variants as well so that it won't show {if $product.avail le 1}...{/if} I am not using the 'Buy Now' feature so I am not sure how that would be afftected.
__________________
Jeanne 4.1.8 Gold |
|||||||
#87
|
|||||||||
|
|||||||||
![]() thanks jeanne
![]() also- can anyone tell me if this mod sends an email to the administrator with info on which out-of-stock product the customer was trying to buy?
__________________
X-Cart 4.0.12 PHP 4.3.11 MySQL 4.0.23 Linux/Apache Net::SSLeay 1.25 libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4 www.ewdhosting.com |
|||||||||
#88
|
|||||||||
|
|||||||||
![]() Quote:
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#89
|
|||||||
|
|||||||
![]() I am using 4.0.15 & am not sure if any one else with .15 has uploaded this feature to their website.
If there's anyone pls can you enlighten me on what to do. Thanks in advance.
__________________
X-cart 4.1.6 Gold Neon lights X-AOM |
|||||||
#90
|
|||||||
|
|||||||
![]() I have added this mod to a 4.0.19 version, however, do not see the mod operational as I have seen it in earlier versions of the 4.0 branch.
Has anyone incorporated this into the 4.0.19 branch? If so, were the calls different? I know there were multiple changes in code in earlier 4.0 versions, however, not sure what the changes may have been between the earlier or the latest. ShishaPipe, Have you upgrades your store? You had the most invested into this mod, so I am sure you have not forgotten it, have you found or implemented changes?
__________________
-vs- 4.0.19 |
|||||||
|
|||
X-Cart forums © 2001-2020
|