![]() |
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 !! |
Quote:
The thing is, i would pay for this, its cost me in time more money to try and work it out and i am not good with PHP, HTML yes, but PHP not my subject and i need this addon so bad. |
Now there are 3 amended template files, these are:
skin1/customer/main/product.tpl - Just ADD between the {* funkydunk notify mod *} and {* end of funkydunk notify mod *} The rest of the code is to show you where i have placed it the skin1/customer/main/product.tpl Code:
<TR><TD height="25" width="30%">{$lng.lbl_quantity}{if $product.min_amount gt 1} skin1/customer/home_main.tpl - Again just add the code between {* funkydunk notify mod *} and {* end of funkydunk mod *} in the skin1/customer/home_main.tpl Code:
{* funkydunk notify mod *} skin1/main/product_details.tpl - Again just add the code between {* start funkydunk notify mod and the {* end of funkydunk notify mod Code:
<TD class="FormButton" nowrap>{$lng.lbl_quantity_in_stock}</TD> |
Now you need to amend 2 php files, these are:
include/product_modify.php - Only add the files between // funkydunk added code for notify when back in stock and // end of code added by funkydunk for notify when back in stock. Code:
# Update the default price include/process_product.php - Only add between // funkydunk added code for notify when back in stock (shopcart/includes/process_product.php) and // end of code added by funkydunk for notify when back in stock (shopcart/includes/process_product.php) Code:
# Include 'avail' field into the updating list |
Here is the full list that you should have:
// Notify when back in stock mod // copyright funkydunk.net 2003 // designed to allow customers to sign up to recieve an automatic email notifying them of when the product is back in stock new template files: shopcart/skin1/modules/stock_notify/addedtolist.tpl shopcart/skin1/modules/stock_notify/stocknotify.tpl shopcart/skin1/modules/stock_notify/notifyme.tpl shopcart/skin1/buttons/notifyme.tpl shopcart/skin1/mail/stock_notify.tpl shopcart/skin1/mail/stock_notify_subj.tpl shopcart/new php files: shopcart/notify.php amended template files: shopcart/skin1/customer/main/product.tpl shopcart/skin1/customer/home_main.tpl shopcart/skin1/main/product_details.tpl amended php files: shopcart/include/product_modify.php shopcart/include/process_product.php You must add the extra items to the SQL that i posted. MAKE SURE YOU DO A SQL BACKUP FIRST. And also backup your PHP and template files so if it does not work you can revert back to your original settings. |
I have checked my SQL and i get in the database:
Code:
CREATE TABLE xcart_notify ( So that seems to be working OK with people who have logged in, but NOT guests :( |
This mod never did work but with signed in customers, I know because I was the one who originally paid the 'dunk to do it.
|
DELETED AS IT WAS WRONG.
DONT USE THIS ONE, USE THE ONE IN THE FOLLOWING THREADS |
Also placed this code into shopcart/skin1/customer/main/buy_now.tpl
So it shows in normal mode without going to the details section. Just add the code between {* funkydunk notify mod *} and {* end of funkydunk notify mod *} Code:
<TD width="20%" nowrap> |
Here is the NEW X-Cart 4.09 shopcart/skin1/modules/stock_notify/stocknotify.tpl file
This sends a responce (addtolist.tpl - {$lng.txt_added_stock_notify}) to a guest once the email address has been entered correctly and also a responce (addtolist.tpl - {$lng.txt_added_stock_notify}) to a login user. stocknotify.tpl Code:
{* stocknotify.tpl funkydunk.net 2003 - changed by Maxking *} |
Well, a guest now can request stock when it arrives back, this is the dump of my SQL after testing the notify.php script thats posted above.
Code:
INSERT INTO xcart_notify VALUES ('TEST@shishapipe.net', 16246); So its just the email that needs to be sorted now, will look at this later. But for X-Cart 4.09 if you follow the above posts Notify will work for a guest and a reg user :) |
ITS FINISHED AND WORKING ON X-CART 4.09 :)
I have amended the above posts to the correct codes and scripts. It allows guests and logins to request a stock notify when back in stock. It does not duplicate stock notify items with emails It deletes the emails once stock is back in after sending email to users. All you need to do is edit the txt and html mail scripts for your own prefrence. If anyone can make the code better then please post it here. Dont forget you need to change the xcart_notify code for sql to this: Code:
CREATE TABLE xcart_notify ( If you dont know how to do this, just go to your admin area, go to patches and in the bottom sql box type in: Code:
DROP TABLE if exists xcart_notify; This will remove the table for xcart_notify, then you have to install the table again using this code in your sql box: Code:
CREATE TABLE xcart_notify ( I have one small problem and thats when you have clicked on stock notify and either entered the email or you are already log on, the following screen that accepts the command is ok, but the right hand cat coloum does not display right, it moves to the top right of the page, any ideas anyone ? |
Hi,
I was wanting a quote to create a mod. Please email or PM. When items are out of stock, I would like to have a link "Email when item is back in stock" This would appear automatically when I sell out of an item. Customer enters email address and clicks send (maybe a popup js window?). I would also like a CC of the email to be sent to me as reference with product details and customers email address. When I get the 'new' product in and enter inventory, an email would automatically be sent to my customer tell them the item is back on stock. The email to the customer would have the image of the product, it's back in stock and option to buy now ...etc. Maybe an additional item (an after thought) If they don't buy after 10 days, then a second email would be sent out as a one special price less 10% to entice the buyer. I have screen shots of what I was wanting, so please email if interested. Thank you |
Quote:
Actually, you will get a better responce if you post this type of request in the professional services request area (which you have I see). I noticed Balinor sent you to this link, but if it is custom other that what is showing unless it is minor changes you are trying to implement the other area will yield better responce. This area is for custom mods and templates that have been either donated by people that have created them and wish to share with others, or people that have made changes or modifications to existing mods that were already created. Most people here in this specific topic will only respond on this specific mod. Also, it is nice to know not only what version of xcart, but server info or purchased mods and add ons from scart you are running, so people will even know if they CAN help you or not. Good Luck :wink: |
Can Any One tell me if this will work in 3.4.0 version.
Thanks. |
Quote:
|
For those that are missing the stock modify mod once available from funkydunk, http://www.firetanksoftware.com will be re-releasing it upgraded for all versions of x-cart over the next few weeks.
|
Sorry to ask, but are you going to be charging for that based on the code left here by shishapipe?
Or is it going to be a modified version? Also, sorry to go off topic, but have you looked into offering the ability to INCLUDE tax in the froogle feed in MMPro? We cant use yours right now, as UK Froogle you can only display the inclusive price of a product, or they reject the feed. Your mod only provides ex tax pricing. Along side this, you need to add the ability ot provide the feed name as well as the login details. MMPro names the feed the same as our login, but our feed name is not the same as our login, so we cant upload our feed from your mod either. We need the ability to rename the feed to something other than our login name. |
Quote:
It's not related to do with the modification posted here, this is the original "stock notification mod" developed and originally sold by funkydunk through funkydunk.net. Due to funkydunk leaving the x-cart scene he closed his store several months ago so the modificaiton hasn't been available for months. We're taking over the funkydunk catalog of x-cart mods under agreement with duncan graham. With regards to MM's froogle export, Renaming issue: The froogle export has two modes, it lets you FTP directly but also lets you save a file to your machine. The file you can save you can rename to get around the login name issue. With regards to the Tax, this is determined by how your site is set up, at present if you use "prices include vat" then it works. However if your base products don't have that and your letting the cart add on it instead of work it out then it won't. We've got UK froogle users actively using the feed methods successfully. Both the login and tax features will be included in a future release. |
I know about the downloading of the feed which is what we do now, but our store displayes ex vat, and then our own mod also displays the inc VAT price, as should be done by EU stores who are VAT registered.
So we do not have display with tax included on in our store. Just the option to chose would be nice. Although the built in function is nice, the function to select is better. For the ftp, downloading and renaming is fine, but then we cant use the direct uploading feature on our store which is easier and less time consuming. Why buy a dog and bark yourself? The ability to name the feed before uploading would be better. |
Sorry, forgot to say, this updated code by shishapipe is duncan's code updated for 4.0.x...
I appreciate it was his original code, but then he did give permission to alter it and display it on the forums, I can only presume that once this thread is forgotten it will not effect your sales. I can only feel a little hesitant to this as we have a mod of yours we purchased through carrie which isnt yet working without error, let alone thinking about the release of one where the code is now freely available... |
Quote:
Please forward any error requests through our site at firetanksoftware.com. Please note there is a difference between errors and features that are not implemented yet. I'm happy to say we've got a very good track record for bug/fix ratios, alongside this the majority of customer features requests are also implemented in major releases so it's worthwhile posting your features/wants directly to us. As mentioned the froogle issues aren't bugs, the froogle export was designed to work with the US version and hasn't been altered since. It does work with the UK version but is dependant on how your store VAT is set up. Both login name and tax features will be built in the next revision. With regards to funkydunks scripts they will be modified, enhanced and supported before release via firetanksoftware, we specialise in creating x-cart solutions that have the least amount of impact on your store and upgrade procedures so wherever possible modficiations will me changed to operate differently. Customers have always had the option between using freely avialable code and using commercial modfications, it's purely down to what you feel happier using from a business perspective. The onus is on us to create something worth paying for over and above what is available freely, this comes in the form of enhancement and robustness based on our experience with all x-cart versions. |
Quote:
Can anyone help with the above problem !!!! You can see what i mean if you go to the web site www.shishapipe.net/shopcart/home.php and select a product out of stock, then click notify, then enter your email address, and once completed you will see the right hand catagory display wrong. |
rearrange the cells and tables.
If you look in the code you can see you have one too many: </td> </tr> </table> Removing it should sort the problem. |
Thanks for that CC, yes you was right :)
Here is the revised file that works great now. shopcart/skin1/modules/stock_notify/stocknotify.tpl Code:
{* stocknotify.tpl funkydunk.net 2003 - changed by Maxking *} |
I bought this Mod back when it was available for 3.5 ... The mod works great, but it only works if you go to the product page to update the quantity in stock. We mostly update our inventory by going to product modify, searching for the product, and then just updating it from that page.
Can anyone tell me what I have to do to get this mod to work by adding inventory from the product modify page? Thanks, Bradley |
shishapipe,
I have recreated your excellent instructions for all of the templates & php amendments however the final thing I had to do was to add CREATE TABLE xcart_notify ( email char(128) NOT NULL , productid int(11) NOT NULL , KEY email_proudct (email, productid), ) TYPE=MyISAM; via the patches section of the admin section. When I attempt to do this I get the following error INVALID SQL: 1064 : You have an error in your SQL syntax near ') TYPE=MyISAM' at line 5 SQL QUERY FAILURE: CREATE TABLE xcart_notify ( email char(128) NOT NULL , productid int(11) NOT NULL , KEY email_proudct (email, productid), ) TYPE=MyISAM Any idea as to what may be causing this. Hope to hear from somebody soon as I can't wait to try out this mod :wink: |
Hello,
Is this MOD still Available? Has it been standardized in xcart? Regards, The C |
Yes, it is available via this thread, read back.
No it is not part of XC. |
Hi,
I have sorted out what the problem was. The original post had an extra comma in the code that was causing the problem therefore Code:
CREATE TABLE xcart_notify ( should read Code:
CREATE TABLE xcart_notify ( I can confirm that I followed all of the instructions listed in this thread and this mod works great for me. A huge token of thanks needs to go to shisapipe for updating funkydunk's original code so well. :D |
You should also note the word "product" is not spelt correctly in this line:
Code:
KEY email_proudct (email, productid) |
All times are GMT -8. The time now is 04:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.