| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Using Javascript to confirm email address? | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
It's friggin' scary how smart you guys are! Especially you BOOMER (where were you born? Earth?)
And thanks Loon for thinking of guys like me |
|||||||
#12
|
|||||||
|
|||||||
Thanks, but if you think I'm so smart (2nd smartest, of course, and I accept that Very Gracefully), why can't I apply the upgrade from 3.5.4 to 3.5.6 without losing all the images? It's about to drive me around the bend!
I've probably been doing this sort of stuff since before you were born, unfortunately, so if it weren't for the Smarty templates, it would all be a breeze. Hard to teach an old dog new tricks. Glad, though, that someone appreciates the easy directions. J. a.k.a. Loon P.S. since my previous post here, I've installed in production, created a profile, modified it, bought a gift cert and deleted the profile and everything works flawlessly [she said].
__________________
Linux / Apache 1.3.31 PHP 4.3.3 MySQL 4.0.18 X-Cart 3.5.4 in production Mar 08, 2004 X-Cart 3.5.4 Win2k SP4 for development |
|||||||
#13
|
|||||||
|
|||||||
UPDATE: Something in the check_email_script.tpl is causing the gift cert part not to funtion at all in 3.5.7. ie: when you click submit... nothing.
Or should I say that the GC part in 3.5.7 is somehow relying on check_email_script.tpl when it should be relying on check_gcemail_script.tpl ??? I better try this again. 2nd UPDATE: Nope, it's not me, BOOMERS side is working but the GC side isn't working in 3.5.7 |
|||||||
#14
|
|||||||
|
|||||||
If it would help, I can send you my two files that I altered for the gift cert stuff and you can do a file compare .... since I'm still on 3.5.4, something else may be in play here.... let me know. J.
__________________
Linux / Apache 1.3.31 PHP 4.3.3 MySQL 4.0.18 X-Cart 3.5.4 in production Mar 08, 2004 X-Cart 3.5.4 Win2k SP4 for development |
|||||||
#15
|
|||||||
|
|||||||
Ok... found it! In v3.5.7 you also need to change line 46 in giftcert.tpl from:
Code:
To: Code:
Works awesome you guys! Great Mod! should be standard in the cart. |
|||||||
#16
|
|||||||
|
|||||||
Hey, good catch. We allow people to order gift certs to be mailed to them (US Postal mail) so I think that's why I never hit the piece of code you fixed.
This needs to be fixed in version 3.5.4 also. Together, we can do it! J.
__________________
Linux / Apache 1.3.31 PHP 4.3.3 MySQL 4.0.18 X-Cart 3.5.4 in production Mar 08, 2004 X-Cart 3.5.4 Win2k SP4 for development |
|||||||
#17
|
|||||||
|
|||||||
Small revision (cleans it up a bit)
in skin1/modules/Gift_Certificates/giftcert.tpl "around line 203, ADD the second email field to the gift certificate purchase form, with a few changes from the one in the registration form:" Changed to: Code:
|
|||||||
#18
|
|||||||||
|
|||||||||
Updated check_email_script.tpl this should prevent any problems with Gift Certificates as well as Affiliate registrations also:
Code:
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#19
|
|||||||
|
|||||||
This is invaluable, thanks all. I'm working with 4.016, so I couldn't directly copy the code above. My check_email_script now looks like the following (bold was added to original):
Code:
I followed the second step exactly as above, inserting the following just under the email input in the register_contact_info.tpl file: Code:
Thanks for the great code and tips folks, I really appreciate it.
__________________
X-Cart Gold 4.0.16, 4.0.17 X-AOM 4.0.16, 4.0.17 X-Affiliate 4.0.16, 4.0.17 |
|||||||
#20
|
|||||||
|
|||||||
Sorry, I just noticed that bold doesn't show up in code. You will need to extract the bbcode bold tags from the first script if you use it.
Also, I have only used this for standard customer registration. It works there, but I have not tested with Gift Certificates or Affiliates, so please be aware of this. sanj
__________________
X-Cart Gold 4.0.16, 4.0.17 X-AOM 4.0.16, 4.0.17 X-Affiliate 4.0.16, 4.0.17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|