Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 11/21/2023 :  02:56:07  
I have already set following parameter in includes.php

$extracheckoutfield1="Declared Value for Customs";
$extracheckoutfield1required=TRUE;
$extracheckoutfield1html="<input type=\"radio\" name=\"ordcheckoutextra1\" value=\"Lower value\">Lower value<input type=\"radio\" name=\"ordcheckoutextra1\" value=\"Full value\">Full value";

[img]https://3dlens.com/extracheckout.png[/img]

However, I found some order email content without "Declared Value for Customs" option.
So I make a test, yes, customers can escape this step and go to checkout step 3.

This maybe has happened after updating to V7.63

Jim

Phil
ECT Moderator

United Kingdom
7680 Posts

Posted - 11/21/2023 :  05:08:39  
Hi Jim,

I think that should be as below and remove name=\"ordcheckoutextra1\"

$extracheckoutfield1="Declared Value for Customs";
$extracheckoutfield1required=TRUE;
$extracheckoutfield1html="<input type=\"radio\" name=\"ectfield\" value=\"Lower value\">Lower value<input type=\"radio\" value=\"Full value\">Full value";



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 11/21/2023 :  05:45:34  
Hi Phil

Thanks for your reply.
I have changed it, but I still can skip the forced selection and go to checkout step 3.

I used my setting for many years without any problem until updating last month, so it may concern other factors.

Jim

Phil
ECT Moderator

United Kingdom
7680 Posts

Posted - 11/21/2023 :  07:33:31  
Hi Jim,
I've just tested that on my own site version 7.6.3 and it was fine.

I added yours first and I could progress without the alert, and when I changed it to what I suggested in my previous post the pop up alert came up

see screenshot - https://paste.pics/b6b6e0441af354204323e8243acfde7f

You did remove both instances of name=\"ordcheckoutextra1\" I presume?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 11/21/2023 07:36:24

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 11/21/2023 :  16:18:47  
Hi Phil
I have uploaded following.

$extracheckoutfield1html="<input type=\"radio\" name=\"ectfield\" value=\"Lower value\">Lower value<input type=\"radio\" name=\"ectfield\" value=\"Full value\">Full value";

But still no forced selection alert appears.


Jim

Vince
Administrator

42766 Posts

Posted - 11/22/2023 :  03:48:57  
Hi Jim
Many thanks to all for trying to help here but I think there really is a glitch in the system, so my apologies for that. I've fixed it now and added the fix to the updater. You need a new inccart.php script but also the js/ectcart.js script is changed.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 11/22/2023 :  04:36:07  
Hi Vince

I have uploaded new js/ectcart.js and inc/inccart.php of v7.63, but don't work.

Jim

Vince
Administrator

42766 Posts

Posted - 11/22/2023 :  07:37:41  
Hi Jim
Please try a <Ctrl>+F5 in the browser to load the new JS file but if that doesn't work, can you let me know the URL so I can try?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 11/23/2023 :  01:13:21  
Hi Vince

Do this <Ctrl>+F5, but the result is the same.
My URL is https://3dlens.com

Jim

Vince
Administrator

42766 Posts

Posted - 11/23/2023 :  03:01:41  
Hi Jim
I'm really sorry about the continuing problems but I see what is happening and it's actually because of the combination of these two parameters in the includes.php file...

$nomailinglist=TRUE;
$mailinglistradios=TRUE;

I've added another fix for this to the inccart.php file which should sort this out. But at the same time I think just commenting out the "$mailinglistradios" option there should stop the error (and you still won't get the mailing list anyway.)

If by any chance you still have problems please send your FTP login to my email (vince AT ecommercetemplates DOT com) and I'll come and fix it.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 11/23/2023 :  03:47:14  
Hi Vince

Email sent!

Jim

Vince
Administrator

42766 Posts

Posted - 11/23/2023 :  12:17:41  
And all sorted and all changes in the updater in case anyone else has this problem.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000