Added to Cart
Save $60 on all purchases over $200!

Installing WooCore

Oxygen Builder

There are some prerequisites which you'll need to fulfil before using WooCore. Please follow the simple instructions below to get started.

Requirements

1. Oxygen Builder
1. Please make sure you have installed and activated Oxygen Builder. You will need to navigate to Oxygen → Settings → Library → set 'Enable 3rd Party Design Sets' → Add Design Set → and paste in your WooCore site key before clicking on 'Add Source Site'.
2. CoreFramework
1. Please install and activate the Core Framework plugin. Make sure you have access to the WooCore .core file as we will need to import this into Core Framework in Step 3.
2. Next, kindly navigate to Core Framework  Addons
and enter your license key for Oxygen Builder. Don't forget to hit "Save changes".
3. Next, navigate to Core Framework  Manage Project. Here, you can import the WooCore project file. Click 'Overwrite', and then 'Save changes'.
3. Oxygen Elements for WooCommerce
Install and activate Oxygen Elements for WooCommerce, which is a plugin from Oxygen Builder. If purchased, you can find it in your dashboard when logging into the Oxygen website.
4. WooCommerce
Install and activate WooCommerce and kindly go through the setup when prompted. WooCommerce needs to be activated in order to make use of the Product Builder elements.
5. Adjust Oxygen Global Settings
Kindly navigate to Oxygen → Export & Import → and paste the JSON below into the Import Global Settings box. Note: You can leave the Import Global Colors box unchecked.
Click to show JSON
Copied to Clipboard
Copy Minified JSON

  {
    "global_settings": {
        "fonts": {
            "Text": "IBM Plex Sans",
            "Display": "Playfair Display"
        },
        "scripts": {
            "scroll_to_hash": "",
            "scroll_to_hash_time": ""
        },
        "indicateParents": "true",
        "classSuggestionsLimit": "20",
        "headings": {
            "H1": {
                "font-size-unit": "px",
                "font-size": "",
                "font-weight": "200",
                "color": "var(--text-title)"
            },
            "H2": {
                "font-size-unit": "px",
                "font-size": "",
                "font-weight": "200",
                "color": "var(--text-title)"
            },
            "H3": {
                "font-size-unit": "px",
                "font-size": "",
                "font-weight": "200",
                "color": "var(--text-title)"
            },
            "H4": {
                "font-size-unit": "px",
                "font-size": "",
                "font-weight": "",
                "color": "var(--text-title)"
            },
            "H5": {
                "font-size-unit": "px",
                "font-size": "",
                "font-weight": "",
                "color": "var(--text-title)"
            },
            "H6": {
                "font-size-unit": "px",
                "font-size": "",
                "font-weight": "",
                "color": "var(--text-title)"
            }
        },
        "body_text": {
            "font-size-unit": " ",
            "font-size": "var(--text-m)",
            "font-weight": "300",
            "line-height": "1.6",
            "color": "var(--text-body)"
        },
        "links": {
            "all": {
                "color": "var(--primary)",
                "font-weight": "",
                "text-decoration": "none",
                "hover_color": "",
                "hover_text-decoration": "none"
            },
            "text_link": {
                "color": "",
                "font-weight": "",
                "text-decoration": "",
                "hover_color": "",
                "hover_text-decoration": ""
            },
            "link_wrapper": {
                "color": "",
                "font-weight": "",
                "text-decoration": "",
                "hover_color": "",
                "hover_text-decoration": ""
            },
            "button": {
                "border-radius-unit": "px",
                "font-weight": "",
                "border-radius": ""
            }
        },
        "sections": {
            "container-padding-top-unit": " ",
            "container-padding-bottom-unit": " ",
            "container-padding-left-unit": " ",
            "container-padding-right-unit": " ",
            "container-padding-top": "var(--space-2xl)",
            "container-padding-bottom": "var(--space-2xl)",
            "container-padding-left": "var(--space-s)",
            "container-padding-right": "var(--space-s)"
        },
        "columns": {
            "padding-top": "var(--space-s)",
            "padding-top-unit": "",
            "padding-bottom": "var(--space-s)",
            "padding-bottom-unit": "",
            "padding-left": "var(--space-s)",
            "padding-left-unit": "",
            "padding-right": "var(--space-s)",
            "padding-right-unit": ""
        },
        "aos": {
            "type": "",
            "duration": "",
            "easing": "",
            "offset": "",
            "delay": "",
            "anchor-placement": "",
            "once": "",
            "mirror": "",
            "disable": ""
        },
        "woo": {
            "--button-radius-unit": "px",
            "--input-radius-unit": "px",
            "--widget-title-font-size-unit": " ",
            "--primary-cta": "var(--secondary)",
            "--primary-cta-hover": "var(--primary)",
            "--primary-cta-text": "var(--light)",
            "--secondary-cta": "var(--tertiary)",
            "--secondary-cta-hover": "var(--tertiary-70)",
            "--secondary-cta-text": "var(--light)",
            "--tertiary-cta": "var(--dark-90)",
            "--tertiary-cta-hover": "var(--dark)",
            "--tertiary-cta-background": "var(--light)",
            "--disabled-button": "var(--dark-50)",
            "--button-radius": "0",
            "--standard-link": "var(--dark)",
            "--standard-link-hover": "var(--primary)",
            "--input-border": "#f6f6f6",
            "--input-focus-border": "#dddddd",
            "--input-placeholder-text": "rgba(48,48,48,0.65)",
            "--input-background": "#f6f6f6",
            "--input-radius": "0",
            "--text-normal": "var(--text-body)",
            "--text-strong": "var(--dark)",
            "--info-color": "var(--primary)",
            "--error-color": "var(--error)",
            "--message-color": "var(--primary)",
            "--sale-badge-color": "var(--dark)",
            "--star-rating-primary": "var(--primary)",
            "--star-rating-greyed": "var(--dark-5)",
            "--border-normal": "var(--border-primary)",
            "--border-image": "var(--border-primary)",
            "--box-background": "var(--bg-surface)",
            "--widget-title-font-size": "var(--text-m)",
            "--widget-title-font-weight": "400",
            "--widget-title-font-family": ""
        },
        "max-width": "1400",
        "breakpoints": {
            "tablet": "992",
            "phone-landscape": "768",
            "phone-portrait": "480"
        }
    }
  }

