Zen Cart's normal behavior, unless the customer checks the box, is to leave them unsubscribed.
What addons/contributions have you installed to your site?
What kinds of customizations have you made?
Zen Cart's normal behavior, unless the customer checks the box, is to leave them unsubscribed.
What addons/contributions have you installed to your site?
What kinds of customizations have you made?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I have these mods on my site:
user tracking
quick updates
email address exporter
sales report
cross sell
Other than the mods, there is not much customization, only a background image. If you go to my create account page, you will see that there is no option to subscribe to the newsletter.
Should I also remove these two lines from my create account form:?
Newsletter and Email Details
☐ HTML ☐ TEXT-Only
Sadie
www.vintageknits.net/store
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I made these changes to get the referral box:
1. includes/languages/template_custom/english.php
(a) change this: define('ENTRY_CUSTOMERS_REFERRAL', 'Referral Code:');
to: define('ENTRY_CUSTOMERS_REFERRAL', 'Referred From:');
(b) change this: define('TABLE_HEADING_REFERRAL_DETAILS', 'Were You Referred to Us?');
to: define('TABLE_HEADING_REFERRAL_DETAILS', 'How did you hear about us?');
2. admin/includes/languages/english/customers.php
change this: define('CUSTOMERS_REFERRAL', 'Customer Referral<br />1st Discount Coupon');
to: define('CUSTOMERS_REFERRAL', 'Referred From:');
Sadie
If you're using v1.3.8a, did you use the How Did You Hear About Us contribution designed for 1.3.8a? or an older version?
http://www.zen-cart.com/index.php?ma...roducts_id=186
If you used an older version, it may not have the newer updates to the create_account module file.
One of those is on line 28 of /includes/modules/create_account.php:You could try changing that to this:Code:$newsletter = (ACCOUNT_NEWSLETTER_STATUS == '1' ? false : true);I don't know specifically what's wrong with your setup, but it's obviously not working as you expect.Code:$newsletter = (ACCOUNT_NEWSLETTER_STATUS <= '1' ? false : true);
But then again ... if you're not using Zen Cart to handle your newsletters, why does it matter whether it's tallying newsletter counts or not? If you're not using the data, and you're not giving the customer an option, perhaps it's a moot point?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I did not use a how did you hear about us contribution, I just made the changes noted above to a few files.
Why it mattered, is that I rebuilt my store over several months. Had I known this version would have done this, I would have imported my 1.2.6 newsletter subscribers’ emails to php.list before upgrading my store to 1.3.8a. Now, the databases are merged, and I have no idea who signed up for the newsletter (either through my 1.2.6 version, or directly through my php.list link) and who zen-cart signed up automatically.
In any event, I will just use my old database in php.list. It does not have all customers who may have wanted the newsletter, but I have other things to do. Thanks anyway.
Sadie