Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Newsletter Subscribe when creating account

Newsletter Subscribe when creating account

Locked

Views: 1,788

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
27 Sep 2010, 1:55 AM
#1
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Newsletter Subscribe when creating account

I dont like those ugly radio circles things to choose Text or HTML when create an account on my website.

How do I remove them so it just says:
"Subscribe to Newletter {checkbox goes here}"

30 Sep 2010, 11:50 PM
#2
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

Hellloooo!?
Anybody help!?

1 Oct 2010, 3:45 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Newsletter Subscribe when creating account

So, rather than bumping without any additional useful information, perhaps you can actually add more information, such as what you have tried?
ref: http://www.zen-cart.com/forum/faq.php

1 Oct 2010, 9:40 PM
#4
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

I dont know what im supposed to try!

1 Oct 2010, 9:48 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Newsletter Subscribe when creating account

Here's one way:

  • in your browser, select the View Source menu option when displaying the page in question

  • look through the HTML to find the section of code you want to not display

  • add a selector to your stylesheet for that element and set it to display:none

  • or you could hack up your template and make upgrading in the future more difficult

  • or you could just leave it and let your customers decide what style of messages they wish to receive

2 Oct 2010, 7:17 AM
#6
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

I send by html and at the top it says "View in text" if the customer needs it. Plus it adds that thought "This is definately a Zen-Cart website"

2 Oct 2010, 10:18 AM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Newsletter Subscribe when creating account

dddmx3:

it adds that thought "This is definately a Zen-Cart website"

That's a good thing, I'm thinking.

There are places in the world where not offering your customers the option of plain text emails, or defaulting to HTML, is against the law.

2 Oct 2010, 10:24 PM
#8
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

They do have the option!
When the receive the email, if they want they click "View in text format"

2 Oct 2010, 10:53 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Newsletter Subscribe when creating account

The laws I referred to require giving the customer the choice before sending an email.

Why is it so important to send every customer an HTML email ?

2 Oct 2010, 11:21 PM
#10
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

I just dont like the look of the radio buttons on my site...

3 Oct 2010, 12:47 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Newsletter Subscribe when creating account

Then style them according to your preference.

3 Oct 2010, 2:27 AM
#12
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

............Why is this such a big deal?!
I have not sold anywhere but USA... and in the USA there is no such law...

Can anyone help me or not?

3 Oct 2010, 4:34 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Newsletter Subscribe when creating account

I've already told you: style them as display:none and they'll magically go away for you!

4 Oct 2010, 2:36 AM
#14
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

I cannot find the style for them...

the div class or whatever..

4 Oct 2010, 3:13 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Newsletter Subscribe when creating account

Try this:```
input#email-format-text, input#email-format-html, label.radioButtonLabel[for=email-format-text], label.radioButtonLabel[for=email-format-html] {display:none;}


I built that by using Firebug and finding the elements I wanted to hide, and adding them to the stylesheet, as shown. You can do the same. Firebug is a free tool. Similar tools are available for other browsers.  Invaluable tool if you're going to customize webpages.
6 Oct 2010, 2:18 AM
#16
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

Thanks Dr.Byte!
But will it automatically choose HTML so I don't have to edit every user and select HTML for them?

6 Oct 2010, 2:29 AM
#17
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

Edit: Where do I put your code? In my CSS?

Edit AGAIN: Yup, It was the CSS.. Cool(:

Edit AGAIN AGAIN: I need it to automatically select HTML not Text, How would I do this?

6 Oct 2010, 2:40 AM
#18
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

Go to Configuration > Customer Details > Customer Default Email Preference

After that, and Dr. Byte's solid line of CSS. You should be good...

6 Oct 2010, 3:07 AM
#19
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Newsletter Subscribe when creating account

Awesome Thanks!