6. Copy this CSS to a global stylesheet.
This CSS is necessary for styling many elements. We did not include this CSS in CoreFramework as it contains class fixes and does not relate to a framework per se.
Click to show CSS
Copied to Clipboard
Copy Minified CSS

  
/****** GENERAL WOOCORE ******/

/********** THIS SECTION INCLUDES FIXES FOR WOOCOMMERCE 8.4.0 **********/

#place_order {
  background-color: var(--secondary);
  color: var(--light);
}

/* Add Checkmark on ATC Button After Added */
.woocommerce #respond input#submit.added::after,
.woocommerce a.button.added::after,
.woocommerce button.button.added::after,
.woocommerce input.button.added::after {
  font-family: WooCommerce;
  content: "\e017";
  margin-left: 0.53em;
  vertical-align: bottom;
}

/* Add Loading Icon when clicking on ATC button */
.woocommerce a.button.loading:after {
  font-family: WooCommerce;
  content: " \e01c ";
  margin-left: 0.53em;
  vertical-align: bottom;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* WooCommerce Slide Up Notification in Product Builder */
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
  align-items: center;
}

.woocommerce-notices-wrapper
  .wc-block-components-notice-banner
  > .wc-block-components-notice-banner__content {
  padding-right: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: var(--space-s);
}

.woocommerce-notices-wrapper
  .wc-block-components-notice-banner
  > .wc-block-components-notice-banner__content
  .wc-forward {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--space-xs) var(--space-s) !important;
  background: var(--secondary) !important;
  border-color: var(--secondary-d-1) !important;
  color: var(--light) !important;
  float: unset;
  margin: unset;
  text-decoration: none;
}

/* Discount Code Box on Cart Page*/
.woocommerce-page .woocommerce-cart-form #coupon_code {
  font-size: var(--text-s) !important;
}
@media only screen and (max-width: 768px) {
  .woocommerce-page .woocommerce-cart-form #coupon_code {
    width: 50%;
    margin-right: var(--space-xs);
  }
}
/* Checkout Fields */
.woocommerce-page .input-text {
  font-size: var(--text-s) !important;
}
.woocommerce-page .select2-container .select2-search__field,
.woocommerce-page .select2-container .select2-selection {
  font-size: var(--text-s) !important;
}

/* Added to Cart animation */
@keyframes slideUp {
  0% {
    transform: translateY(200%); /* Start off-screen */
  }
  100% {
    transform: translateY(0); /* Slide into view */
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(0); /* Start in view */
  }
  100% {
    transform: translateY(200%); /* Slide back off-screen */
  }
}

.added-to-cart--animate-up {
  animation: slideUp 0.5s ease forwards;
}

.added-to-cart--animate-down {
  animation: slideDown 0.5s ease forwards;
}

.added-to-cart--success svg {
  background-color: #4ab866;
  fill: #fff;
  border-radius: 50%;
  padding: 2px;
}

.price ins {
  text-decoration: none;
}

