Forums / Features Wish List / Should we delete image-buttons in the next version?

Should we delete image-buttons in the next version?

Sticky

Views: 413

Results 1 to 20 of 24
8 May 2020, 2:15 PM
#1
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Should we delete image-buttons in the next version?

I'm considering deleting "image-buttons" in the next version of Zen Cart, and relying on "CSS Buttons" only.

If you're using an older template/cart, perhaps you still have "CSS Buttons" disabled? (Admin->Layout Settings->CSS Buttons)

Looking for feedback:

  1. Do you still use "image buttons"? If yes, why?
  2. Does switching on "CSS buttons" now/today create a problem for your site? If yes, which template are you using?
  3. If an upgrade of Zen Cart automatically switched CSS Buttons "on", would that cause a problem for you? How so?

Your detailed answers to these questions will help inform our decision-making for the next version.

.
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.

8 May 2020, 5:38 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Should we delete image-buttons in the next version?

For those who may not be aware of the difference between these two kinds of buttons:

  • the old buttons are .gif files which are stored in includes/templates/template_default/buttons/english.
  • the new "buttons" are just CSS wrapping the strings that are used for the button labels.

In the attached image, you can see the new CSS button (yay!) on the left, and the old, ugly crufty .gif button (boo!) on the right.

Vote early and often!

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

9 May 2020, 12:16 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,862
Plugin Contributions:
18

Re: Should we delete image-buttons in the next version?

The preceding, unbiased opinion was brought to you by......:P

We have a few customers clinging to the old buttons. Mostly because they go with the theme.

I still vote yes. Do I need to have deceased relatives vote as well?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

9 May 2020, 12:34 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Should we delete image-buttons in the next version?

dbltoe:

Do I need to have deceased relatives vote as well?

Chicagoland rules.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

10 May 2020, 1:51 AM
#5
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Should we delete image-buttons in the next version?

yesyesyesyesyesyesyesyes


Zen Cart and it's community are the best!!

10 May 2020, 11:28 AM
#6
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

Re: Should we delete image-buttons in the next version?

I would love to see css buttons only.

11 May 2020, 11:06 AM
#7
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,807
Plugin Contributions:
22

Re: Should we delete image-buttons in the next version?

I vote for GIF buttons. It's incredibly hard to use CSS to have a flashing red arrow to the left of "add to cart" and a set of different-color flashing lights around the same button. And let's not forget about the animated dancing monkey inside my "start checkout" button... Also, if we have to switch to CSS, we won't get the pixelated Super-Mario-style buttons when you zoom in your browser to let's say 300% and I consider that a great loss... Although, I guess I could still use Comic Sans with CSS buttons so maybe, just maybe, there's still some hope...

Now for real - you should've asked this question sometime around ZC 1.5.1 and make it css only for 1.5.3 and higher. :wink:
So, yes, definitely css buttons only.

My site - Pro ZC Help
My portfolio | My plugins

11 May 2020, 11:40 AM
#8
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Should we delete image-buttons in the next version?

I quickly changed to css buttons from images. Less to download infinitely flexible. so I vote yes too.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

11 May 2020, 12:31 PM
#9
elslozzo avatar

elslozzo

New Zenner

Join Date:
Feb 2008
Location:
Edmonton, AB
Posts:
60
Plugin Contributions:
1

Re: Should we delete image-buttons in the next version?

Another yes.

11 May 2020, 10:44 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Should we delete image-buttons in the next version?

royaldave:

I would love to see css buttons only.

balihr:

you should've asked this question sometime around ZC 1.5.1 and make it css only for 1.5.3 and higher. :wink:
So, yes, definitely css buttons only.

Actually, it IS the default since v1.5.5 in 2016.

I'm advocating for removing the old code that supports images and all the corresponding old .gifs.

.
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.

11 May 2020, 10:49 PM
#11
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Should we delete image-buttons in the next version?

Clarification: it is already the default for new installs. Upgrades of older installs retain the initial value 'No' for USE_CSS_BUTTONS.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

13 May 2020, 5:48 PM
#12
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Should we delete image-buttons in the next version?

I am using Japanese and English on my cart,
https://www.proteawines.jp/shop/
and was a bit flummoxed about the button images use.
It turns out Japanese wording for some of the buttons becomes rather long (using katakana characters for example) and goes over the limit kept for CSS buttons. So the switch over to images is kind of necessary in that case for length reasons.
I am not sure if that makes image buttons irreplaceable, but the issue of length seems tricky to handle across multiple languages.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

10 Aug 2020, 2:42 PM
#13
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Should we delete image-buttons in the next version?

  1. Answer:
    No, image buttons became to difficult to style and had problems when switching to mobile devices as sizing and visual problems.
  2. Answer:
    No, switching off CSS buttons does for much of my add-ons no longer have buttons. RSB 1.1
  3. Answer:
    No, upgrades should be managed, tested offline.

I no longer use image buttons. CSS buttons provided a higher degree of styling, interaction using mouse over and click effects. They also respond well for mobile by maintaining scale and clarity on wording, color and finger interaction. As @gernot, I had problems with the size limits when adding FontAewsome tags to the button names. I had modified html_output.php to my template use of CSS Buttons. Removing size limits and adding submit button tags.

Open source code for styling CSS Buttons is offered across the net, I can create a simple styling mod to help possibly get ride of flat buttons.

Dave
Always forward thinking... Lost my mind!

3 Jun 2021, 6:09 PM
#14
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Should we delete image-buttons in the next version?

swguy:

For those who may not be aware of the difference between these two kinds of buttons:

  • the old buttons are .gif files which are stored in includes/templates/template_default/buttons/english.
  • the new "buttons" are just CSS wrapping the strings that are used for the button labels.

