Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

if a product is outstock, notify when in stock - preorder

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #71  
Old 01-30-2005, 11:10 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Quote:
Originally Posted by CC
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...

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.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #72  
Old 02-01-2005, 11:26 AM
  shishapipe's Avatar 
shishapipe shishapipe is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London
Posts: 47
 

Default

Quote:
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 ?

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.
__________________
Regards Maxking

SERVER: Microsoft-IIS/5.0
MYSQL Server: 4.0.18-NT
PERL: 5.006001
PHP: 4.3.6
X-CART pro: 4.3
X-AOM: 4..3
X-RMA: 4..3X-FancyCategories 4.3
Skin: Own Design
Marketing Manager Professional 3.0 Bundle
Reply With Quote
  #73  
Old 02-01-2005, 11:33 AM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

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.
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #74  
Old 02-02-2005, 09:37 AM
  shishapipe's Avatar 
shishapipe shishapipe is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London
Posts: 47
 

Default

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 *} {capture name=dialog} {if ($login ne "") or ($guestlogged ne "")} {include file="modules/stock_notify/addedtolist.tpl"} {else} {include file="check_email_script.tpl"} {include file="check_required_fields_js.tpl"} {$lng.txt_addme_notify} <SCRIPT type="text/javascript" language="JavaScript 1.2"> var requiredFields = new Array(); requiredFields[0] = new Array('guestemail', "{$lng.lbl_send_your_email|strip_tags|replace:'"':'\"'}", false); </SCRIPT> <TABLE border="0"> <FORM action="notify.php" method="post" name="notify"> <INPUT type="hidden" name="mode" value="notify"> <INPUT type="hidden" name="productid" value="{$productid}"> <TR> <TD class="FormButton">{$lng.lbl_send_your_email}:</TD> <TD><FONT class="Star">*</FONT></TD> <TD><INPUT value"Enter Your Email" id="guestemail" type="text" size="45" name="guestemail" onchange="javascript: checkEmailAddress(this);"></TD> </TR> </FORM> </TABLE> {include file="buttons/submit.tpl" style="button" button_title=$lng.lbl_stock_notify_button href="javascript: if(checkRequired('')) document.notify.submit();"} {/if} {/capture} {include file="dialog.tpl" title=$lng.lbl_stock_notify content=$smarty.capture.dialog extra="width=100%"}
__________________
Regards Maxking

SERVER: Microsoft-IIS/5.0
MYSQL Server: 4.0.18-NT
PERL: 5.006001
PHP: 4.3.6
X-CART pro: 4.3
X-AOM: 4..3
X-RMA: 4..3X-FancyCategories 4.3
Skin: Own Design
Marketing Manager Professional 3.0 Bundle
Reply With Quote
  #75  
Old 03-03-2005, 04:48 PM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default

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
__________________
Version 4.1.9
Reply With Quote
  #76  
Old 05-04-2005, 05:22 AM
 
clubsrefinished clubsrefinished is offline
 

Member
  
Join Date: Dec 2004
Location: West Midlands, UK
Posts: 15
 

Default

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(12 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(12 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
__________________
Mike
--------------
Version: 4.0.11 Live, RMA, AOM & X-Affiliate
PHP 4.3.4
MySQL server 3.23.58
MySQL client 3.23.58
Web server Apache/1.3.29 (Unix)

Site: http://www.clubsrefinished.co.uk
Reply With Quote
  #77  
Old 05-04-2005, 01:35 PM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Hello,

Is this MOD still Available?

Has it been standardized in xcart?

Regards,
The C
__________________
Version 4.0.13
Reply With Quote
  #78  
Old 05-04-2005, 04:34 PM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

Yes, it is available via this thread, read back.
No it is not part of XC.
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #79  
Old 05-05-2005, 12:02 AM
 
clubsrefinished clubsrefinished is offline
 

Member
  
Join Date: Dec 2004
Location: West Midlands, UK
Posts: 15
 

Default

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 ( email char(128) NOT NULL , productid int(11) NOT NULL , KEY email_proudct (email, productid), ) TYPE=MyISAM;

should read

Code:
CREATE TABLE xcart_notify ( email char(128) NOT NULL , productid int(11) NOT NULL , KEY email_proudct (email, productid) ) TYPE=MyISAM;

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.
__________________
Mike
--------------
Version: 4.0.11 Live, RMA, AOM & X-Affiliate
PHP 4.3.4
MySQL server 3.23.58
MySQL client 3.23.58
Web server Apache/1.3.29 (Unix)

Site: http://www.clubsrefinished.co.uk
Reply With Quote
  #80  
Old 05-05-2005, 03:52 AM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

You should also note the word "product" is not spelt correctly in this line:

Code:
KEY email_proudct (email, productid)
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:03 AM.

   

 
X-Cart forums © 2001-2020