.woocommerce label[for="payment_method_woocommerce_payments"],
.woocommerce label[for="payment_method_bacs"],
.woocommerce label[for="payment_method_cod"] {
  display: unset;
}

/********** END OF 8.4.0 fixes **********/

/* IMG OBJECT FIT - USE ON IMAGE OR IMAGE WRAPPER TO CHANGE OBJECT FIT OF THE IMAGE */

.wc-img-cover,
.wc-img-cover img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.wc-img-contain,
.wc-img-contain img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

/* WOOCOMMERCE IMAGE GRID 1*/

.wc-image-grid-1 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}
.wc-image-grid-1 * {
  width: 100% !important;
  border-radius: 2px;
  margin: 0 !important;
}
.wc-image-grid-1 *:nth-child(1) {
  grid-column: 1 / -1;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
}
.wc-grid-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* CSS FIX */

#ct-builder .wc-archive-item-1,
#ct-builder .wc-archive-item-2,
#ct-builder .wc-archive-item-3,
#ct-builder .wc-archive-item-4 {
  max-width: 350px;
}

.oxy-dynamic-list .oxy-product-wrapper-inner {
  height: 100%;
}

div.c-divider,
div.wc-full-divider {
  min-height: 1px !important;
}

.oxy-repeater-pages-wrap {
  grid-column: 1 / -1;
}

.oxy-product-info h2 {
  margin-bottom: 20px !important;
}
.widget_top_rated_products h2,
.woocommerce .widget_shopping_cart h2,
.woocommerce .widget_products h2,
.woocommerce .widget_product_categories h2,
.woocommerce .widget_layered_nav_filters h2,
.woocommerce .woocommerce-widget-layered-nav h2,
.woocommerce .widget_rating_filter h2,
.woocommerce .widget_price_filter h2,
.woocommerce div.widget_product_tag_cloud h2,
.woocommerce h1.page-title,
.woocommerce h1.product_title,
.woocommerce section.related.products h2,
.woocommerce section.upsells.products h2,
.woocommerce h2.woocommerce-Reviews-title,
.woocommerce span.comment-reply-title,
.woocommerce-Tabs-panel h2,
h2.woocommerce-order-downloads__title,
.woocommerce-orders article header h1,
.woocommerce-account article header h1,
.woocommerce-downloads article header h1,
.woocommerce-edit-address article header h1,
.woocommerce-account h2,
.woocommerce-Address-title h3,
.woocommerce-MyAccount-content h3,
.woocommerce-EditAccountForm legend,
h1.oxy-woo-archive-title,
h2.woocommerce-column__title,
h2.woocommerce-order-downloads__title,
h2.woocommerce-order-details__title,
.woocommerce-billing-fields h3,
.woocommerce-checkout h3,
.woocommerce .cart_totals h2,
.woocommerce .cross-sells h2 {
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.woocommerce .price_label .from,
.woocommerce .price_label .to,
.woocommerce ul.products li.product .price,
.product-quantity,
.woocommerce .price ins,
.woocommerce-Price-amount,
.woocommerce-loop-category__title .count,
.woocommerce .price {
  font-weight: 600;
}
.woocommerce a.added_to_cart {
  display: none !important;
}

.wc-price-container .price {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.wc-price-container .price > del {
  order: 2;
}

.wc-price-container .price > ins {
  padding-right: 10px;
}

/* CATEGORIES LIST */

.wc-cat-list-1 .woocommerce .products ul::after,
.wc-cat-list-1 .woocommerce .products ul::before,
.wc-cat-list-1 .woocommerce ul.products::after,
.wc-cat-list-1 .woocommerce ul.products::before {
  display: none;
}

.wc-cat-list-1 .columns-4 {
  display: inline;
}

.wc-cat-list-1.oxy-woo-product-categories
  .woocommerce
  ul.products
  li.product-category
  a
  img {
  margin-bottom: 0;
}
.wc-cat-list-1.oxy-woo-product-categories
  .woocommerce
  ul.products
  li.product
  a {
  align-items: center;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-gap: 15px;
  background: white;
  border-radius: 0;
  overflow: hidden;
  padding: 0px;
  box-shadow: 0px 3px 10px #00000017;
  transition: all 0.3s;
}
.wc-cat-list-1.oxy-woo-product-categories
  .woocommerce
  ul.products
  li.product
  a:hover {
  transform: translatey(-3px);
  box-shadow: 0px 5px 20px #00000017;
}
.wc-cat-list-1.oxy-woo-product-categories .woocommerce ul.products li.product,
.wc-cat-list-1.woocommerce-page ul.products li.product {
  width: 100%;
  padding: 0;
  margin: 0;
}
.wc-cat-list-1.oxy-woo-product-categories .woocommerce ul.products {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 15px;
  margin: 0;
}

/* TABS TO ACCORDION CSS FIX */

.tab-accordion {
  border: 1px solid #e8e8e8;
  background: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
}

/* CUSTOM SALE & NEW BADGES */

.wc-sale-badge,
.wc-new-badge {
  display: block;
  background: white;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  box-shadow: 0 1px 5px #0000001c;
  margin: 5px;
  opacity: 0.8;
}
.wc-sale-badge {
  background: black;
  color: white;
}

/* WOOCOMMERCE ARCHIVE STYLE 1 */

.wc-archive-item-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s !important;
}

@media only screen and (min-width: 992px) {
  .wc-archive-item-1-content {
    opacity: 0;
  }
  .wc-archive-item-1-title {
    transform: translateY(-25px);
  }
  .wc-archive-item-1-price {
    transform: translateY(25px);
  }
  .wc-archive-item-1:hover img {
    transform: scale(1.2);
    opacity: 0.1;
  }
  .wc-archive-item-1:hover .wc-archive-item-1-content {
    opacity: 1;
  }

  .wc-archive-item-1:hover .wc-archive-item-1-title,
  .wc-archive-item-1:hover .wc-archive-item-1-price {
    transform: translatey(0);
  }
}

/* ARCHIVE STYLE 2 */

.wc-archive-item-2 .add_to_cart_inline {
  margin: 0;
}
.wc-archive-item-2 .atc-code-block {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  transition: all 0.6s;
}
.wc-archive-item-2 .woocommerce a.button {
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0;
}
.wc-archive-item-2 .woocommerce a.button:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

@media only screen and (min-width: 992px) {
  .wc-archive-item-2 .atc-code-block {
    transform: translatey(100%);
  }
  .wc-archive-item-2:hover .atc-code-block {
    transform: translatey(0px);
  }
}

.wc-archive-item-2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ARCHIVE STYLE 3 */

.wc-archive-item-3 .woocommerce a.button {
  max-width: 150px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: grey;
  transition: all 1s;
  margin: 0;
}

.wc-archive-item-3 .add_to_cart_inline {
  display: flex;
  justify-content: center;
}
.wc-archive-item-3 .woocommerce a.button:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.wc-archive-item-3-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ARCHIVE STYLE 4 */

.wc-archive-item-4 .woocommerce a.button {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: grey;
  transition: all 1s;
  margin: 0;
}

.wc-archive-item-4 .woocommerce a.button:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.wc-archive-item-4-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/****** WOOCORE NOTICE BOXES ******/

/* WOOCOMMERCE NOTICES FLOATING BOX */

.woocommerce-notices-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  transition: all 0.6s;
  animation: slide-up-fade-in ease 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode: forwards; /*when the spec is finished*/
  opacity: 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex;
  align-items: center;
  border: none;
  box-shadow: 0 5px 15px #00000017;
  border-radius: 2px;
  background: white;
  z-index: 100;
  transition: all 0.6s;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: 20px !important;
  order: 5;
}
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  top: auto;
  left: 1.5em;
}
.showcoupon {
  padding: 5px;
}

