jka Posted November 11, 2018 Share Posted November 11, 2018 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. Link to comment Share on other sites More sharing options...
bsmither Posted November 11, 2018 Share Posted November 11, 2018 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. Link to comment Share on other sites More sharing options...
jka Posted November 11, 2018 Author Share Posted November 11, 2018 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+. Link to comment Share on other sites More sharing options...
bsmither Posted November 12, 2018 Share Posted November 12, 2018 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. Link to comment Share on other sites More sharing options...
jka Posted November 12, 2018 Author Share Posted November 12, 2018 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? Link to comment Share on other sites More sharing options...
bsmither Posted November 12, 2018 Share Posted November 12, 2018 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? Link to comment Share on other sites More sharing options...
jka Posted November 12, 2018 Author Share Posted November 12, 2018 We dont have the sandbox test environment accessible over the internet. Will clear the CC cache this evening and try it out again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.