diff --git a/assets/src/admin.scss b/assets/src/admin.scss index 42494eca..f9a19987 100644 --- a/assets/src/admin.scss +++ b/assets/src/admin.scss @@ -1577,6 +1577,7 @@ End Settings Sidebar } .dashboard-pricing-page { + .dashboad-content, .sg_pricing_table { margin-top: 20px; @@ -1618,6 +1619,7 @@ End Settings Sidebar } .dashboard-pricing-page { + .dashboad-content, .sg_pricing_table { margin-top: 20px; @@ -2297,11 +2299,23 @@ End Settings Sidebar } } } - + &.radio-icon-field{ + &.quick-icon-layout { + @media (max-width: 1440px) { + grid-template-rows: repeat(1, auto); + } + } + } &.radio-img-field { height: 100%; margin-top: 20px; + &.quick-cart-layout { + @media (max-width: 1440px) { + grid-template-rows: repeat(1, auto); + } + } + label.ant-radio-button-wrapper { color: #073B4C; font-size: 14px; @@ -2398,7 +2412,7 @@ End Settings Sidebar span { @media (max-width: 1440px) { - display: none; + display: none; } } diff --git a/includes/modules/fly-cart/assets/js/wfc-script.js b/includes/modules/fly-cart/assets/js/wfc-script.js index c5110ce1..88d9da6a 100644 --- a/includes/modules/fly-cart/assets/js/wfc-script.js +++ b/includes/modules/fly-cart/assets/js/wfc-script.js @@ -166,7 +166,7 @@ event.preventDefault(); const productId = jQuery(event?.target).data("id"); jQuery.ajax({ - url: wc_add_to_cart_params.ajax_url, + url: sgsbFrontend.ajaxUrl, type: "POST", data: { action: "woocommerce_add_to_cart", diff --git a/includes/modules/fly-cart/assets/src/components/DesignSettings.js b/includes/modules/fly-cart/assets/src/components/DesignSettings.js index da9be67d..f603a2f0 100644 --- a/includes/modules/fly-cart/assets/src/components/DesignSettings.js +++ b/includes/modules/fly-cart/assets/src/components/DesignSettings.js @@ -45,6 +45,7 @@ const DesignSettings = ({ name={ `icon_name` } options={ [ ...iconOptions ] } changeHandler={ onFieldChange } + classes={ `radio-icon-field quick-icon-layout` } fieldValue={ formData.icon_name } title={ __( `Cart Icon`, 'storegrowth-sales-booster' ) } /> diff --git a/includes/modules/fly-cart/assets/src/components/GeneralSettings.js b/includes/modules/fly-cart/assets/src/components/GeneralSettings.js index 0ca0b868..390e9691 100644 --- a/includes/modules/fly-cart/assets/src/components/GeneralSettings.js +++ b/includes/modules/fly-cart/assets/src/components/GeneralSettings.js @@ -50,7 +50,7 @@ const GeneralSettings = ({