/* FLOATING BOX - SLIDE UP */

@keyframes slide-up-fade-in {
  0% {
    opacity: 0;
    transform: translatey(200px);
  }
  100% {
    opacity: 1;
    transform: translatey(0px);
  }
}

/* FLOATING BOX - SLIDE DOWN */

@keyframes slide-down-fade-in {
  0% {
    opacity: 1;
    transform: translatey(0px);
  }
  100% {
    opacity: 0;
    transform: translatey(200px);
  }
}

.hide-notification:not(.oxy-woo-checkout) {
  animation: slide-down-fade-in ease 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode: forwards; /*when the spec is finished*/
}

/****** VARIATION SWATCHES ******/

.woocommerce div.product p.price {
  font-weight: 400;
  font-size: 20px;
  color: #303030;
}

ul.variable-items-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 10px 0;
}
ul.variable-items-wrapper li {
  list-style-type: none;
  padding: 5px 10px;
  border: 1px solid #e8e8e8;
  background: white;
  border-radius: 2px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
}

ul.variable-items-wrapper li.color-variable-item {
  padding: 2px;
}

ul.variable-items-wrapper .variable-item-span-color {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  display: block;
}

ul.variable-items-wrapper li:hover,
ul.variable-items-wrapper li.selected {
  border: 1px solid grey;
}

ul.variable-items-wrapper li:focus {
  outline: none;
}

/* SOLD OUT VARIATIONS */

ul.variable-items-wrapper li.disabled {
  transition: al 0.6s;
  opacity: 0.3;
  cursor: not-allowed;
}
ul.variable-items-wrapper li.disabled:hover {
  border: 1px solid #e8e8e8;
}

