Jump to content
Sign in to follow this  
jka

Buttons, svg sprite etc

Recommended Posts

Is there any chance to know the complete list of buttons, colors etc used in CC such as "Button Success" etc. Also is it possible to add more to sprite svg? After playing with our sandbox environment we have a fairly good idea to make the PayPal Pro integration seamless, however we need to add a couple of different button labels. Looking for pointers on where its controlled or additional options.

Share this post


Link to post
Share on other sites

The button styling is part of Foundation's CSS rules, beginning at line 1150. Then there are a couple miscellaneous buttons (top-bar, drop-downs, pagination, etc) that take on a different appearance.

For Foundation, the SVG simple text file is derived from FontAwesome. There are many places where you can download free SVG icons. Just add them to the file.

 

Share this post


Link to post
Share on other sites

Hello bsmither, Thanks again for helping. I am poking around the button styling now. The svg part is a bit too much for now.

Question ... In the file content.checkout.php, is there a way to get the address before presenting the full checkout page? Not sure what  {if $INCLUDE_CHECKOUT} does, after also displaying the address form. The goal is to get the address form first before the rest of the gateway stuff happens. This will make the Paypal process a bit more cohesive for our avg user base who happen to be 50+.

Share this post


Link to post
Share on other sites

Please start a new conversation with an appropriate title.

In short: CubeCart will show the address form if there no knowledge of an address as of yet -- INCLUDE_CHECKOUT being true.

Share this post


Link to post
Share on other sites

Will do. However, we tried to added another button to the CSS file, but its not showing up when we refresh the page. Do we need to purge cache etc and retry for it to pickup the newly added button?

Edited by jka

Share this post


Link to post
Share on other sites

Unless CubeCart's debug mode is enabled or its cache is disabled, and you are using a recent version of Foundation (or Foundation derivative), then the various CSS files are combined into one massive file and cached. Thus, when making any changes, one needs to have CubeCart clear its internal cache as well as force the browser to reload the page resources (usually CTRL-F5).

What would be the web address where we can see this new button?

Share this post


Link to post
Share on other sites

We dont have the sandbox test environment accessible over the internet. Will clear the CC cache this evening and try it out again.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...