In the attached image, you can see the new CSS button (yay!) on the left, and the old, ugly crufty .gif button (boo!) on the right.

Vote early and often!

I am using the CSS buttons but they look much uglier than the image buttons and they cannot be easily changed like the image buttons can.... so I vote NO do not get rid of them!

3 Jun 2021, 6:13 PM
#15
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Should we delete image-buttons in the next version?

davewest:

  1. Answer:
    No, image buttons became to difficult to style and had problems when switching to mobile devices as sizing and visual problems.
  2. Answer:
    No, switching off CSS buttons does for much of my add-ons no longer have buttons. RSB 1.1
  3. Answer:
    No, upgrades should be managed, tested offline.

I no longer use image buttons. CSS buttons provided a higher degree of styling, interaction using mouse over and click effects. They also respond well for mobile by maintaining scale and clarity on wording, color and finger interaction. As @gernot, I had problems with the size limits when adding FontAewsome tags to the button names. I had modified html_output.php to my template use of CSS Buttons. Removing size limits and adding submit button tags.

Open source code for styling CSS Buttons is offered across the net, I can create a simple styling mod to help possibly get ride of flat buttons.

If your styling mod is a part of ZC then that would make a difference. For most Grandpa's and Grandma's who want to get into business mods are too complicating to install themselves and the cost to have a mod put in is just to much for someone not making money yet .... and is too much for those not making much money.

3 Jun 2021, 8:34 PM
#16
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,862
Plugin Contributions:
18

Re: Should we delete image-buttons in the next version?

shrimp-gumbo-mmmhhh:

I am using the CSS buttons but they look much uglier than the image buttons and they cannot be easily changed like the image buttons can.... so I vote NO do not get rid of them!
You might want to try https://www.bestcssbuttongenerator.com/ EasyPeasy to make it yours.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

3 Jun 2021, 10:58 PM
#17
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: Should we delete image-buttons in the next version?

  1. Do you still use "image buttons"? If yes, why?
    -Not anymore
  2. Does switching on "CSS buttons" now/today create a problem for your site? If yes, which template are you using?
    -No
  3. If an upgrade of Zen Cart automatically switched CSS Buttons "on", would that cause a problem for you? How so?
    -No
    -For translations it would be a lot easier as you don't need to provide gif-images which are a problem with local differences in languages. French from France vs Canada or German in Germany vs Austria vs Switzerland. Just rewriting the word in the language file is easier in a language file than remaking the gif-files.
    -Template or custom made buttons can by handled in their own css-file.
    -Loading speed increases.

In short; I'm a full fan.

For most Grandpa's and Grandma's

Don't underestimate them! I've seen a 50+ suffer to use his smartphone and getting schooled by an older guy who handle the thing like a teenager. I asked the older man his age. 78!

We have to move on if we don't want to receive the label of old fashioned from granny.

4 Jun 2021, 6:30 AM
#18
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Should we delete image-buttons in the next version?

Philibel:

  1. Do you still use "image buttons"? If yes, why?
    -Not anymore
  2. Does switching on "CSS buttons" now/today create a problem for your site? If yes, which template are you using?
    -No
  3. If an upgrade of Zen Cart automatically switched CSS Buttons "on", would that cause a problem for you? How so?
    -No
    -For translations it would be a lot easier as you don't need to provide gif-images which are a problem with local differences in languages. French from France vs Canada or German in Germany vs Austria vs Switzerland. Just rewriting the word in the language file is easier in a language file than remaking the gif-files.
    -Template or custom made buttons can by handled in their own css-file.
    -Loading speed increases.

In short; I'm a full fan.

Don't underestimate them! I've seen a 50+ suffer to use his smartphone and getting schooled by an older guy who handle the thing like a teenager. I asked the older man his age. 78!

We have to move on if we don't want to receive the label of old fashioned from granny.

I can see where you like CSS ... I just don't think that we should cut off the non-CSS.... It is always very easy to think how easy it is for me to do something and say if I can do it so should the rest of humanity... but it is not necessary to know how to make a CSS button to do ecommerce... or at least it shouldn't have to be. Yes, I have a moded out ZC site and do things others wouldn't think of doing.... but I am trying to think of the millions of other people that are looking to have their own website .... what would make their lives easier to have a nice looking website without have to try to figure out how to make new CSS buttons and install so they don't have ugly square buttons.

4 Jun 2021, 2:57 PM
#19
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: Should we delete image-buttons in the next version?

shrimp-gumbo-mmmhhh:

easier to have a nice looking website without have to try to figure out how to make new CSS buttons and install so they don't have ugly square buttons.

For everything there's at least one answer and often there're more.

  1. The, in my opinion easiest, solution would be out of the box adjustable css. A css that grabs the details for the buttons from the database settings. In Admin -> Tools -> a new page that allows settings for colour, rounding radius, text font, text colour, shadow, padding, ...
  2. Writing a mod to do this. But I would prefer if someone takes that effort, it should be taken in the GitHub for the next version so it is an integrated function. So back to option 1.

If the millions of users aren't capable of clicking a few radio buttons or drop-down lists in the Admin, then I don't see how they would be expected to be able to make their own gif-buttons. Instead of trying to replace the farm horse with a race horse, let's use the motorized chariot and invent the gearbox.
People in Lancaster County who use their farm horse won't buy a race horse anyhow. :D

4 Jun 2021, 3:45 PM
#20
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Should we delete image-buttons in the next version?

dbltoe:

You might want to try https://www.bestcssbuttongenerator.com/ EasyPeasy to make it yours.

Thank you dbletoe for the link. Once you generate a css button.... how do you install it on ZC?

Thank you!