/****** WOOCORE REVIEWS ******/

.woocommerce textarea,
.woocommerce input,
.woocommerce select {
  max-width: 100%;
}

.woocommerce #reviews #comments h2 {
  margin-bottom: 24px;
}
#reviews.cr-reviews-ajax-reviews .comment-reply-title {
  font-size: 1em;
}

#reviews.cr-reviews-ajax-reviews div.cr-ajax-reviews-cus-images-div2 {
  overflow-x: auto;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  border: none;
  border-top: none;
  border-radius: 0;
  background: none;
  padding: 0;
}
.woocommerce #reviews #comments .comment_container,
div.cr-ajax-reviews-sort-div,
.cr-ajax-reviews-cus-images-div {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
  padding: 0;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  border-radius: 100%;
}

span.ivole-voting-cont {
  font-size: 12px;
  margin: 10px 0px;
  color: #3d3d3d;
}

/* SUMMARY BAR */

.ivole-meter {
  background: #dddddd !important;
  height: 7px;
  border-radius: 2px;
  box-shadow: none;
}
.ivole-meter .ivole-meter-bar {
  border-radius: 2px;
  box-shadow: none;
  background: #a1a1a1 !important;
}
.ivole-meter .ivole-meter-bar:before {
  display: none;
}

/* BUTTONS */

button.cr-ajax-reviews-add-review,
#cr-ajax-reviews-sort {
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid;
  padding: 12px;
  background: #ddd0 !important;
  color: #434343;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  transition: all 0.4s;
}
#cr-ajax-reviews-sort {
  border: none;
  padding: 0;
}
#cr-ajax-reviews-sort:focus {
  box-shadow: none;
}
#cr-ajax-reviews-sort,
button.cr-ajax-reviews-add-review:hover {
  color: black;
}

/****** WOOCORE MINICART ******/

.woocommerce .woocommerce-mini-cart__total strong,
.woocommerce .woocommerce-mini-cart span.quantity,
.woocommerce-Price-amount,
.woocommerce-mini-cart-item a,
.woocommerce ul.cart_list li dl,
.woocommerce ul.product_list_widget li dl {
  line-height: 1.5;
  font-size: 12px;
}

.widget.woocommerce.widget_shopping_cart {
  padding: 0;
  border-bottom: none;
}

.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
  padding: 10px 0 10px 0 !important;
}

.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total {
  border-top: none;
}

.woocommerce-mini-cart-item {
  position: relative;
}

.woocommerce ul.product_list_widget li img {
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 0;
  margin-top: 0;
}

.woocommerce ul.product_list_widget li a {
  display: flex;
  flex-direction: row;
}

/* PRICE & QUANTITY */

.woocommerce ul.cart_list li dl,
.woocommerce ul.product_list_widget li dl {
  margin: 0 0 5px 0;
  padding-left: 0;
  border-left: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
}
.woocommerce .widget_shopping_cart .cart_list li a.remove,
.woocommerce.widget_shopping_cart .cart_list li a.remove {
  color: #000 !important;
}

.woocommerce ul.cart_list li dl dt,
.woocommerce ul.product_list_widget li dl dt {
  padding: 0;
  margin: 0;
}
.woocommerce ul.cart_list li dl dd,
.woocommerce ul.product_list_widget li dl dd {
  padding: 0;
  margin: 0;
}
.woocommerce ul.cart_list li dl dd p:last-child,
.woocommerce ul.product_list_widget li dl dd p:last-child {
  margin-bottom: 0;
  margin: 0;
}

/* DROPDOWN */

.wc-menu-open {
  position: relative;
}
.wc-menu-open .wc-dropdown-cart {
  opacity: 0;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  padding: 20px;
  transition: all 0.2s;
}
.wc-menu-open:hover .wc-dropdown-cart {
  opacity: 1;
  visibility: visible;
}

.wc-secondary-image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 1;
  transition: all 0.4s !important;
}
.wc-flip-images:hover .wc-secondary-image {
  opacity: 1;
}

