![]() |
i have look at the site but cant find the module for this to buy please give me the link
maxking |
Quote:
I cant find this Stock Notify mod there, i have the old 3.4 Mod i think and i am trying to convert it to X-Cart 4.09., a friend of mine gave me this MOD to play with. Anyway i would prefer to buy this Mod for X-cart 4.09 as this is taking a lot of my time in trying to sort it out. I have managed to get somewhere with this modification, but problem now on the email side. I have changed the directory position of some of the files, for example notify.php is not in shopcart/customer/notify.php as per instructions its is now in shopcart/notify.php Also the shopcart/skin1/main/product_modify.tpl as per instructions for X-Cart 3.4 was not changed but i inserted the code into shopcart/skin1/main/product_details.tpl for X-Cart 4.09 as i beleive this is the right place for it. (Open to suggestions :) ) Code:
<? Any help will be appriciated or a place where i can buy the complete version for X-cart 4.09 as this is a very good mod for x-cart. |
Hi there
Good work so far. I also have the old code which I am working on altering to 4.0.x as yet I havent got far, too much time spent on other things, but this is a vital mod for businesses with a number of competitors who need to grab customers as soon as new products arrive in stock. I am going to look over this code now, as soon as I get somewhere with it I will let you know, and we can compare it to get this working. Keep in mind when posting code, this code is someone elses intellectual property, so FD might not be too happy with it being posted about. But I guess he will have to answer that one. |
Quote:
Yes i agree with you and really need FD's permision for this. As you know all the information for this product has not posted as there are more files. I have changed the shopcart/notify.php from the standard one that FD did, and have changed the begining to the same as shopcart/product.php which came with x-cart 4.09. |
modify away..... :)
i am still eternally suprised that xcart have not adopted this as a core feature of xcart. 8O |
Quote:
This is the shopcart/notify.php file for X-Cart 4.09 Code:
<?php If you go to http://www.shisha.co.uk/shopcart/notify.php?productid=16246&guest=true You will now see it works for guests and members, but not checked email side yet. You need to add the below to the SQL database. |
I have added to the SQL database the below code and it seems to work ok, just need to sort out the emails. The above code works ok with a login user or a guest user now after adding the following SQL files.
I added these manualy in the Language section for text, email and Lables. You just need to do one language and it replicates for the other 3 languages. (SE, FR and DE) Code:
INSERT INTO xcart_languages VALUES ('DE', 'Notify Me', 'txt_addme_notify', 'Please enter your email in the box provided and we will notify you when stock arrives in.', 'Text'); Also added to SQL the following: INSERT INTO xcart_modules VALUES (2,'stock_notify','Allows registered users to ask to be notified when a product is back in stock','Y'); Code:
CREATE TABLE xcart_notify ( |
Hehe I see you have been buzzing on this. :D
I havent even looked at it in detail yet. I get the feeling you will be done before I get started. I am copying all these notes for when I look into it, if you have it working already by then I will at least look to see if we can add to it in anyway. |
Quote:
|
The new template files you need are:
skin1/modules/stock_notify/addedtolist.tpl Code:
{* addedtolist.tpl funkydunk.net 2003 *} skin1/modules/stock_notify/stocknotify.tpl Code:
{* stocknotify.tpl funkydunk.net 2003 - changed by Maxking *} skin1/modules/stock_notify/notifyme.tpl Code:
{* notifyme.tpl funkydunk.net 2003 *} skin1/buttons/notifyme.tpl Code:
<font class=FormButton>{$lng.lbl_stock_notify_button} [img]{$ImagesDir}/notifyme.gif[/img]</font> skin1/mail/stock_notify.tpl Code:
{* $Id: signin_admin_notification.tpl,v 1.4.2.1 2003/02/11 09:03:02 svowl Exp $ *} skin1/mail/html/stock_notify.tpl Code:
{* $Id: Stock Notify (html) - Maxking Exp $ *} skin1/mail/stock_notify_subj.tpl Code:
{config_load file="$skin_config"}{ $config.Company.company_name }: Product back in stock !! |
All times are GMT -8. The time now is 03:19 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.