Installation

This section shows you, how to install the Cstudios Craft Commerce Components to your Craft website.

Project at https://github.com/cstudiossro/cccc/

Copy files under craft root folder


          {% include "cccc/global-fallback" %}
        

Include the basic cart element


          {% include "cccc/_cart/_cart" %}
        

To change default values like colors for the widgets create an override CSS file, with this boilerplate:


          * {
--c4_primary: #39617a
--c4_secundary: #39877B

/*neutrals*/
--c4_neutralLight: #e3ecf2
--c4_neutralDark: #c7d9e5
--c4_textColor: #333333

/*sematics*/
--c4_success: #43A047
--c4_warning: #EB7F00
--c4_information: #1976D2
--c4_error: #C30F0E

/*fonts*/
--c4_font: 'Sen', sans-serif;
}