/****** WOOOCORE FILTERS ******/

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle {
  background: #f5f5f5;
  border: 1px solid;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -khtml-border-radius: 100%;
  -moz-border-radius: 100%;
  height: 10px;
  outline: 0 none;
  position: absolute;
  top: -4px;
  width: 10px;
  margin-left: -3px;
  z-index: 2;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle:last-child,
.woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle:last-child {
  margin-left: -3px;
}
.woocommerce .widget_price_filter .ui-slider-horizontal,
.woocommerce-page .widget_price_filter .ui-slider-horizontal {
  height: 2px;
}

.woocommerce .woocommerce-ordering {
  margin: 0;
}
.widget.woocommerce {
  padding: 25px 0;
  border-bottom: 1px solid #e8e8e8;
}

span.count {
  opacity: 0.6;
}

/* FILTER TOGGLES */

.wc-filters .widgettitle {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s;
}
.wc-filters .widgettitle:hover {
  opacity: 0.6;
}
.wc-filters .widgettitle:after {
  content: "-";
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  right: 0;
}

.wc-filters .widgettitle.visible:after {
  content: "+";
}

.wc-filters .widgettitle.visible {
  margin: 0;
}

.wc-filters .widgettitle + * {
  max-height: 1000px;
}

.wc-filters .widgettitle.visible + * {
  max-height: 0;
  overflow: hidden;
}

/* EXPAND FILTER PANEL ON TABLETS AND PHONES */

@media only screen and (max-width: 991px) {
  .wc-filters.active {
    transform: translatey(0);
  }
}

/****** SPLIDE STYLING ******/
/* GALLERY SLIDER */

ul.splide__list {
  width: 100%;
}

#primary-slider {
  margin-bottom: 10px;
}
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.splide--nav > .splide__track > .splide__list > .splide__slide {
  border: none !important;
  opacity: 0.5;
  transition: opacity 0.6s;
}
.splide--nav > .splide__track > .splide__list > .splide__slide:hover {
  opacity: 1;
}
.splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
  opacity: 1;
}

/* ARROWS STYLING */

.splide .splide__arrow,
.oxy-oxyninja-slider .splide__arrow {
  border-radius: 0;
  opacity: 0;
  background: #fff;
  box-shadow: 0 1px 5px #0000001c;
  transition: all 0.4s;
}

.splide:hover .splide__arrow,
.oxy-oxyninja-slider:hover .splide__arrow {
  opacity: 0.8;
}

.splide .splide__arrow:hover,
.oxy-oxyninja-slider .splide__arrow:hover {
  opacity: 1;
  background: #fff;
  box-shadow: 0 1px 10px #0000001c;
}

.splide .splide__arrows button:disabled,
.oxy-oxyninja-slider .splide__arrows button:disabled {
  display: none;
}

/* ARROWS APPEAR ON SLIDER HOVER */

.splide .splide__arrow--prev,
.oxy-oxyninja-slider .splide__arrow--prev {
  left: -1em;
}
.splide .splide__arrow--next,
.oxy-oxyninja-slider .splide__arrow--next {
  right: -1em;
}

.splide:hover .splide__arrow--prev,
.oxy-oxyninja-slider:hover .splide__arrow--prev {
  left: 1em;
}
.splide:hover .splide__arrow--next,
.oxy-oxyninja-slider:hover .splide__arrow--next {
  right: 1em;
}

/* ARROWS APPEARING ALL THE TIME ON PHONES */

@media only screen and (max-width: 991px) {
  .splide .splide__arrow,
  .oxy-oxyninja-slider .splide__arrow {
    opacity: 1;
  }
  .splide .splide__arrow--prev,
  .oxy-oxyninja-slider .splide__arrow--prev {
    left: 1em;
  }
  .splide .splide__arrow--next,
  .oxy-oxyninja-slider .splide__arrow--next {
    right: 1em;
  }
}

/* CAROUSEL PAGINATION */

.splide .splide__pagination,
.oxy-oxyninja-slider .splide__pagination {
  bottom: -1em;
}
.splide .splide__pagination__page,
.oxy-oxyninja-slider .splide__pagination__page {
  width: 40px;
  height: 1px;
  background: #323232;
  border-radius: 0;
  opacity: 0.2;
}
.splide .splide__pagination__page.is-active,
.oxy-oxyninja-slider .splide__pagination__page.is-active {
  background: #323232;
  transform: scale(1);
  opacity: 0.7;
}
.wc-product-gallery-1 .splide .splide__pagination,
.wc-product-gallery-2 .splide .splide__pagination,
.wc-product-gallery-1 .oxy-oxyninja-slider .splide__pagination,
.wc-product-gallery-2 .oxy-oxyninja-slider .splide__pagination {
  display: none;
}


7. Copy this PHP to a snippet plugin.
This PHP is necessary in order for the cart counter to work using WooCommerce's built-in AJAX. We recommend FluentSnippets as a snippet editor as it will work, and it is free!
Click to show PHP

<?php
/**
 * WooCore Cart Count
 *
 * @since    3.4.1
 */

