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
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Subscribe to Email News at Checkout Step 2
Author « Topic »  

ITZAP
Ecommerce Template Guru

Australia
1016 Posts

Posted - 01/06/2023 :  19:57:21  
I wonder if anybody else is encountering this regarding agreement to receive promotional emails? On a new website running Ecommerce Plus PHP v7.5.4, in the includes.php file I have these entries:

// EMAIL NEWS LIST settings
$nomailinglist=FALSE; // Email news list signup, TRUE (don't use) or FALSE (Yes, have mailing list)
// $mailinglistdropdown=TRUE;

$mailinglistradios=TRUE;
$allowemaildefaulton=TRUE; // Upon creating new account, customer automatically subscribes to email news, TRUE or FALSE.
$noconfirmationemail=TRUE; // Upon creating new account, send customer an email requiring they click to confirm email address, FALSE=Yes, TRUE=No.


When a visitor selects "Create New Account" the "Subscribe to Email News" box IS TICKED YES by default, as per $allowemaildefaulton=TRUE. That YES setting is then properly saved when the Account is Created. All good

But when that customer orders and proceeds to Checkout Step 2, we have "Subscribe to Email News" radio boxes YES and NO which are not ticked, thus requiring the customer to confirm their agreement to receive promotional emails again, and again on every occasion they proceed through the checkout. Isn't that wierd

Can I suggest that YES or NO dropdown menu or radio button options at Checkout Step 2 are not the best way to go at all. Would it not be better to have ONE Check Box ... exactly the same as what appears in the Customer Account page? Ticked = YES. Unticked = NO. And have that selection automatically displayed at Checkout Step 2?

Gary

ITZAP
Ecommerce Template Guru

Australia
1016 Posts

Posted - 01/10/2023 :  16:49:35  
Aaahhh, please ignore. This solved it ...

// $mailinglistradios=TRUE;

Omit that entry from the includes.php config file and then, at Checkout Step 2, we get ONE "Subscribe to Email News" Check Box ... set to the same choice as what appears in the Customer Account page. All good

Gary
  « 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