// Check if WooCommerce is active
if (function_exists('WC')) {

    // Define the function
    function woocore_cart_count($fragments)
    {
        global $woocommerce;

        if ($woocommerce->cart->get_cart_contents_count() > 0) {
            ob_start();
            echo '<span class="wc-cart-count">';
            echo WC()->cart->get_cart_contents_count();
            echo '</span>';
            $fragments['.wc-cart-count'] = ob_get_clean();
        } else {
            ob_start();
            echo '<span class="wc-cart-count">';
            echo WC()->cart->get_cart_contents_count();
            echo '</span>';
            $fragments['.wc-cart-count'] = ob_get_clean();
        }

        return $fragments;
    }

    // Add the function to the WooCommerce filter
    add_filter('woocommerce_add_to_cart_fragments', 'woocore_cart_count');
}

/**
 * WooCore MiniCart Ajax - Add
 *
 * @since    3.5.0
 */
// Check if WooCommerce is active
if (class_exists('WooCommerce')) {

    function coreframework_minicart_ajax_add()
    {
        // Optional: Check for nonce for security
        // check_ajax_referer('your_nonce', 'security');

        if (!isset($_POST['product_id'])) {
            wp_send_json_error('Invalid request');
            wp_die();
        }

        $product_id = apply_filters('woocommerce_add_to_cart_product_id', absint($_POST['product_id']));
        $quantity = empty($_POST['quantity']) ? 1 : wc_stock_amount($_POST['quantity']);
        $variation_id = isset($_POST['variation_id']) ? absint($_POST['variation_id']) : 0;
        $passed_validation = apply_filters('woocommerce_add_to_cart_validation', true, $product_id, $quantity, $variation_id);
        $product_status = get_post_status($product_id);

        if ($passed_validation && WC()->cart->add_to_cart($product_id, $quantity, $variation_id) && 'publish' === $product_status) {
            do_action('woocommerce_ajax_added_to_cart', $product_id);

            if ('yes' === get_option('woocommerce_cart_redirect_after_add')) {
                wc_add_to_cart_message([$product_id => $quantity], true);
            }

            ob_start();

            // Product List Start
            $has_items = !WC()->cart->is_empty();
            if ($has_items) {
                foreach (WC()->cart->get_cart() as $cart_item_key => $cart_item) {
                    $_product = apply_filters(
                        'woocommerce_cart_item_product',
                        $cart_item['data'],
                        $cart_item,
                        $cart_item_key
                    );
                    $product_id = apply_filters(
                        'woocommerce_cart_item_product_id',
                        $cart_item['product_id'],
                        $cart_item,
                        $cart_item_key
                    );

                    if (
                        $_product &&
                        $_product->exists() &&
                        $cart_item['quantity'] > 0 &&
                        apply_filters('woocommerce_widget_cart_item_visible', true, $cart_item, $cart_item_key)
                    ) {
                        $product_name = apply_filters(
                            'woocommerce_cart_item_name',
                            $_product->get_name(),
                            $cart_item,
                            $cart_item_key
                        );
                        $thumbnail = apply_filters(
                            'woocommerce_cart_item_thumbnail',
                            $_product->get_image('woocommerce_gallery_thumbnail'),
                            $cart_item,
                            $cart_item_key
                        );
                        $product_price = apply_filters(
                            'woocommerce_cart_item_price',
                            WC()->cart->get_product_price($_product),
                            $cart_item,
                            $cart_item_key
                        );
                        $product_permalink = apply_filters(
                            'woocommerce_cart_item_permalink',
                            $_product->is_visible() ? $_product->get_permalink($cart_item) : '',
                            $cart_item,
                            $cart_item_key
                        );

                        echo '';
                        echo '';
                        echo '';
                        echo esc_html($product_name);
                        echo '';
                        do_action('oxy-ninja_woocommerce_minicart_after_product_name', $_product);
                        echo function_exists('wc_get_formatted_cart_item_data')
                            ? wc_get_formatted_cart_item_data($cart_item)
                            : WC()->cart->get_item_data($cart_item);
                        echo apply_filters(
                            'woocommerce_widget_cart_item_quantity',
                            '' .
                            sprintf('%s × %s', $cart_item['quantity'], $product_price) .
                            '',
                            $cart_item,
                            $cart_item_key
                        );
                        echo apply_filters(
                            'woocommerce_cart_item_remove_link',
                            sprintf(
                                '×',
                                esc_url(
                                    function_exists('wc_get_cart_remove_url')
                                    ? wc_get_cart_remove_url($cart_item_key)
                                    : WC()->cart->get_remove_url($cart_item_key)
                                ),
                                esc_attr__('Remove this item', 'woocommerce'),
                                esc_attr($product_id),
                                esc_attr($cart_item_key),
                                esc_attr($_product->get_sku())
                            ),
                            $cart_item_key
                        );
                        echo ''; // End of .woocore-mini-cart-product-details
                        echo '';
                        if (!$_product->is_visible()) {
                            echo str_replace(['http:', 'https:'], '', $thumbnail);
                        } else {
                            echo '';
                            echo str_replace(['http:', 'https:'], '', $thumbnail);
                            echo '';
                        }
                        echo ''; // End of .woocore-mini-cart-product-image
                        echo ''; // End of cart item
                    }
                }
            } else {
                echo '';
                esc_html_e('No products in the cart.', 'woocommerce');
                echo '';
            }

            $mini_cart = ob_get_clean();

            $items = sizeof(WC()->cart->get_cart());
            $items_span = '' . sprintf(esc_html(_n('%d item', '%d items', $items, 'woocommerce')), $items) . '';

            // Fragments and mini cart are returned
            $data = [
                'fragments' => apply_filters('woocommerce_add_to_cart_fragments', [
                    'ul.woocore-cart_list' =>
                        '' . $mini_cart . '',
                ]),
                'cart_hash' => apply_filters(
                    'woocommerce_add_to_cart_hash',
                    WC()->cart->get_cart_for_session() ? md5(json_encode(WC()->cart->get_cart_for_session())) : '',
                    WC()->cart->get_cart_for_session()
                ),
                'subtotal' => WC()->cart->get_cart_total(),
                'items' => $items_span,
            ];

            wp_send_json($data);
        } else {
            $data = [
                'error' => true,
                'product_url' => apply_filters(
                    'woocommerce_cart_redirect_after_error',
                    get_permalink($product_id),
                    $product_id
                ),
            ];

            wp_send_json($data);
        }

        wp_die();
    }

    // Register AJAX actions for logged-in and logged-out users
    add_action('wp_ajax_coreframework_minicart_add', 'coreframework_minicart_ajax_add');
    add_action('wp_ajax_nopriv_coreframework_minicart_add', 'coreframework_minicart_ajax_add');
}


/**
 * WooCore MiniCart Ajax - Remove
 *
 * @since    3.5.0
 */
function coreframework_quick_view()
{
    if (!isset($_POST['product_id'])) {
        wp_send_json_error('Invalid request');
        wp_die();
    }

    $product_id = absint($_POST['product_id']);
    if (!$product_id) {
        wp_send_json_error('Invalid product ID');
        wp_die();
    }

    $product = wc_get_product($product_id);
    if (!$product) {
        wp_send_json_error('Product not found');
        wp_die();
    }

    $data = [
        'name' => $product->get_name(),
        'price' => $product->get_regular_price(),
        'price_html' => wc_price($product->get_regular_price()),
        'sale' => wc_price($product->get_sale_price()),
        'sale_html' => $product->get_sale_price(),
        'type' => $product->get_type(),
        'short_description' => $product->get_short_description(),
        'stock' => $product->get_stock_status(),
        'attributes' => $product->get_attributes(),
        'image_id' => $product->get_image_id(),
        'image' => $product->get_image(),
        'image_gallery' => $product->get_gallery_image_ids(),
    ];

    wp_send_json($data);
    wp_die();
}

// Register AJAX actions for logged-in and logged-out users
add_action('wp_ajax_coreframework_quick_view', 'coreframework_quick_view');
add_action('wp_ajax_nopriv_coreframework_quick_view', 'coreframework_quick_view');

Templates/Pages

How to import a template to Oxygen Builder?
WooCore comes with a dozen of ready-to-use templates that you can import using Oxygen's design set / library feature.

When you are in Oxygen Builder, you can locate WooCore templates by clicking +Add → Library → Design Sets → WooCore → Templates

Note: If you do not see WooCore listed in the Design Sets folder, please double check if you included a valid site key to the Oxygen settings as explained in the top of this page.
Main Template
The first template to import is the Main template. The main template consists header, footer and inner content. It also includes some code blocks, eg. for automatically disappearing notice box after adding a product to cart

Create a New Template in Oxygen, and set it as "Catch All".
Edit the page with Oxygen and import the Main template from WooCore as explained above.
Shop Archive
The same principles apply to Shop Archive. Create a New Template and apply it as Archive → Post Types → Product (You may also need to check All Archives)
Edit with Oxygen and +Add the Product Archive template of your choice.
Single Product
When assigning a single product template to your WooCommerce build, create a New Template and in Oxygen settings select Singular → Products
Edit with Oxygen and +Add the Single Product template of your choice.
Pages
There are also predesigned Cart, Checkout, My Account pages.

You can find them again in the Oxygen library, under WooCore / Pages folder.

Since you installed WooCommerce these pages should be already existing in your install. Just edit them with Oxygen and import the proper page from the library.
Contents
Copyright © 2024 CoreFramework.com
userstorecartmagnifiercrossmenuchevron-down