Plugin Directory

Changeset 3099520


Ignore:
Timestamp:
06/07/2024 05:25:06 PM (20 months ago)
Author:
bbioon
Message:

merchant release

Location:
merchant
Files:
869 added
2 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • merchant/trunk/admin/classes/class-merchant-admin-options.php

    r3092224 r3099520  
    403403                        }
    404404
    405 
    406405                        $options[ $settings['module'] ][ $field['id'] ] = self::sanitize( $field, $value );
    407406                    }
     
    592591                if ( ! $value && ( 0 !== $value && '0' !== $value ) ) {
    593592                    if ( $type === 'checkbox_multiple' ) {
    594                         $value = is_array( $default ) ? $default : array();
     593                        $value = is_array( $value ) ? $value : (array) $default;
    595594                    } else {
    596595                        $value = $default;
     
    806805        public static function checkbox_multiple( $settings, $value ) {
    807806            if ( ! empty( $settings['options'] ) ) : ?>
     807                <!-- required to save when all options are unchecked -->
     808                <input type="hidden" name="merchant[<?php echo esc_attr( $settings['id'] ); ?>]" value="0">
    808809                <?php
    809810                foreach ( $settings['options'] as $key => $option ) : ?>
     
    13531354                $query_args['post__not_in'] = array_map( 'absint', $added_ids );
    13541355            }
     1356
     1357            // Filter by category slugs.
     1358            $categories = array_map( 'sanitize_text_field', $_POST['categories'] ?? array() );
     1359            if ( is_array( $categories ) && ! empty( $categories ) ) {
     1360                $query_args['tax_query'][] = array(
     1361                    'taxonomy' => 'product_cat',
     1362                    'field'    => 'slug',
     1363                    'terms'    => $categories,
     1364                    'operator' => 'IN',
     1365                );
     1366            }
    13551367
    13561368            $query = new WP_Query( $query_args );
  • merchant/trunk/admin/notices/class-merchant-notice-upsell.php

    r3079548 r3099520  
    4747        ?>
    4848        <div class="merchant-notice merchant-notice-with-thumbnail notice" style="position:relative;">
    49             <h3><?php echo esc_html__( 'Earn More with Your Store and Merchant Pro! 💰', 'merchant' ); ?></h3>
     49            <h3><?php echo esc_html__( 'Supercharge Your Store with Merchant Pro! 🚀', 'merchant' ); ?></h3>
    5050
    5151            <p>
    5252                <?php
    53                     echo esc_html__( 'Merchant Pro packs in all the must-have eCommerce features you need to run your store successfully. With 40+ powerful modules and more to come, Merchant Pro will level up your store and save you the hassle of managing multiple plugins.', 'merchant' );
     53                    echo esc_html__( 'With Merchant Pro\'s 40+ powerful modules — including Product Bundles, Frequently Bought Together, and Bulk Discounts — you can boost sales, enhance customer experience, and minimize cart abandonment, all from one convenient plugin.', 'merchant' );
    5454                ?>
    5555            </p>
  • merchant/trunk/assets/css/modules/product-labels/product-labels.css

    r3092224 r3099520  
    44 *
    55 */
    6 .type-product {
    7   position: relative;
    8 }
    9 
    106.merchant-product-labels {
    117  -ms-flex-wrap: wrap;
     
    4541.merchant-product-labels__text .merchant-label {
    4642  position: relative;
    47   padding: 8px;
     43  padding: 0 8px;
    4844}
    4945.merchant-product-labels__image img {
     
    163159  overflow: hidden;
    164160}
     161
     162.type-product {
     163  position: relative;
     164}
     165.type-product a img {
     166  width: 100%;
     167}
     168
     169.wc-block-grid__product a {
     170  overflow: hidden;
     171}
     172
     173.theme-kadence .editor-styles-wrapper .wc-block-grid__product a, .theme-kadence .editor-styles-wrapper .wc-block-grid__product-image, .theme-kadence .editor-styles-wrapper .wc-block-grid__product-image img {
     174  width: 100% !important;
     175}
  • merchant/trunk/assets/css/modules/product-labels/product-labels.min.css

    r3092224 r3099520  
    1 .type-product{position:relative}.merchant-product-labels{-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;position:absolute;top:10px;z-index:10;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;display:none}@media(min-width: 769px){.merchant-product-labels.show-on-desktop{display:-webkit-box;display:-ms-flexbox;display:flex}}@media(max-width: 768px){.merchant-product-labels.show-on-mobile{display:-webkit-box;display:-ms-flexbox;display:flex}}.merchant-product-labels.position-top-left{left:10px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.merchant-product-labels.position-top-right{right:10px}.merchant-product-labels__text .merchant-label{position:relative;padding:8px}.merchant-product-labels__image img{height:100%;width:100%;display:block}.merchant-product-labels .merchant-label{line-height:1;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.merchant-product-labels .merchant-label .woocommerce-Price-amount{color:inherit}.merchant-product-labels .merchant-label-shape-rounded{border-radius:4px}.merchant-product-labels.merchant-product-labels__text-shape-2{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.merchant-product-labels.merchant-product-labels__text-shape-2 .merchant-label{background:inherit;border-top-left-radius:inherit;border-bottom-left-radius:inherit;padding-left:10px}.merchant-product-labels.merchant-product-labels__text-shape-2 .merchant-label:after{content:"";position:absolute;width:15px;top:0;bottom:0;right:-10px;background:inherit;z-index:-1;clip-path:polygon(0 0, 100% 0%, 34% 100%, 0% 100%)}.merchant-product-labels.merchant-product-labels__text-shape-3{clip-path:polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%)}.merchant-product-labels.merchant-product-labels__text-shape-3 .merchant-label{padding-left:12px}.merchant-product-labels.merchant-product-labels__text-shape-4{clip-path:polygon(100% 0px, 100% 100%, 0% 100%, 10px 50%, 0% 0%);border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.merchant-product-labels.merchant-product-labels__text-shape-4 .merchant-label{padding-left:12px}.merchant-product-labels.merchant-product-labels__text-shape-5{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.merchant-product-labels.merchant-product-labels__text-shape-5.position-top-left{-webkit-transform:rotate(-45deg) translate(-50%, 50%);transform:rotate(-45deg) translate(-50%, 50%);-webkit-transform-origin:left;transform-origin:left}.merchant-product-labels.merchant-product-labels__text-shape-5.position-top-right{-webkit-transform:rotate(45deg) translate(50%, 50%);transform:rotate(45deg) translate(50%, 50%);-webkit-transform-origin:right;transform-origin:right}.merchant-product-labels.merchant-product-labels__text-shape-6{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transform:rotate(-45deg) translate(-50%, 50%);transform:rotate(-45deg) translate(-50%, 50%);-webkit-transform-origin:left;transform-origin:left}.merchant-product-labels.merchant-product-labels__text-shape-6.position-top-left{-webkit-transform:rotate(-45deg) translate(-50%, 25%);transform:rotate(-45deg) translate(-50%, 25%);-webkit-transform-origin:left;transform-origin:left}.merchant-product-labels.merchant-product-labels__text-shape-6.position-top-right{-webkit-transform:rotate(45deg) translate(50%, 25%);transform:rotate(45deg) translate(50%, 25%);-webkit-transform-origin:right;transform-origin:right}.merchant-product-labels.merchant-product-labels__text-shape-6:after{content:"";background:inherit;position:absolute;z-index:-1;top:-100%;bottom:0;left:0;right:0}.merchant-product-labels.merchant-product-labels__text-shape-8{border-radius:50%}.merchant-product-labels-image-wrap{overflow:hidden}
     1.merchant-product-labels{-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;position:absolute;top:10px;z-index:10;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;display:none}@media(min-width: 769px){.merchant-product-labels.show-on-desktop{display:-webkit-box;display:-ms-flexbox;display:flex}}@media(max-width: 768px){.merchant-product-labels.show-on-mobile{display:-webkit-box;display:-ms-flexbox;display:flex}}.merchant-product-labels.position-top-left{left:10px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.merchant-product-labels.position-top-right{right:10px}.merchant-product-labels__text .merchant-label{position:relative;padding:0 8px}.merchant-product-labels__image img{height:100%;width:100%;display:block}.merchant-product-labels .merchant-label{line-height:1;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.merchant-product-labels .merchant-label .woocommerce-Price-amount{color:inherit}.merchant-product-labels .merchant-label-shape-rounded{border-radius:4px}.merchant-product-labels.merchant-product-labels__text-shape-2{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.merchant-product-labels.merchant-product-labels__text-shape-2 .merchant-label{background:inherit;border-top-left-radius:inherit;border-bottom-left-radius:inherit;padding-left:10px}.merchant-product-labels.merchant-product-labels__text-shape-2 .merchant-label:after{content:"";position:absolute;width:15px;top:0;bottom:0;right:-10px;background:inherit;z-index:-1;clip-path:polygon(0 0, 100% 0%, 34% 100%, 0% 100%)}.merchant-product-labels.merchant-product-labels__text-shape-3{clip-path:polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%)}.merchant-product-labels.merchant-product-labels__text-shape-3 .merchant-label{padding-left:12px}.merchant-product-labels.merchant-product-labels__text-shape-4{clip-path:polygon(100% 0px, 100% 100%, 0% 100%, 10px 50%, 0% 0%);border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.merchant-product-labels.merchant-product-labels__text-shape-4 .merchant-label{padding-left:12px}.merchant-product-labels.merchant-product-labels__text-shape-5{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.merchant-product-labels.merchant-product-labels__text-shape-5.position-top-left{-webkit-transform:rotate(-45deg) translate(-50%, 50%);transform:rotate(-45deg) translate(-50%, 50%);-webkit-transform-origin:left;transform-origin:left}.merchant-product-labels.merchant-product-labels__text-shape-5.position-top-right{-webkit-transform:rotate(45deg) translate(50%, 50%);transform:rotate(45deg) translate(50%, 50%);-webkit-transform-origin:right;transform-origin:right}.merchant-product-labels.merchant-product-labels__text-shape-6{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transform:rotate(-45deg) translate(-50%, 50%);transform:rotate(-45deg) translate(-50%, 50%);-webkit-transform-origin:left;transform-origin:left}.merchant-product-labels.merchant-product-labels__text-shape-6.position-top-left{-webkit-transform:rotate(-45deg) translate(-50%, 25%);transform:rotate(-45deg) translate(-50%, 25%);-webkit-transform-origin:left;transform-origin:left}.merchant-product-labels.merchant-product-labels__text-shape-6.position-top-right{-webkit-transform:rotate(45deg) translate(50%, 25%);transform:rotate(45deg) translate(50%, 25%);-webkit-transform-origin:right;transform-origin:right}.merchant-product-labels.merchant-product-labels__text-shape-6:after{content:"";background:inherit;position:absolute;z-index:-1;top:-100%;bottom:0;left:0;right:0}.merchant-product-labels.merchant-product-labels__text-shape-8{border-radius:50%}.merchant-product-labels-image-wrap{overflow:hidden}.type-product{position:relative}.type-product a img{width:100%}.wc-block-grid__product a{overflow:hidden}.theme-kadence .editor-styles-wrapper .wc-block-grid__product a,.theme-kadence .editor-styles-wrapper .wc-block-grid__product-image,.theme-kadence .editor-styles-wrapper .wc-block-grid__product-image img{width:100% !important}
  • merchant/trunk/assets/css/modules/sticky-add-to-cart/sticky-add-to-cart.css

    r3059289 r3099520  
    1212  -webkit-transition: ease opacity 300ms, ease bottom 300ms;
    1313  transition: ease opacity 300ms, ease bottom 300ms;
    14   z-index: 998;
     14  z-index: 9999;
    1515}
    1616.merchant-sticky-add-to-cart-wrapper.position-top {
     
    2222.merchant-sticky-add-to-cart-wrapper.position-bottom {
    2323  bottom: 0;
     24}
     25.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .button,
     26.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content form .button,
     27.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .button,
     28.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile form .button {
     29  margin-top: 0;
     30}
     31.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form,
     32.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form {
     33  -webkit-box-orient: horizontal;
     34  -webkit-box-direction: normal;
     35      -ms-flex-direction: row;
     36          flex-direction: row;
     37  margin-block: 0;
     38}
     39.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .woocommerce-variation-description,
     40.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .woocommerce-variation-description {
     41  display: none;
     42}
     43.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations,
     44.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations {
     45  margin-bottom: 0;
     46}
     47.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tbody,
     48.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tbody {
     49  display: -webkit-box;
     50  display: -ms-flexbox;
     51  display: flex;
     52}
     53.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr,
     54.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tr {
     55  padding: 0 5px 0 0;
     56  display: block;
     57  margin: 0;
     58  border: none;
     59}
     60.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr:last-child,
     61.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tr:last-child {
     62  padding: 0;
     63}
     64.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations td.value > select,
     65.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations td.value > select {
     66  min-width: 150px;
     67  width: 100%;
     68  height: auto;
     69  margin: 0;
     70  padding: 10px 15px 10px 12px;
     71  border: 1px solid var(--mrc-sticky-adtc-border-color, #e2e2e2);
     72  border-radius: 2px;
     73  -webkit-appearance: none;
     74     -moz-appearance: none;
     75          appearance: none;
     76  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE1IDE1IiB3aWR0aD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNC4xODE3OSA2LjE4MTgxQzQuMzU3NTMgNi4wMDYwOCA0LjY0MjQ1IDYuMDA2MDggNC44MTgxOSA2LjE4MTgxTDcuNDk5OTkgOC44NjM2MkwxMC4xODE4IDYuMTgxODFDMTAuMzU3NSA2LjAwNjA4IDEwLjY0MjQgNi4wMDYwOCAxMC44MTgyIDYuMTgxODFDMTAuOTkzOSA2LjM1NzU1IDEwLjk5MzkgNi42NDI0NyAxMC44MTgyIDYuODE4MjFMNy44MTgxOSA5LjgxODIxQzcuNzMzNzkgOS45MDI2IDcuNjE5MzQgOS45NTAwMSA3LjQ5OTk5IDkuOTUwMDFDNy4zODA2NCA5Ljk1MDAxIDcuMjY2MTggOS45MDI2IDcuMTgxNzkgOS44MTgyMUw0LjE4MTc5IDYuODE4MjFDNC4wMDYwNSA2LjY0MjQ3IDQuMDA2MDUgNi4zNTc1NSA0LjE4MTc5IDYuMTgxODFaIiBmaWxsPSJjdXJyZW50Q29sb3IiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==");
     77  background-repeat: no-repeat;
     78  background-position: right 7px center;
     79  background-size: 20px 20px;
     80}
     81.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .label label,
     82.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .label label {
     83  display: none;
     84}
     85.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) tr, .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) tr,
     86.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) tr,
     87.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) tr {
     88  padding: 0 15px 0 0;
     89}
     90.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) tr:last-child, .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) tr:last-child,
     91.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) tr:last-child,
     92.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) tr:last-child {
     93  padding-right: 0;
     94}
     95.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) .label, .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) .label,
     96.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) .label,
     97.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) .label {
     98  width: auto;
     99  padding-right: 10px;
     100}
     101.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) .label label, .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) .label label,
     102.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) .label label,
     103.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) .label label {
     104  display: block;
     105  margin-bottom: 0;
     106}
     107.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations + .single_variation_wrap,
     108.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations + .single_variation_wrap {
     109  margin-left: 15px;
     110}
     111.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .botiga-variations-wrapper > div,
     112.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .merchant-variations-wrapper > div,
     113.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .botiga-variations-wrapper > div,
     114.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .merchant-variations-wrapper > div {
     115  -ms-flex-wrap: nowrap;
     116      flex-wrap: nowrap;
     117}
     118.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .botiga-variations-wrapper > div a,
     119.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .merchant-variations-wrapper > div a,
     120.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .botiga-variations-wrapper > div a,
     121.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .merchant-variations-wrapper > div a {
     122  min-width: auto;
     123  min-height: auto;
     124}
     125.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .botiga-variations-wrapper > div a.active,
     126.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .merchant-variations-wrapper > div a.active,
     127.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .botiga-variations-wrapper > div a.active,
     128.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .merchant-variations-wrapper > div a.active {
     129  border-color: #000;
     130  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.65);
     131          box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.65);
     132}
     133.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap,
     134.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap {
     135  display: -webkit-box;
     136  display: -ms-flexbox;
     137  display: flex;
     138  -webkit-box-align: center;
     139      -ms-flex-align: center;
     140          align-items: center;
     141  margin-left: 20px;
     142}
     143.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,
     144.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart {
     145  -ms-flex-wrap: nowrap;
     146      flex-wrap: nowrap;
     147}
     148.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-price,
     149.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap .woocommerce-variation-price {
     150  margin: 0 15px 0 0;
     151}
     152.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .quantity,
     153.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap .quantity {
     154  max-height: 51px;
    24155}
    25156.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile {
     
    66197}
    67198.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .stock {
    68   margin-bottom: 0;
     199  margin-block: 0;
    69200  margin-right: 20px;
    70201}
    71202.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity {
    72   max-height: 51px;
     203  -ms-flex-item-align: center;
     204      align-self: center;
     205  max-height: 42px;
    73206  margin: 0;
    74207}
     
    76209  white-space: nowrap;
    77210  margin-left: 15px;
    78   max-height: 51px;
     211  margin-top: 0;
    79212}
    80213.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart,
     
    169302          flex-direction: row;
    170303  margin-bottom: 0;
     304  border: none;
    171305}
    172306.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr:last-child .value {
    173307  position: relative;
    174308}
     309.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .label,
     310.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .value {
     311  background: none;
     312}
    175313.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .label {
    176314  vertical-align: middle;
    177   min-width: 64px;
    178315}
    179316.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .value {
    180317  width: 100%;
     318}
     319.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr label {
     320  margin-block: 0;
    181321}
    182322.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations td, .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations th {
     
    201341  -ms-flex-wrap: nowrap !important;
    202342      flex-wrap: nowrap !important;
     343  -webkit-box-align: center;
     344      -ms-flex-align: center;
     345          align-items: center;
    203346}
    204347.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .ct-cart-actions {
     
    213356.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .sydney-single-addtocart-wrapper .qty {
    214357  max-height: 100%;
    215 }
    216 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form {
    217   -webkit-box-orient: horizontal;
    218   -webkit-box-direction: normal;
    219       -ms-flex-direction: row;
    220           flex-direction: row;
    221 }
    222 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .woocommerce-variation-description {
    223   display: none;
    224 }
    225 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations {
    226   margin-bottom: 0;
    227 }
    228 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tbody {
    229   display: -webkit-box;
    230   display: -ms-flexbox;
    231   display: flex;
    232 }
    233 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr {
    234   padding: 0 15px 0 0;
    235 }
    236 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr:last-child {
    237   padding: 0;
    238 }
    239 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations td.value > select {
    240   margin: 0;
    241 }
    242 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .label {
    243   width: auto;
    244   padding-right: 10px;
    245 }
    246 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations + .single_variation_wrap {
    247   margin-left: 15px;
    248 }
    249 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap {
    250   display: -webkit-box;
    251   display: -ms-flexbox;
    252   display: flex;
    253   -webkit-box-align: center;
    254       -ms-flex-align: center;
    255           align-items: center;
    256   margin-left: 20px;
    257 }
    258 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart {
    259   -ms-flex-wrap: nowrap;
    260       flex-wrap: nowrap;
    261 }
    262 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-price {
    263   margin: 0 15px 0 0;
    264 }
    265 .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .quantity {
    266   max-height: 51px;
    267358}
    268359.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .stock.out-of-stock {
     
    306397  opacity: 0.7;
    307398}
     399.merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button,
    308400.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button {
    309401  background-color: var(--mrc-sticky-adtc-button-bg-color, #212121) !important;
    310402  color: var(--mrc-sticky-adtc-button-color, #FFF) !important;
    311403}
    312 .merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:hover, .merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:focus, .merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:active {
     404.merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button:hover, .merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button:focus, .merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button:active,
     405.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:hover,
     406.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:focus,
     407.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:active {
    313408  background-color: var(--mrc-sticky-adtc-button-bg-color-hover, #757575) !important;
    314409  color: var(--mrc-sticky-adtc-button-color-hover, #FFF) !important;
     
    326421    display: none;
    327422    text-transform: uppercase;
     423  }
     424  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .woocommerce-variation-add-to-cart {
     425    width: 100%;
     426    display: -webkit-box;
     427    display: -ms-flexbox;
     428    display: flex;
     429    -webkit-box-align: center;
     430        -ms-flex-align: center;
     431            align-items: center;
     432    -webkit-box-pack: center;
     433        -ms-flex-pack: center;
     434            justify-content: center;
     435    -ms-flex-wrap: wrap !important;
     436        flex-wrap: wrap !important;
     437    gap: 15px;
     438  }
     439  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tbody {
     440    -webkit-box-pack: center;
     441        -ms-flex-pack: center;
     442            justify-content: center;
     443    -webkit-box-align: center;
     444        -ms-flex-align: center;
     445            align-items: center;
     446    gap: 15px;
     447  }
     448  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations,
     449  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations td,
     450  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations th {
     451    border: none;
     452    padding: 0;
     453    background: none;
     454    vertical-align: middle;
     455  }
     456  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tr {
     457    padding-right: 0;
    328458  }
    329459  .merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content {
     
    471601  }
    472602}
    473 @media (min-width: 601px) {
     603@media (min-width: 769px) {
    474604  body.admin-bar .merchant-sticky-add-to-cart-wrapper {
    475605    top: 32px;
     606  }
     607}
     608@media (max-width: 768px) {
     609  body.admin-bar .merchant-sticky-add-to-cart-wrapper {
     610    top: 46px;
    476611  }
    477612}
  • merchant/trunk/assets/css/modules/sticky-add-to-cart/sticky-add-to-cart.min.css

    r3059289 r3099520  
    1 .merchant-sticky-add-to-cart-wrapper{position:sticky;padding:15px 0;background:var(--mrc-sticky-adtc-bg-color, #FFF);border-top:1px solid var(--mrc-sticky-adtc-border-color, #e2e2e2);border-bottom:1px solid var(--mrc-sticky-adtc-border-color, #e2e2e2);opacity:0;visibility:hidden;-webkit-transition:ease opacity 300ms,ease bottom 300ms;transition:ease opacity 300ms,ease bottom 300ms;z-index:998}.merchant-sticky-add-to-cart-wrapper.position-top{position:fixed;top:0;left:0;width:100vw}.merchant-sticky-add-to-cart-wrapper.position-bottom{bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:0 20px;gap:var(--mrc-sticky-adtc-elements-spacing, 35px)}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item:last-child{margin-right:0 !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-image{width:75px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-title h5{font-weight:700;color:var(--mrc-sticky-adtc-title-color, #212121);margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-price .price{margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .stock{margin-bottom:0;margin-right:20px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity{max-height:51px;margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .button{white-space:nowrap;margin-left:15px;max-height:51px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .botiga-single-addtocart-wrapper,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .sydney-single-addtocart-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important;margin-block:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .qty,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .botiga-single-addtocart-wrapper .qty,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .sydney-single-addtocart-wrapper .qty{max-height:100%}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .grouped_form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table{display:block;border:none;max-height:85px;overflow:auto;margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table::-webkit-scrollbar{width:7px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table::-webkit-scrollbar-track{background:#e2e2e2}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table::-webkit-scrollbar-thumb{background-color:#ccc}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:first-child{padding-top:0;padding-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:first-child td{padding-top:0;padding-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:not(:first-child)+tr{padding-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:not(:first-child)+tr td{padding-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody td{border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important;margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations{border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tbody>tr+tr>td{padding-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr:last-child .value{position:relative}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .label{vertical-align:middle;min-width:64px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .value{width:100%}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations td,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations th{padding:0;border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations th{padding-right:10px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations .reset_variations{position:absolute;top:100%;right:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .reset_variations{margin:0 0 0 15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .ct-cart-actions{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .sydney-single-addtocart-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .sydney-single-addtocart-wrapper .qty{max-height:100%}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .woocommerce-variation-description{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations{margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tbody{display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr{padding:0 15px 0 0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr:last-child{padding:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations td.value>select{margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .label{width:auto;padding-right:10px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations+.single_variation_wrap{margin-left:15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:20px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-price{margin:0 15px 0 0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .quantity{max-height:51px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .stock.out-of-stock{margin:0}.merchant-sticky-add-to-cart-wrapper.hide-product-image .product-image{display:none}.merchant-sticky-add-to-cart-wrapper.hide-product-title .product-title{display:none}.merchant-sticky-add-to-cart-wrapper.hide-product-price .product-price{display:none}.merchant-sticky-add-to-cart-wrapper div[id*=wcpay-],.merchant-sticky-add-to-cart-wrapper p[id*=wcpay-]{display:none !important}.merchant-sticky-add-to-cart-wrapper div[id*=wc-stripe-payment-],.merchant-sticky-add-to-cart-wrapper p[id*=wc-stripe-payment-]{display:none !important}.merchant-sticky-add-to-cart-wrapper select,.merchant-sticky-add-to-cart-wrapper .quantity,.merchant-sticky-add-to-cart-wrapper .botiga-variations-wrapper .botiga-variation-type-button>a{border-color:var(--mrc-sticky-adtc-border-color, #e2e2e2)}.merchant-sticky-add-to-cart-wrapper .price,.merchant-sticky-add-to-cart-wrapper .product-price,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper select,.merchant-sticky-add-to-cart-wrapper .botiga-variations-wrapper .botiga-variation-type-button>a,.merchant-sticky-add-to-cart-wrapper .quantity .botiga-quantity-plus,.merchant-sticky-add-to-cart-wrapper .quantity .botiga-quantity-minus,.merchant-sticky-add-to-cart-wrapper .qty,.merchant-sticky-add-to-cart-wrapper table.variations .reset_variations{color:var(--mrc-sticky-adtc-content-color, #212121)}.merchant-sticky-add-to-cart-wrapper .price del{color:var(--mrc-sticky-adtc-content-color, #212121);opacity:.7}.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button{background-color:var(--mrc-sticky-adtc-button-bg-color, #212121) !important;color:var(--mrc-sticky-adtc-button-color, #FFF) !important}.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:hover,.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:focus,.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:active{background-color:var(--mrc-sticky-adtc-button-bg-color-hover, #757575) !important;color:var(--mrc-sticky-adtc-button-color-hover, #FFF) !important}@media(max-width: 1024px){.merchant-sticky-add-to-cart-wrapper.visible-desktop-only{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile{display:block;text-align:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .merchant-mobile-sticky-close-button{display:none;text-transform:uppercase}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content{display:none;padding:0 15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item{margin-right:20px !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-title{max-width:190px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>form:not(.variations_form){display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:380px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .variations{width:auto;line-height:1 !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .single_variation_wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;margin-top:25px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart{display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .single_add_to_cart_button{background-repeat:no-repeat;background-position:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart select{padding:10px;min-height:35px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active{position:fixed;top:0 !important;left:0;width:100%;padding:20px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active.position-top{bottom:0}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-mobile-sticky-addtocart-button{display:none}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-mobile-sticky-close-button{display:block}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding-top:30px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item{text-align:left !important;margin-right:0 !important}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item:not(.product-image){width:100%;max-width:none;text-align:center}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form .single_variation_wrap{display:block;margin:50px 0 0}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form .single_variation_wrap .woocommerce-variation-price{font-size:1.5rem;margin:25px 0 10px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form{display:block}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tbody{display:block}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr{padding:0}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr+tr td{padding-top:20px !important}}@media(max-width: 767px){.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content{-ms-flex-wrap:wrap;flex-wrap:wrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-price{width:100%;text-align:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .single_variation_wrap{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media(min-width: 1025px){.merchant-sticky-add-to-cart-wrapper.visible-mobile-only{display:none}}@media(min-width: 601px){body.admin-bar .merchant-sticky-add-to-cart-wrapper{top:32px}}body.merchant-sticky-addtocart-active .merchant-sticky-add-to-cart-wrapper{opacity:1;visibility:visible}body:not(.merchant-scrolling-up) .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:-180px !important}body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-top{top:-180px !important}body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:-180px !important}@media(max-width: 767px){body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-top{top:-300px !important}body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:-300px !important}}body.merchant-scrolling-down .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:0 !important}@media(max-width: 767px){body.merchant-scrolling-down .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:0 !important}}@media(max-width: 1025px){.merchant-sticky-add-to-cart-wrapper{--mrc-sticky-adtc-elements-spacing: 15px !important}}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity .botiga-quantity-plus,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity .botiga-quantity-minus{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .botiga-variations-wrapper .botiga-variation-type-button>a{margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form .single_variation_wrap .botiga-single-addtocart-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.rtl .merchant-sticky-add-to-cart-item .single_add_to_cart_button{margin-left:unset;margin-right:15px}
     1.merchant-sticky-add-to-cart-wrapper{position:sticky;padding:15px 0;background:var(--mrc-sticky-adtc-bg-color, #FFF);border-top:1px solid var(--mrc-sticky-adtc-border-color, #e2e2e2);border-bottom:1px solid var(--mrc-sticky-adtc-border-color, #e2e2e2);opacity:0;visibility:hidden;-webkit-transition:ease opacity 300ms,ease bottom 300ms;transition:ease opacity 300ms,ease bottom 300ms;z-index:9999}.merchant-sticky-add-to-cart-wrapper.position-top{position:fixed;top:0;left:0;width:100vw}.merchant-sticky-add-to-cart-wrapper.position-bottom{bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .button,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content form .button,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .button,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile form .button{margin-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-block:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .woocommerce-variation-description,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .woocommerce-variation-description{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations{margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tbody,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tbody{display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tr{padding:0 5px 0 0;display:block;margin:0;border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr:last-child,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tr:last-child{padding:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations td.value>select,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations td.value>select{min-width:150px;width:100%;height:auto;margin:0;padding:10px 15px 10px 12px;border:1px solid var(--mrc-sticky-adtc-border-color, #e2e2e2);border-radius:2px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE1IDE1IiB3aWR0aD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNC4xODE3OSA2LjE4MTgxQzQuMzU3NTMgNi4wMDYwOCA0LjY0MjQ1IDYuMDA2MDggNC44MTgxOSA2LjE4MTgxTDcuNDk5OTkgOC44NjM2MkwxMC4xODE4IDYuMTgxODFDMTAuMzU3NSA2LjAwNjA4IDEwLjY0MjQgNi4wMDYwOCAxMC44MTgyIDYuMTgxODFDMTAuOTkzOSA2LjM1NzU1IDEwLjk5MzkgNi42NDI0NyAxMC44MTgyIDYuODE4MjFMNy44MTgxOSA5LjgxODIxQzcuNzMzNzkgOS45MDI2IDcuNjE5MzQgOS45NTAwMSA3LjQ5OTk5IDkuOTUwMDFDNy4zODA2NCA5Ljk1MDAxIDcuMjY2MTggOS45MDI2IDcuMTgxNzkgOS44MTgyMUw0LjE4MTc5IDYuODE4MjFDNC4wMDYwNSA2LjY0MjQ3IDQuMDA2MDUgNi4zNTc1NSA0LjE4MTc5IDYuMTgxODFaIiBmaWxsPSJjdXJyZW50Q29sb3IiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==");background-repeat:no-repeat;background-position:right 7px center;background-size:20px 20px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .label label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .label label{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) tr,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) tr,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) tr,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) tr{padding:0 15px 0 0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) tr:last-child,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) tr:last-child,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) tr:last-child,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) tr:last-child{padding-right:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) .label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) .label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) .label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) .label{width:auto;padding-right:10px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.botiga-variations-wrapper) .label label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations:has(.merchant-variations-wrapper) .label label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.botiga-variations-wrapper) .label label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations:has(.merchant-variations-wrapper) .label label{display:block;margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations+.single_variation_wrap,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations+.single_variation_wrap{margin-left:15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .botiga-variations-wrapper>div,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .merchant-variations-wrapper>div,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .botiga-variations-wrapper>div,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .merchant-variations-wrapper>div{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .botiga-variations-wrapper>div a,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .merchant-variations-wrapper>div a,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .botiga-variations-wrapper>div a,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .merchant-variations-wrapper>div a{min-width:auto;min-height:auto}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .botiga-variations-wrapper>div a.active,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .merchant-variations-wrapper>div a.active,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .botiga-variations-wrapper>div a.active,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations .merchant-variations-wrapper>div a.active{border-color:#000;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.65);box-shadow:inset 0 0 2px rgba(0,0,0,.65)}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:20px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap .woocommerce-variation-add-to-cart{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .woocommerce-variation-price,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap .woocommerce-variation-price{margin:0 15px 0 0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form .single_variation_wrap .quantity,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .single_variation_wrap .quantity{max-height:51px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:0 20px;gap:var(--mrc-sticky-adtc-elements-spacing, 35px)}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item:last-child{margin-right:0 !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-image{width:75px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-title h5{font-weight:700;color:var(--mrc-sticky-adtc-title-color, #212121);margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-price .price{margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .stock{margin-block:0;margin-right:20px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity{-ms-flex-item-align:center;align-self:center;max-height:42px;margin:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .button{white-space:nowrap;margin-left:15px;margin-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .botiga-single-addtocart-wrapper,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .sydney-single-addtocart-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important;margin-block:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .qty,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .botiga-single-addtocart-wrapper .qty,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart form.cart .sydney-single-addtocart-wrapper .qty{max-height:100%}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .grouped_form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table{display:block;border:none;max-height:85px;overflow:auto;margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table::-webkit-scrollbar{width:7px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table::-webkit-scrollbar-track{background:#e2e2e2}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table::-webkit-scrollbar-thumb{background-color:#ccc}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:first-child{padding-top:0;padding-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:first-child td{padding-top:0;padding-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:not(:first-child)+tr{padding-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr:not(:first-child)+tr td{padding-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody tr,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .group_table tbody td{border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important;margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations{border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tbody>tr+tr>td{padding-top:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr:last-child .value{position:relative}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .value{background:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .label{vertical-align:middle}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr .value{width:100%}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations tr label{margin-block:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations td,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations th{padding:0;border:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations th{padding-right:10px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .variations .reset_variations{position:absolute;top:100%;right:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .reset_variations{margin:0 0 0 15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .ct-cart-actions{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .sydney-single-addtocart-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .woocommerce-variation-add-to-cart .sydney-single-addtocart-wrapper .qty{max-height:100%}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .stock.out-of-stock{margin:0}.merchant-sticky-add-to-cart-wrapper.hide-product-image .product-image{display:none}.merchant-sticky-add-to-cart-wrapper.hide-product-title .product-title{display:none}.merchant-sticky-add-to-cart-wrapper.hide-product-price .product-price{display:none}.merchant-sticky-add-to-cart-wrapper div[id*=wcpay-],.merchant-sticky-add-to-cart-wrapper p[id*=wcpay-]{display:none !important}.merchant-sticky-add-to-cart-wrapper div[id*=wc-stripe-payment-],.merchant-sticky-add-to-cart-wrapper p[id*=wc-stripe-payment-]{display:none !important}.merchant-sticky-add-to-cart-wrapper select,.merchant-sticky-add-to-cart-wrapper .quantity,.merchant-sticky-add-to-cart-wrapper .botiga-variations-wrapper .botiga-variation-type-button>a{border-color:var(--mrc-sticky-adtc-border-color, #e2e2e2)}.merchant-sticky-add-to-cart-wrapper .price,.merchant-sticky-add-to-cart-wrapper .product-price,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations .label,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper select,.merchant-sticky-add-to-cart-wrapper .botiga-variations-wrapper .botiga-variation-type-button>a,.merchant-sticky-add-to-cart-wrapper .quantity .botiga-quantity-plus,.merchant-sticky-add-to-cart-wrapper .quantity .botiga-quantity-minus,.merchant-sticky-add-to-cart-wrapper .qty,.merchant-sticky-add-to-cart-wrapper table.variations .reset_variations{color:var(--mrc-sticky-adtc-content-color, #212121)}.merchant-sticky-add-to-cart-wrapper .price del{color:var(--mrc-sticky-adtc-content-color, #212121);opacity:.7}.merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button,.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button{background-color:var(--mrc-sticky-adtc-button-bg-color, #212121) !important;color:var(--mrc-sticky-adtc-button-color, #FFF) !important}.merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button:hover,.merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button:focus,.merchant-sticky-add-to-cart-wrapper .merchant-mobile-sticky-addtocart-button:active,.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:hover,.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:focus,.merchant-sticky-add-to-cart-wrapper .single_add_to_cart_button:active{background-color:var(--mrc-sticky-adtc-button-bg-color-hover, #757575) !important;color:var(--mrc-sticky-adtc-button-color-hover, #FFF) !important}@media(max-width: 1024px){.merchant-sticky-add-to-cart-wrapper.visible-desktop-only{display:none}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile{display:block;text-align:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .merchant-mobile-sticky-close-button{display:none;text-transform:uppercase}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form .woocommerce-variation-add-to-cart{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap !important;flex-wrap:wrap !important;gap:15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tbody{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations td,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations th{border:none;padding:0;background:none;vertical-align:middle}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content-mobile .variations_form table.variations tr{padding-right:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content{display:none;padding:0 15px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item{margin-right:20px !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-title{max-width:190px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>form:not(.variations_form){display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:380px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .variations{width:auto;line-height:1 !important}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .single_variation_wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;margin-top:25px}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart{display:-webkit-box;display:-ms-flexbox;display:flex}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .single_add_to_cart_button{background-repeat:no-repeat;background-position:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart select{padding:10px;min-height:35px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active{position:fixed;top:0 !important;left:0;width:100%;padding:20px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active.position-top{bottom:0}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-mobile-sticky-addtocart-button{display:none}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-mobile-sticky-close-button{display:block}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding-top:30px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item{text-align:left !important;margin-right:0 !important}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item:not(.product-image){width:100%;max-width:none;text-align:center}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form .single_variation_wrap{display:block;margin:50px 0 0}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form .single_variation_wrap .woocommerce-variation-price{font-size:1.5rem;margin:25px 0 10px}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form{display:block}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tbody{display:block}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr{padding:0}.merchant-sticky-add-to-cart-wrapper.merchant-sticky-addtocart-mobile-active .merchant-sticky-add-to-cart-wrapper-content .variations_form table.variations tr+tr td{padding-top:20px !important}}@media(max-width: 767px){.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content{-ms-flex-wrap:wrap;flex-wrap:wrap}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-price{width:100%;text-align:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart>.variations_form .single_variation_wrap{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media(min-width: 1025px){.merchant-sticky-add-to-cart-wrapper.visible-mobile-only{display:none}}@media(min-width: 769px){body.admin-bar .merchant-sticky-add-to-cart-wrapper{top:32px}}@media(max-width: 768px){body.admin-bar .merchant-sticky-add-to-cart-wrapper{top:46px}}body.merchant-sticky-addtocart-active .merchant-sticky-add-to-cart-wrapper{opacity:1;visibility:visible}body:not(.merchant-scrolling-up) .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:-180px !important}body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-top{top:-180px !important}body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:-180px !important}@media(max-width: 767px){body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-top{top:-300px !important}body.merchant-scrolling-up .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:-300px !important}}body.merchant-scrolling-down .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:0 !important}@media(max-width: 767px){body.merchant-scrolling-down .merchant-sticky-add-to-cart-wrapper.hide-when-scroll.position-bottom{bottom:0 !important}}@media(max-width: 1025px){.merchant-sticky-add-to-cart-wrapper{--mrc-sticky-adtc-elements-spacing: 15px !important}}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity .botiga-quantity-plus,.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .quantity .botiga-quantity-minus{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form.cart .botiga-variations-wrapper .botiga-variation-type-button>a{margin-bottom:0}.merchant-sticky-add-to-cart-wrapper .merchant-sticky-add-to-cart-wrapper-content .merchant-sticky-add-to-cart-item.product-addtocart .variations_form .single_variation_wrap .botiga-single-addtocart-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.rtl .merchant-sticky-add-to-cart-item .single_add_to_cart_button{margin-left:unset;margin-right:15px}
  • merchant/trunk/assets/js/admin/admin.js

    r3092224 r3099520  
    498498            return;
    499499          }
    500           var $dataLayout = $duplicateBtn.data('layout');
    501           var $sourceLayout = $duplicateBtn.closest('.layout[data-type=' + $dataLayout + ']');
     500          var $sourceLayout = $duplicateBtn.closest('.layout');
    502501          if (!$sourceLayout.length) {
    503502            return;
     
    606605    // Products selector.
    607606    // Handle keyup event for the search input
     607    var debounceTimer;
    608608    $(document).on('keyup', '.merchant-module-page-setting-field-products_selector .merchant-search-field', function () {
     609      clearTimeout(debounceTimer);
     610      var $layout = $(this).closest('.layout');
     611      var categories = [];
     612      var $rules = $layout.find('.merchant-field-rules_to_apply select').val() || $layout.find('.merchant-field-rules_to_display select').val() || $layout.find('.merchant-field-display_rules select').val();
     613      if ($rules === 'categories' || $rules === 'by_category') {
     614        categories = $layout.find('.merchant-field-category_slugs select').val() || $layout.find('.merchant-field-product_cats select').val();
     615      }
    609616      var parent = $(this).closest('.merchant-products-search-container');
    610617      if ($(this).val() !== '') {
     
    615622          keyword: $(this).val(),
    616623          product_types: $(this).data('allowed-types'),
    617           ids: parent.find('.merchant-selected-products').val()
     624          ids: parent.find('.merchant-selected-products').val(),
     625          categories: categories
    618626        };
    619         $.post(merchant_admin_options.ajaxurl, data, function (response) {
    620           var results = parent.find('.merchant-selections-products-preview');
    621           results.show();
    622           results.html(response);
    623           parent.find('.merchant-searching').removeClass('active');
    624         });
     627        debounceTimer = setTimeout(function () {
     628          $.post(merchant_admin_options.ajaxurl, data, function (response) {
     629            var results = parent.find('.merchant-selections-products-preview');
     630            results.show();
     631            results.html(response);
     632            parent.find('.merchant-searching').removeClass('active');
     633          });
     634        }, 250);
    625635      } else {
    626636        parent.find('.merchant-selections-products-preview').html('').hide();
  • merchant/trunk/assets/js/admin/admin.min.js

    r3092224 r3099520  
    1 "use strict";!function(u,s,d,f){var l={},h=new URLSearchParams(s.location.search).get("module");function p(e){return"string"==typeof e&&!isNaN(e)&&!isNaN(parseFloat(e))}u(d).ready(function(){var e=u(".merchant-module-page-ajax-form"),a=u(".merchant-module-page-ajax-header"),n=(u(".merchant-module-save-button"),u(".merchant-module-page-content").on("change keypress change.merchant",function(){u(this).is(".merchant-module-question-answer-textarea, .merchant-license-code-input")||l.show_save||(a.addClass("merchant-show"),a.removeClass("merchant-saving"),l.show_save=!0)}),e.ajaxForm({beforeSubmit:function(){a.addClass("merchant-saving")},success:function(){var t;a.removeClass("merchant-show"),l.show_save=!1,u(".merchant-module-action").hasClass("merchant-enabled")||((t=u(".merchant-module-alert")).addClass("merchant-show"),u(d).off("click.merchant-alert-close"),u(d).on("click.merchant-alert-close",function(e){u(e.target).closest(".merchant-module-alert-wrapper").length||(t.removeClass("merchant-show"),u(d).off("click.merchant-alert-close"))})),u(d).trigger("save.merchant",[h])}}),u(".merchant-module-question-answer-button")),i=u(".merchant-module-question-answer-textarea"),e=(i.on("input",function(){n.prop("disabled",""===u(this).val().trim())}),n.on("click",function(e){e.preventDefault();var t,e=i.val();e.trim()?(t=u(this),u(".merchant-module-question-answer-dropdown").removeClass("merchant-show"),u(".merchant-module-question-thank-you-dropdown").addClass("merchant-show"),s.wp.ajax.post("merchant_module_feedback",{subject:i.attr("data-subject"),message:e,module:t.closest(".merchant-module-action").find(".merchant-module-page-button-action-activate").data("module"),nonce:s.merchant.nonce})):alert("Please provide the required information.")}),u(".merchant-module-page-button-action-activate").on("click",function(e){if(e.preventDefault(),u(this).hasClass("merchant-module-deactivated-by-bp"))return!1;u(".merchant-module-question-list-dropdown").removeClass("merchant-show"),u(".merchant-module-question-answer-dropdown").removeClass("merchant-show"),u(".merchant-module-question-answer-form").removeClass("merchant-show"),u(".merchant-module-question-answer-title").removeClass("merchant-show"),u(".merchant-module-question-thank-you-dropdown").removeClass("merchant-show"),u(".merchant-module-question-answer-textarea").val(""),s.wp.ajax.post("merchant_module_activate",{module:u(this).data("module"),nonce:s.merchant.nonce}).done(function(){u("body").removeClass("merchant-module-disabled").addClass("merchant-module-enabled"),u(".merchant-module-action").addClass("merchant-enabled")})}),u(".merchant-module-page-button-action-deactivate").on("click",function(e){e.preventDefault(),s.wp.ajax.post("merchant_module_deactivate",{module:u(this).data("module"),nonce:s.merchant.nonce}).done(function(){u("body").removeClass("merchant-module-enabled").addClass("merchant-module-disabled"),u(".merchant-module-action").removeClass("merchant-enabled"),u(".merchant-module-question-list-dropdown").addClass("merchant-show")})}),u(".merchant-module-question-list-dropdown li").on("click",function(e){n.prop("disabled",""===i.val().trim());var t=u(this),a=t.data("answer-target"),a=u('[data-answer-title="'+a+'"]');a.length?(a.addClass("merchant-show").siblings().removeClass("merchant-show"),u(".merchant-module-question-answer-dropdown").addClass("merchant-show"),u(".merchant-module-question-answer-textarea").attr("data-subject",t.text().trim())):(u(".merchant-module-question-thank-you-dropdown").addClass("merchant-show"),u(".merchant-module-question-answer-dropdown").removeClass("merchant-show")),u(".merchant-module-question-answer-textarea").val(""),u(".merchant-module-question-list-dropdown").removeClass("merchant-show")}),u(".merchant-module-dropdown-close").on("click",function(e){e.preventDefault(),u(this).closest(".merchant-module-dropdown").removeClass("merchant-show")}),u(".merchant-module-page-button-deactivate").on("click",function(e){e.preventDefault();u(this);var t=u(".merchant-module-deactivate-dropdown");t.toggleClass("merchant-show"),u(d).off("click.merchant-close"),u(d).on("click.merchant-close",function(e){u(e.target).closest(".merchant-module-deactivate").length||(t.removeClass("merchant-show"),u(d).off("click.merchant-close"))})}),u(".merchant-range").each(function(){var e=u(this),n=e.find(".merchant-range-input"),i=e.find(".merchant-range-number-input");n.on("change input merchant.range merchant-init.range",function(e){var t=u(this),e=("merchant"===e.type?i:t).val()||0,a=t.attr("min")||0,a=(e-a)/((t.attr("max")||1)-a)*100;u("body").hasClass("rtl")?t.css({background:"linear-gradient(to left, #3858E9 0%, #3858E9 "+a+"%, #ddd "+a+"%, #ddd 100%)"}):t.css({background:"linear-gradient(to right, #3858E9 0%, #3858E9 "+a+"%, #ddd "+a+"%, #ddd 100%)"}),n.val(e),i.val(e)}).trigger("merchant-init.range"),i.on("change input blur",function(){n.hasClass("merchant-range-input")&&n.val(u(this).val()).trigger("merchant.range")})}),u(d).on("click",".merchant-module-page-setting-field-hidden-desc-trigger",function(){var e=u(this),t=(e.toggleClass("expanded"),e.attr("data-show-text")),a=e.attr("data-hidden-text");u(this).find("span:first").text(e.text()===t?a:t),u(this).closest(".layout-field").find(".merchant-module-page-setting-field-hidden-desc").stop(!0,!0).slideToggle("fast")}),{init:function(e){this.events()},events:function(){u(d).on("click",".merchant-flexible-content .merchant-toggle-switch .toggle-switch-label span",function(){var e=u(this).closest(".merchant-toggle-switch").find(".toggle-switch-checkbox");e.prop("checked",!e.prop("checked"))}).trigger("merchant.change")}});({init:function(){this.initiate_datepicker(),this.events()},initiate_datepicker:function(){var e=u(".merchant-module-page-setting-field .merchant-datetime-field");0!==e.length&&e.each(function(){var a=u(this).find("input"),e={locale:JSON.parse(merchant_datepicker_locale),selectedDates:[a.val()?new Date(a.val()):""],onSelect:function(e){e.date;var t=e.formattedDate;e.datepicker;void 0===t&&a.val(""),a.trigger("change.merchant"),a.trigger("change.merchant-datepicker",[t,a])}},t=u(this).data("options");t&&(t.minDate!==f&&"today"===t.minDate&&(t.minDate=new Date),e=Object.assign(e,t)),new AirDatepicker(a.getPath(),e),a.attr("readonly",!0)})},events:function(){var e=this;u(d).on("merchant-flexible-content-added",function(){e.initiate_datepicker()})}}).init(),{init:function(e){this.events()},events:function(){var a=this;u(".merchant-sortable").each(function(){var e=u(this),t=e.find(".merchant-sortable-input");u(e.find("ul.merchant-sortable-list").first()).sortable({update:function(){t.val(a.sortableGetNewVal(e)).trigger("change.merchant")}}).disableSelection().find("li").each(function(){u(this).find("i.visibility").click(function(){u(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")})}).click(function(){u(event.target).hasClass("dashicons-visibility")&&t.val(a.sortableGetNewVal(e)).trigger("change.merchant")})})},sortableGetNewVal:function(e){var e=u(e.find("li")),t=[];return _.each(e,function(e){u(e).hasClass("invisible")||t.push(u(e).data("value"))}),JSON.stringify(t)}}.init(),e.init(),{init:function(e){var n=this;u(".merchant-sortable-repeater-control").each(function(){var e=JSON.parse(u(this).find(".merchant-sortable-repeater-input").val()),t=e.length;if(0<t&&(u(this).find(".repeater-input").val(e[0]),1<t))for(var a=1;a<t;++a)n.appendRow(u(this),e[a]);u(this).hasClass("disable-sorting")||u(this).find(".merchant-sortable-repeater.sortable").sortable({update:function(e,t){n.getAllInputs(u(this).parent())}})}),this.events()},events:function(){var t=this;u(".merchant-sortable-repeater.sortable").on("click",".customize-control-sortable-repeater-delete",function(e){e.preventDefault(),u(this).parent().slideUp("fast",function(){var e=u(this).parent().parent();u(this).remove(),t.getAllInputs(e)})}),u(".customize-control-sortable-repeater-add").click(function(e){e.preventDefault(),t.appendRow(u(this).parent()),t.getAllInputs(u(this).parent())}),u(".merchant-sortable-repeater.sortable").change(function(){t.getAllInputs(u(this).parent())}),u(".merchant-sortable-repeater.sortable").on("focusout",".repeater-input",function(){t.getAllInputs(u(this).parent())})},appendRow:function(e){var t='<div class="repeater" style="display:none"><input type="text" value="'+(1<arguments.length&&arguments[1]!==f?arguments[1]:"")+'" class="repeater-input" /><span class="dashicons dashicons-menu"></span><a class="customize-control-sortable-repeater-delete" href="#"><span class="dashicons dashicons-no-alt"></span></a></div>';e.find(".sortable").append(t),e.find(".sortable").find(".repeater:last").slideDown("slow",function(){u(this).find("input").focus()})},getAllInputs:function(e){var t=e.find(".repeater-input").map(function(){return u(this).val()}).toArray();t.length||t.push(""),e.find(".merchant-sortable-repeater-input").val(JSON.stringify(t)),e.find(".merchant-sortable-repeater-input").trigger("change")}}.init(),{init:function(e){var n=this;u(".merchant-flexible-content-control").each(function(){var e=u(this).hasClass("has-accordion"),a=u(this).find(".merchant-flexible-content");e?a.accordion({collapsible:!0,header:"> div > .layout-header",heightStyle:"content"}).sortable({axis:"y",cursor:"move",helper:"original",handle:".customize-control-flexible-content-move",stop:function(e,t){a.trigger("merchant.sorted"),n.refreshNumbers(a),a.accordion("refresh")}}):a.sortable({axis:"y",cursor:"move",helper:"original",handle:".customize-control-flexible-content-move",stop:function(e,t){a.trigger("merchant.sorted"),n.refreshNumbers(a),a.accordion("refresh")}})}),this.updateLayoutTitle(),this.events()},updateLayoutTitle:function(){u(".merchant-flexible-content .layout").each(function(){var e,t=u(this).find(".layout-title[data-title-field]");t.length&&((e=u(this).find(".layout-body .merchant-field-"+t.data("title-field")+" input")).on("change keyup",function(){t.text(u(this).val())}),t.text(e.val()))})},events:function(){var r=this;u(d).on("change","select",function(){var t=u(this).val(),a=u(this).prop("multiple");u(this).find("option").each(function(){var e=u(this).val(),e=a?t.includes(e):e===t;u(this).attr("selected",e)})}),u(".customize-control-flexible-content-add-button").click(function(e){e.preventDefault(),e.stopImmediatePropagation(),1===u(this).parent().find(".customize-control-flexible-content-add-list a").length?u(this).parent().find(".customize-control-flexible-content-add-list a").trigger("click"):u(this).parent().find(".customize-control-flexible-content-add-list").toggleClass("active")}),u(d).on("click",".customize-control-flexible-content-add",function(e){e.preventDefault(),e.stopImmediatePropagation();var e=u(".merchant-flexible-content-control[data-id="+u(this).data("id")+"]"),t=e.find(".layouts"),a=u(this).data("layout"),t=t.find(".layout[data-type="+a+"]").clone(!0),a=e.find(".merchant-flexible-content"),n=a.find(".layout"),e=(t.find("input, select, textarea").each(function(){u(this).data("name")&&u(this).attr("name",u(this).data("name").replace("0",n.length))}),t.find(".layout-count").text(n.length+1),a.append(t),a.removeClass("empty"),u(this).parent().removeClass("active"),t.find(".merchant-module-page-setting-field-upload").length&&o(t.find(".merchant-module-page-setting-field-upload")),t.find(".merchant-module-page-setting-field-select_ajax").length&&c(t.find(".merchant-module-page-setting-field-select_ajax")),u(this).closest(".merchant-flexible-content-control"));e.hasClass("has-accordion")&&(e.find(".merchant-flexible-content").accordion("refresh"),e.find(".merchant-flexible-content").accordion("option","active",-1)),u(d).trigger("merchant-flexible-content-added",[t]),r.updateLayoutTitle()}),u(d).on("click",".customize-control-flexible-content-duplicate",function(e){e.preventDefault(),e.stopImmediatePropagation();var t,n,e=u(this),a=e.closest(".merchant-flexible-content-control[data-id="+e.data("id")+"]"),i=null==a?void 0:a.find(".merchant-flexible-content");a.length&&i.length&&(t=e.data("layout"),(e=e.closest(".layout[data-type="+t+"]")).length)&&(t=e.clone(),i.find(".layout"),n=e.find(".layout-count").text(),t.find("input, select, textarea").each(function(){var e,t=u(this),a=t.attr("name");a&&(e=a.split("[")[0],a=a.match(/\[(.*?)\]/g))&&1<a.length&&(a[1]="["+n+"]",e="".concat(e).concat(a.join("")),t.attr("name",e))}),t.find("select").each(function(){u(this).hasClass("select2-hidden-accessible")&&(u(this).removeClass("select2-hidden-accessible").removeAttr("data-live-search").removeAttr("data-select2-id").removeAttr("aria-hidden").removeAttr("tabindex"),u(this).nextAll(".select2-container").remove(),u(this).select2())}),t.find(".layout-body").removeAttr("style"),t.hide(),t.insertAfter(e),t.fadeIn(),t.find(".merchant-module-page-setting-field-upload").length&&o(t.find(".merchant-module-page-setting-field-upload")),t.find(".merchant-module-page-setting-field-select_ajax").length&&c(t.find(".merchant-module-page-setting-field-select_ajax")),r.refreshNumbers(i),u(d).trigger("merchant-flexible-content-added",[t]),a.hasClass("has-accordion")&&i.accordion("refresh"),r.updateLayoutTitle())}),u(d).on("click",".customize-control-flexible-content-delete",function(e){e.preventDefault();var e=u(this).closest(".layout"),t=e.parent(),t=(e.remove(),0===t.find(".layout").length&&t.addClass("empty"),r.refreshNumbers(t),u(d).trigger("merchant-flexible-content-deleted",[e]),u(this).closest(".merchant-flexible-content-control"));t.hasClass("has-accordion")&&t.find(".merchant-flexible-content").accordion("refresh"),u(d).trigger("change.merchant")})},refreshNumbers:function(e){e.find(".layout").each(function(e){var t=u(this).find(".layout-count").text(),a=parseInt(t)-1;u(this).find(".layout-count").text(e+1),u(this).find("input, select, textarea").each(function(){u(this).attr("name")&&u(this).attr("name",u(this).attr("name").replace("["+a+"]","[*refreshed*"+e+"]"))})}),e.find(".layout").each(function(e){u(this).find("input, select, textarea").each(function(){var e=u(this).attr("name");e&&u(this).attr("name",e.replace("*refreshed*",""))})}),e.parent().find("input").trigger("change.merchant")}}.init(),u(d).on("keyup",".merchant-module-page-setting-field-products_selector .merchant-search-field",function(){var e,a=u(this).closest(".merchant-products-search-container");""!==u(this).val()?(a.find(".merchant-searching").addClass("active"),e={action:"merchant_admin_products_search",nonce:merchant_admin_options.ajaxnonce,keyword:u(this).val(),product_types:u(this).data("allowed-types"),ids:a.find(".merchant-selected-products").val()},u.post(merchant_admin_options.ajaxurl,e,function(e){var t=a.find(".merchant-selections-products-preview");t.show(),t.html(e),a.find(".merchant-searching").removeClass("active")})):a.find(".merchant-selections-products-preview").html("").hide()}),u(d).on("click touch",".merchant-module-page-setting-field-products_selector .merchant-selections-products-preview li",function(){var e=u(this).closest(".merchant-products-search-container"),t=e.find(".merchant-selected-products"),a=t.val(),n="multiple"===e.data("multiple");0<e.find(".merchant-selected-products-preview ul li").length&&!n&&(e.find(".merchant-selected-products-preview ul li").remove(),t.val("")),u(this).children(".remove").attr("aria-label","Remove").html("×"),e.find(".merchant-selected-products-preview ul").append(u(this)),e.find(".merchant-selections-products-preview").html("").hide(),e.find(".merchant-search-field").val(""),""!==a&&n?((e=a.split(",")).push(u(this).data("id")),t.val(e.join(","))):t.val(u(this).data("id"))}),u(d).on("click touch",".merchant-selected-products-preview .remove",function(){var e=u(this);if(confirm(merchant_admin_options.product_delete_confirmation_message)){var t=e.closest(".merchant-products-search-container").find(".merchant-selected-products"),a=e.parent().data("id"),n=(e.parent().remove(),t.val().split(","));if(0<n.length)for(var i in n)parseInt(n[i])===parseInt(a)&&n.splice(i,1);t.val(n.join(",")),t.trigger("change.merchant")}}),u(d).on("merchant-admin-check-fields merchant-flexible-content-added",function(){u(".merchant-module-page-setting-field").each(function(){var e=u(this);if(e.data("condition")&&e.data("condition").length){var t=e.data("condition"),a=u(this).closest(".layout-body").find('input[name*="'+t[0]+'"],select[name*="'+t[0]+'"]');if((a=a.length?a:u('input[name="merchant['+t[0]+']"],select[name="merchant['+t[0]+']"]')).length){var n,i=!1;switch(t[1]){case"==":"radio"!==a.attr("type")&&"checkbox"!==a.attr("type")||(n=a.parent().find("input:checked")).length&&n.val()===t[2]&&(i=!0),a.is("select")&&a.val()==t[2]&&(i=!0);break;case"any":"radio"!==a.attr("type")&&"checkbox"!==a.attr("type")||(n=a.parent().find("input:checked")).length&&t[2].split("|").includes(n.val())&&(i=!0),a.is("select")&&t[2].split("|").includes(a.val())&&(i=!0)}i?e.removeClass("merchant-hide").addClass("merchant-show"):e.removeClass("merchant-show").addClass("merchant-hide")}}})}).trigger("merchant.change"),u(d).on("merchant-admin-check-fields merchant-flexible-content-added keyup",function(){u(".merchant-module-page-setting-field").each(function(){var e=u(this);e.data("conditions")&&(function e(t){var a=1<arguments.length&&arguments[1]!==f&&arguments[1];var n=!1;if("relation"in t){var i=t.relation.toUpperCase();if("OR"===i)for(var r=0;r<t.terms.length;r++){var o=t.terms[r];if(n=e(o,a))return!0}else if("AND"===i){for(var c=0,s=0;s<t.terms.length;s++){var l=t.terms[s];e(l,a)&&c++}c===t.terms.length&&(n=!0)}}else{var d,i="",h=(i="terms"in t?t.terms[0]:t,u('input[name="merchant['+i.field+']"],select[name="merchant['+i.field+']"]')),m=(h.length||0<(d=a.closest(".layout-body")).length&&(h=d.find(".merchant-field-"+i.field).find("input, select")),(h=h.length?h:u('input[name="merchant['+i.field+'][]"],select[name="merchant['+i.field+'][]"]')).val());"checkbox"!==h.attr("type")&&"radio"!==h.attr("type")||(m=h.is(":checked")),"checkbox"===h.attr("type")&&1<h.length&&(m=[],h.each(function(){u(this).is(":checked")&&m.push(u(this).val())})),p(m)&&(m=Number(m)),Array.isArray(i.value)&&(i.value=i.value.map(function(e){return p(e)?Number(e):e})),("==="===i.operator&&m===i.value||"!=="===i.operator&&m!==i.value||">"===i.operator&&m>i.value||"<"===i.operator&&m<i.value||">="===i.operator&&m>=i.value||"<="===i.operator&&m<=i.value||"in"===i.operator&&i.value.includes(m)||"!in"===i.operator&&!i.value.includes(m)||"contains"===i.operator&&Array.isArray(m)&&m.includes(i.value)||"!contains"===i.operator&&Array.isArray(m)&&!m.includes(i.value))&&(n=!0)}return n}(e.data("conditions"),e)?e.removeClass("merchant-hide").addClass("merchant-show"):e.removeClass("merchant-show").addClass("merchant-hide"))})}).trigger("merchant.change"),u(d).on("change",".merchant-module-page-setting-field",function(){u(d).trigger("merchant-admin-check-fields")}).trigger("merchant.change"),u(d).trigger("merchant-admin-check-fields"),u(d).on("merchant-admin-check-color-fields merchant-flexible-content-added",function(){u(".merchant-color").each(function(){var a,e=u(this),n=e.find(".merchant-color-picker"),i=e.find(".merchant-color-input"),r=!1;n.off("click").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=u("body,html");t.addClass("merchant-height-auto"),r?a.setColor(i.val()):((a=new Pickr({el:n.get(0),container:"body",theme:"merchant",appClass:"merchant-pcr-app",default:i.val()||n.data("default-color")||"#212121",swatches:["#000000","#F44336","#E91E63","#673AB7","#03A9F4","#8BC34A","#FFEB3B","#FFC107","#FFFFFF"],sliders:"h",useAsButton:!0,components:{hue:!0,preview:!0,opacity:!0,interaction:{input:!0,clear:!0}},i18n:{"btn:clear":"Default"}})).on("change",function(e){e=(1===e.a?(a.setColorRepresentation("HEX"),e.toHEXA()):(a.setColorRepresentation("RGBA"),e.toRGBA())).toString(0);n.css({"background-color":e}),i.val()!==e&&i.val(e).trigger("change.merchant"),u(d).trigger("merchant-color-picker-updated",[e,i])}),a.on("clear",function(){var e=n.data("default-color");e?a.setColor(e):(n.css({"background-color":"white"}),i.val(""))}),a.on("hide",function(){t.removeClass("merchant-height-auto")}),n.data("pickr",a),setTimeout(function(){a.show()},200),r=!0)}),i.on("change keyup",function(){var e=u(this).val();n.css({"background-color":e})})})}),u(d).trigger("merchant-admin-check-color-fields");({init:function(){this.events()},events:function(){var l=this;u(d).on("click",".merchant-create-page-control-button",function(e){e.preventDefault();var t=u(this),a=t.parent().find(".merchant-create-page-control-create-message"),n=t.parent().find(".merchant-create-page-control-success-message"),e=(t.text(),t.data("creating-text")),i=(t.data("created-text"),t.data("page-title")),r=t.data("page-meta-key"),o=t.data("page-meta-value"),c=t.data("option-name"),s=t.data("nonce");if(!i)return!1;u(this).text(e),u(this).attr("disabled",!0),u.ajax({type:"post",url:ajaxurl,data:{action:"merchant_create_page_control",page_title:i,page_meta_key:r,page_meta_value:o,option_name:c,nonce:s},success:function(e){l.ajaxResponseHandler(e,t,n,a)}})})},ajaxResponseHandler:function(e,t,a,n){"success"===e.status&&(e=a.find("a").attr("href").replace("?post=&","?post="+e.page_id+"&"),a.find("a").attr("href",e),a.css("display","block"),n.remove(),t.remove())}}).init(),u(".merchant-module-page-setting-field-gallery").each(function(){var n,i=u(this),e=i.find(".merchant-gallery-button"),r=i.find(".merchant-gallery-input"),o=i.find(".merchant-gallery-images"),t=i.find(".merchant-gallery-remove");o.sortable({helper:"original",update:function(e,t){var a=[];o.find(".merchant-gallery-image").each(function(){a.push(u(this).data("item-id"))}),r.val(a.join(",")).trigger("change")}});t.on("click",function(e){e.preventDefault(),u(this).parent().remove();var t=[];o.find(".merchant-gallery-image").each(function(){t.push(u(this).data("item-id"))}),r.val(t.join(",")).trigger("change")}),e.on("click",function(e){u(this);var t=r.val(),a=t?"edit":"add";e.preventDefault(),void 0!==s.wp&&s.wp.media&&s.wp.media.gallery&&("add"==a?(n=s.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():n=s.wp.media.gallery.edit('[gallery ids="'+t+'"]'),n.on("update",function(e){o.empty();e=e.models.map(function(e){var e=e.toJSON(),t=(e.sizes&&e.sizes.thumbnail&&e.sizes.thumbnail.url?e.sizes.thumbnail:e).url;return o.append('<div class="merchant-gallery-image" data-item-id="'+e.id+'"><i class="merchant-gallery-remove dashicons dashicons-no-alt"></i><img src="'+t+'" /></div>'),e.id});r.val(e.join(",")).trigger("change"),i.find(".merchant-gallery-remove").on("click",function(e){e.preventDefault(),u(this).parent().remove();var t=[];o.find(".merchant-gallery-image").each(function(){t.push(u(this).data("item-id"))}),r.val(t.join(",")).trigger("change")})}))})});var o=function(e){var a,n=e,e=n.find(".merchant-upload-button"),i=n.find(".merchant-upload-input"),r=n.find(".merchant-upload-wrapper");n.find(".merchant-upload-remove").on("click",function(e){e.preventDefault(),u(this).parent().remove(),i.val("").trigger("change")}),e.on("click",function(e){e.preventDefault(),void 0!==s.wp&&s.wp.media&&((a=a||s.wp.media({library:{type:"image"}})).open(),a.on("select",function(){r.empty();var e=a.state().get("selection").first().attributes,t=(e.sizes&&e.sizes.thumbnail&&e.sizes.thumbnail.url?e.sizes.thumbnail:e).url;r.append('<div class="merchant-upload-image"><i class="merchant-upload-remove dashicons dashicons-no-alt"></i><img src="'+t+'" /></div>'),i.val(e.id).trigger("change"),n.find(".merchant-upload-button-drag-drop").hide(),n.find(".merchant-upload-remove").on("click",function(e){e.preventDefault(),u(this).parent().remove(),i.val("").trigger("change"),n.find(".merchant-upload-button-drag-drop").show()})}))})},c=(u(".merchant-module-page-setting-field-upload:not(.template)").each(function(){o(u(this))}),jQuery.each(["dragenter","dragover","dragleave","drop"],function(e,t){u(d).on(t,".merchant-upload-button-drag-drop",function(e){e.preventDefault(),e.stopPropagation()})}),u(d).on("dragenter",".merchant-upload-button-drag-drop",function(e){u(this).closest(".merchant-module-page-setting-field-upload").find(".merchant-upload-button").click()}),function(e){var t=e.find("select"),a=t.data("source"),n=s.merchant_admin_options,i={width:"100%"};"post"!==a&&"product"!==a&&"user"!==a||(i.minimumInputLength=1,i.ajax={url:n.ajaxurl,dataType:"json",delay:250,cache:!0,data:function(e){return{action:"merchant_admin_options_select_ajax",nonce:n.ajaxnonce,term:e.term,source:a}},processResults:function(e,t){return e.success?{results:e.data}:{}}}),t.select2(i),e.find(".select2-selection--multiple").append('<span class="merchant-select2-clear"></span>')}),r=(u(".merchant-module-page-setting-field-select_ajax:not(.template)").each(function(){c(u(this))}),u(".merchant-module-page-settings-responsive").each(function(){var e=u(this),a=e.find(".merchant-module-page-settings-devices button"),n=e.find(".merchant-module-page-settings-device-container");a.on("click",function(e){e.preventDefault();var t=u(this).data("device");a.removeClass("active"),n.removeClass("active"),u(this).addClass("active"),n.each(function(){u(this).data("device")===t&&u(this).addClass("active")})})}),u(".merchant-animated-buttons").each(function(){var e,t,a=u(this).find("label"),n=u(".merchant-animation-demo");a.on("click",function(){n.removeClass("merchant-animation-"+e),n.removeClass("merchant-animation-"+t),e=u(this).find("input").attr("value"),setTimeout(function(){n.addClass("merchant-animation-"+e)},100),setTimeout(function(){n.removeClass("merchant-animation-"+e)},1e3)}),a.mouseover(function(){n.removeClass("merchant-animation-"+e),t=u(this).find("input").attr("value"),n.addClass("merchant-animation-"+t)}).mouseout(function(){n.removeClass("merchant-animation-"+t)})}),u(".merchant-notifications-sidebar")),e=(r.length&&(u(".merchant-notifications").on("click",function(e){e.preventDefault();var t=u(this),e=r.find(".merchant-notification:first-child .merchant-notification-date").data("raw-date");r.toggleClass("opened"),t.hasClass("read")||u.post(s.merchant.ajax_url,{action:"merchant_notifications_read",nonce:s.merchant.nonce,latest_notification_date:e},function(e){e.success&&setTimeout(function(){t.addClass("read")},2e3)})}),u(s).on("scroll",function(){60<s.pageYOffset&&(r.addClass("closing"),setTimeout(function(){r.removeClass("opened"),r.removeClass("closing")},300))}),u(".merchant-notifications-sidebar-close").on("click",function(e){e.preventDefault(),r.addClass("closing"),setTimeout(function(){r.removeClass("opened"),r.removeClass("closing")},300)})),u(".merchant-tabs-nav")),t=(e.length&&e.each(function(){var a=u(this).data("tab-wrapper-id");u(this).find(".merchant-tabs-nav-link").on("click",function(e){e.preventDefault();var e=u(this).closest(".merchant-tabs-nav").find(".merchant-tabs-nav-link"),t=u(this).data("tab-to"),e=(e.each(function(){u(this).closest(".merchant-tabs-nav-item").removeClass("active")}),u(this).closest(".merchant-tabs-nav-item").addClass("active"),u('.merchant-tab-content-wrapper[data-tab-wrapper-id="'+a+'"]'));e.find("> .merchant-tab-content").removeClass("active"),e.find('> .merchant-tab-content[data-tab-content-id="'+t+'"]').addClass("active")})}),u(".merchant-module-alert"));t.length&&t.find(".merchant-module-alert-close").on("click",function(e){e.preventDefault(),t.removeClass("merchant-show"),u(d).off("click.merchant-alert-close")})})}(jQuery,window,document),jQuery.fn.extend({getPath:function(){var c=[];return this.each(function(e,t){for(var a,n=jQuery(t);n.length;){var i=n.get(0);if(!(r=i.localName))break;var r=r.toLowerCase(),o=n.parent();1<o.children(r).length&&0<(e=o.children().index(i)+1)&&(r+=":nth-child("+e+")"),a=r+(a?" > "+a:""),n=o}c.push(a)}),c.join(",")}});
     1"use strict";!function(u,l,d,f){var h={},m=new URLSearchParams(l.location.search).get("module");function p(e){return"string"==typeof e&&!isNaN(e)&&!isNaN(parseFloat(e))}u(d).ready(function(){var r,e=u(".merchant-module-page-ajax-form"),a=u(".merchant-module-page-ajax-header"),n=(u(".merchant-module-save-button"),u(".merchant-module-page-content").on("change keypress change.merchant",function(){u(this).is(".merchant-module-question-answer-textarea, .merchant-license-code-input")||h.show_save||(a.addClass("merchant-show"),a.removeClass("merchant-saving"),h.show_save=!0)}),e.ajaxForm({beforeSubmit:function(){a.addClass("merchant-saving")},success:function(){var t;a.removeClass("merchant-show"),h.show_save=!1,u(".merchant-module-action").hasClass("merchant-enabled")||((t=u(".merchant-module-alert")).addClass("merchant-show"),u(d).off("click.merchant-alert-close"),u(d).on("click.merchant-alert-close",function(e){u(e.target).closest(".merchant-module-alert-wrapper").length||(t.removeClass("merchant-show"),u(d).off("click.merchant-alert-close"))})),u(d).trigger("save.merchant",[m])}}),u(".merchant-module-question-answer-button")),i=u(".merchant-module-question-answer-textarea"),e=(i.on("input",function(){n.prop("disabled",""===u(this).val().trim())}),n.on("click",function(e){e.preventDefault();var t,e=i.val();e.trim()?(t=u(this),u(".merchant-module-question-answer-dropdown").removeClass("merchant-show"),u(".merchant-module-question-thank-you-dropdown").addClass("merchant-show"),l.wp.ajax.post("merchant_module_feedback",{subject:i.attr("data-subject"),message:e,module:t.closest(".merchant-module-action").find(".merchant-module-page-button-action-activate").data("module"),nonce:l.merchant.nonce})):alert("Please provide the required information.")}),u(".merchant-module-page-button-action-activate").on("click",function(e){if(e.preventDefault(),u(this).hasClass("merchant-module-deactivated-by-bp"))return!1;u(".merchant-module-question-list-dropdown").removeClass("merchant-show"),u(".merchant-module-question-answer-dropdown").removeClass("merchant-show"),u(".merchant-module-question-answer-form").removeClass("merchant-show"),u(".merchant-module-question-answer-title").removeClass("merchant-show"),u(".merchant-module-question-thank-you-dropdown").removeClass("merchant-show"),u(".merchant-module-question-answer-textarea").val(""),l.wp.ajax.post("merchant_module_activate",{module:u(this).data("module"),nonce:l.merchant.nonce}).done(function(){u("body").removeClass("merchant-module-disabled").addClass("merchant-module-enabled"),u(".merchant-module-action").addClass("merchant-enabled")})}),u(".merchant-module-page-button-action-deactivate").on("click",function(e){e.preventDefault(),l.wp.ajax.post("merchant_module_deactivate",{module:u(this).data("module"),nonce:l.merchant.nonce}).done(function(){u("body").removeClass("merchant-module-enabled").addClass("merchant-module-disabled"),u(".merchant-module-action").removeClass("merchant-enabled"),u(".merchant-module-question-list-dropdown").addClass("merchant-show")})}),u(".merchant-module-question-list-dropdown li").on("click",function(e){n.prop("disabled",""===i.val().trim());var t=u(this),a=t.data("answer-target"),a=u('[data-answer-title="'+a+'"]');a.length?(a.addClass("merchant-show").siblings().removeClass("merchant-show"),u(".merchant-module-question-answer-dropdown").addClass("merchant-show"),u(".merchant-module-question-answer-textarea").attr("data-subject",t.text().trim())):(u(".merchant-module-question-thank-you-dropdown").addClass("merchant-show"),u(".merchant-module-question-answer-dropdown").removeClass("merchant-show")),u(".merchant-module-question-answer-textarea").val(""),u(".merchant-module-question-list-dropdown").removeClass("merchant-show")}),u(".merchant-module-dropdown-close").on("click",function(e){e.preventDefault(),u(this).closest(".merchant-module-dropdown").removeClass("merchant-show")}),u(".merchant-module-page-button-deactivate").on("click",function(e){e.preventDefault();u(this);var t=u(".merchant-module-deactivate-dropdown");t.toggleClass("merchant-show"),u(d).off("click.merchant-close"),u(d).on("click.merchant-close",function(e){u(e.target).closest(".merchant-module-deactivate").length||(t.removeClass("merchant-show"),u(d).off("click.merchant-close"))})}),u(".merchant-range").each(function(){var e=u(this),n=e.find(".merchant-range-input"),i=e.find(".merchant-range-number-input");n.on("change input merchant.range merchant-init.range",function(e){var t=u(this),e=("merchant"===e.type?i:t).val()||0,a=t.attr("min")||0,a=(e-a)/((t.attr("max")||1)-a)*100;u("body").hasClass("rtl")?t.css({background:"linear-gradient(to left, #3858E9 0%, #3858E9 "+a+"%, #ddd "+a+"%, #ddd 100%)"}):t.css({background:"linear-gradient(to right, #3858E9 0%, #3858E9 "+a+"%, #ddd "+a+"%, #ddd 100%)"}),n.val(e),i.val(e)}).trigger("merchant-init.range"),i.on("change input blur",function(){n.hasClass("merchant-range-input")&&n.val(u(this).val()).trigger("merchant.range")})}),u(d).on("click",".merchant-module-page-setting-field-hidden-desc-trigger",function(){var e=u(this),t=(e.toggleClass("expanded"),e.attr("data-show-text")),a=e.attr("data-hidden-text");u(this).find("span:first").text(e.text()===t?a:t),u(this).closest(".layout-field").find(".merchant-module-page-setting-field-hidden-desc").stop(!0,!0).slideToggle("fast")}),{init:function(e){this.events()},events:function(){u(d).on("click",".merchant-flexible-content .merchant-toggle-switch .toggle-switch-label span",function(){var e=u(this).closest(".merchant-toggle-switch").find(".toggle-switch-checkbox");e.prop("checked",!e.prop("checked"))}).trigger("merchant.change")}});({init:function(){this.initiate_datepicker(),this.events()},initiate_datepicker:function(){var e=u(".merchant-module-page-setting-field .merchant-datetime-field");0!==e.length&&e.each(function(){var a=u(this).find("input"),e={locale:JSON.parse(merchant_datepicker_locale),selectedDates:[a.val()?new Date(a.val()):""],onSelect:function(e){e.date;var t=e.formattedDate;e.datepicker;void 0===t&&a.val(""),a.trigger("change.merchant"),a.trigger("change.merchant-datepicker",[t,a])}},t=u(this).data("options");t&&(t.minDate!==f&&"today"===t.minDate&&(t.minDate=new Date),e=Object.assign(e,t)),new AirDatepicker(a.getPath(),e),a.attr("readonly",!0)})},events:function(){var e=this;u(d).on("merchant-flexible-content-added",function(){e.initiate_datepicker()})}}).init(),{init:function(e){this.events()},events:function(){var a=this;u(".merchant-sortable").each(function(){var e=u(this),t=e.find(".merchant-sortable-input");u(e.find("ul.merchant-sortable-list").first()).sortable({update:function(){t.val(a.sortableGetNewVal(e)).trigger("change.merchant")}}).disableSelection().find("li").each(function(){u(this).find("i.visibility").click(function(){u(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")})}).click(function(){u(event.target).hasClass("dashicons-visibility")&&t.val(a.sortableGetNewVal(e)).trigger("change.merchant")})})},sortableGetNewVal:function(e){var e=u(e.find("li")),t=[];return _.each(e,function(e){u(e).hasClass("invisible")||t.push(u(e).data("value"))}),JSON.stringify(t)}}.init(),e.init(),{init:function(e){var n=this;u(".merchant-sortable-repeater-control").each(function(){var e=JSON.parse(u(this).find(".merchant-sortable-repeater-input").val()),t=e.length;if(0<t&&(u(this).find(".repeater-input").val(e[0]),1<t))for(var a=1;a<t;++a)n.appendRow(u(this),e[a]);u(this).hasClass("disable-sorting")||u(this).find(".merchant-sortable-repeater.sortable").sortable({update:function(e,t){n.getAllInputs(u(this).parent())}})}),this.events()},events:function(){var t=this;u(".merchant-sortable-repeater.sortable").on("click",".customize-control-sortable-repeater-delete",function(e){e.preventDefault(),u(this).parent().slideUp("fast",function(){var e=u(this).parent().parent();u(this).remove(),t.getAllInputs(e)})}),u(".customize-control-sortable-repeater-add").click(function(e){e.preventDefault(),t.appendRow(u(this).parent()),t.getAllInputs(u(this).parent())}),u(".merchant-sortable-repeater.sortable").change(function(){t.getAllInputs(u(this).parent())}),u(".merchant-sortable-repeater.sortable").on("focusout",".repeater-input",function(){t.getAllInputs(u(this).parent())})},appendRow:function(e){var t='<div class="repeater" style="display:none"><input type="text" value="'+(1<arguments.length&&arguments[1]!==f?arguments[1]:"")+'" class="repeater-input" /><span class="dashicons dashicons-menu"></span><a class="customize-control-sortable-repeater-delete" href="#"><span class="dashicons dashicons-no-alt"></span></a></div>';e.find(".sortable").append(t),e.find(".sortable").find(".repeater:last").slideDown("slow",function(){u(this).find("input").focus()})},getAllInputs:function(e){var t=e.find(".repeater-input").map(function(){return u(this).val()}).toArray();t.length||t.push(""),e.find(".merchant-sortable-repeater-input").val(JSON.stringify(t)),e.find(".merchant-sortable-repeater-input").trigger("change")}}.init(),{init:function(e){var n=this;u(".merchant-flexible-content-control").each(function(){var e=u(this).hasClass("has-accordion"),a=u(this).find(".merchant-flexible-content");e?a.accordion({collapsible:!0,header:"> div > .layout-header",heightStyle:"content"}).sortable({axis:"y",cursor:"move",helper:"original",handle:".customize-control-flexible-content-move",stop:function(e,t){a.trigger("merchant.sorted"),n.refreshNumbers(a),a.accordion("refresh")}}):a.sortable({axis:"y",cursor:"move",helper:"original",handle:".customize-control-flexible-content-move",stop:function(e,t){a.trigger("merchant.sorted"),n.refreshNumbers(a),a.accordion("refresh")}})}),this.updateLayoutTitle(),this.events()},updateLayoutTitle:function(){u(".merchant-flexible-content .layout").each(function(){var e,t=u(this).find(".layout-title[data-title-field]");t.length&&((e=u(this).find(".layout-body .merchant-field-"+t.data("title-field")+" input")).on("change keyup",function(){t.text(u(this).val())}),t.text(e.val()))})},events:function(){var r=this;u(d).on("change","select",function(){var t=u(this).val(),a=u(this).prop("multiple");u(this).find("option").each(function(){var e=u(this).val(),e=a?t.includes(e):e===t;u(this).attr("selected",e)})}),u(".customize-control-flexible-content-add-button").click(function(e){e.preventDefault(),e.stopImmediatePropagation(),1===u(this).parent().find(".customize-control-flexible-content-add-list a").length?u(this).parent().find(".customize-control-flexible-content-add-list a").trigger("click"):u(this).parent().find(".customize-control-flexible-content-add-list").toggleClass("active")}),u(d).on("click",".customize-control-flexible-content-add",function(e){e.preventDefault(),e.stopImmediatePropagation();var e=u(".merchant-flexible-content-control[data-id="+u(this).data("id")+"]"),t=e.find(".layouts"),a=u(this).data("layout"),t=t.find(".layout[data-type="+a+"]").clone(!0),a=e.find(".merchant-flexible-content"),n=a.find(".layout"),e=(t.find("input, select, textarea").each(function(){u(this).data("name")&&u(this).attr("name",u(this).data("name").replace("0",n.length))}),t.find(".layout-count").text(n.length+1),a.append(t),a.removeClass("empty"),u(this).parent().removeClass("active"),t.find(".merchant-module-page-setting-field-upload").length&&o(t.find(".merchant-module-page-setting-field-upload")),t.find(".merchant-module-page-setting-field-select_ajax").length&&c(t.find(".merchant-module-page-setting-field-select_ajax")),u(this).closest(".merchant-flexible-content-control"));e.hasClass("has-accordion")&&(e.find(".merchant-flexible-content").accordion("refresh"),e.find(".merchant-flexible-content").accordion("option","active",-1)),u(d).trigger("merchant-flexible-content-added",[t]),r.updateLayoutTitle()}),u(d).on("click",".customize-control-flexible-content-duplicate",function(e){e.preventDefault(),e.stopImmediatePropagation();var t,n,e=u(this),a=e.closest(".merchant-flexible-content-control[data-id="+e.data("id")+"]"),i=null==a?void 0:a.find(".merchant-flexible-content");a.length&&i.length&&(e=e.closest(".layout")).length&&(t=e.clone(),i.find(".layout"),n=e.find(".layout-count").text(),t.find("input, select, textarea").each(function(){var e,t=u(this),a=t.attr("name");a&&(e=a.split("[")[0],a=a.match(/\[(.*?)\]/g))&&1<a.length&&(a[1]="["+n+"]",e="".concat(e).concat(a.join("")),t.attr("name",e))}),t.find("select").each(function(){u(this).hasClass("select2-hidden-accessible")&&(u(this).removeClass("select2-hidden-accessible").removeAttr("data-live-search").removeAttr("data-select2-id").removeAttr("aria-hidden").removeAttr("tabindex"),u(this).nextAll(".select2-container").remove(),u(this).select2())}),t.find(".layout-body").removeAttr("style"),t.hide(),t.insertAfter(e),t.fadeIn(),t.find(".merchant-module-page-setting-field-upload").length&&o(t.find(".merchant-module-page-setting-field-upload")),t.find(".merchant-module-page-setting-field-select_ajax").length&&c(t.find(".merchant-module-page-setting-field-select_ajax")),r.refreshNumbers(i),u(d).trigger("merchant-flexible-content-added",[t]),a.hasClass("has-accordion")&&i.accordion("refresh"),r.updateLayoutTitle())}),u(d).on("click",".customize-control-flexible-content-delete",function(e){e.preventDefault();var e=u(this).closest(".layout"),t=e.parent(),t=(e.remove(),0===t.find(".layout").length&&t.addClass("empty"),r.refreshNumbers(t),u(d).trigger("merchant-flexible-content-deleted",[e]),u(this).closest(".merchant-flexible-content-control"));t.hasClass("has-accordion")&&t.find(".merchant-flexible-content").accordion("refresh"),u(d).trigger("change.merchant")})},refreshNumbers:function(e){e.find(".layout").each(function(e){var t=u(this).find(".layout-count").text(),a=parseInt(t)-1;u(this).find(".layout-count").text(e+1),u(this).find("input, select, textarea").each(function(){u(this).attr("name")&&u(this).attr("name",u(this).attr("name").replace("["+a+"]","[*refreshed*"+e+"]"))})}),e.find(".layout").each(function(e){u(this).find("input, select, textarea").each(function(){var e=u(this).attr("name");e&&u(this).attr("name",e.replace("*refreshed*",""))})}),e.parent().find("input").trigger("change.merchant")}}.init(),u(d).on("keyup",".merchant-module-page-setting-field-products_selector .merchant-search-field",function(){clearTimeout(r);var e,t=u(this).closest(".layout"),a=[],n=t.find(".merchant-field-rules_to_apply select").val()||t.find(".merchant-field-rules_to_display select").val()||t.find(".merchant-field-display_rules select").val(),i=("categories"!==n&&"by_category"!==n||(a=t.find(".merchant-field-category_slugs select").val()||t.find(".merchant-field-product_cats select").val()),u(this).closest(".merchant-products-search-container"));""!==u(this).val()?(i.find(".merchant-searching").addClass("active"),e={action:"merchant_admin_products_search",nonce:merchant_admin_options.ajaxnonce,keyword:u(this).val(),product_types:u(this).data("allowed-types"),ids:i.find(".merchant-selected-products").val(),categories:a},r=setTimeout(function(){u.post(merchant_admin_options.ajaxurl,e,function(e){var t=i.find(".merchant-selections-products-preview");t.show(),t.html(e),i.find(".merchant-searching").removeClass("active")})},250)):i.find(".merchant-selections-products-preview").html("").hide()}),u(d).on("click touch",".merchant-module-page-setting-field-products_selector .merchant-selections-products-preview li",function(){var e=u(this).closest(".merchant-products-search-container"),t=e.find(".merchant-selected-products"),a=t.val(),n="multiple"===e.data("multiple");0<e.find(".merchant-selected-products-preview ul li").length&&!n&&(e.find(".merchant-selected-products-preview ul li").remove(),t.val("")),u(this).children(".remove").attr("aria-label","Remove").html("×"),e.find(".merchant-selected-products-preview ul").append(u(this)),e.find(".merchant-selections-products-preview").html("").hide(),e.find(".merchant-search-field").val(""),""!==a&&n?((e=a.split(",")).push(u(this).data("id")),t.val(e.join(","))):t.val(u(this).data("id"))}),u(d).on("click touch",".merchant-selected-products-preview .remove",function(){var e=u(this);if(confirm(merchant_admin_options.product_delete_confirmation_message)){var t=e.closest(".merchant-products-search-container").find(".merchant-selected-products"),a=e.parent().data("id"),n=(e.parent().remove(),t.val().split(","));if(0<n.length)for(var i in n)parseInt(n[i])===parseInt(a)&&n.splice(i,1);t.val(n.join(",")),t.trigger("change.merchant")}}),u(d).on("merchant-admin-check-fields merchant-flexible-content-added",function(){u(".merchant-module-page-setting-field").each(function(){var e=u(this);if(e.data("condition")&&e.data("condition").length){var t=e.data("condition"),a=u(this).closest(".layout-body").find('input[name*="'+t[0]+'"],select[name*="'+t[0]+'"]');if((a=a.length?a:u('input[name="merchant['+t[0]+']"],select[name="merchant['+t[0]+']"]')).length){var n,i=!1;switch(t[1]){case"==":"radio"!==a.attr("type")&&"checkbox"!==a.attr("type")||(n=a.parent().find("input:checked")).length&&n.val()===t[2]&&(i=!0),a.is("select")&&a.val()==t[2]&&(i=!0);break;case"any":"radio"!==a.attr("type")&&"checkbox"!==a.attr("type")||(n=a.parent().find("input:checked")).length&&t[2].split("|").includes(n.val())&&(i=!0),a.is("select")&&t[2].split("|").includes(a.val())&&(i=!0)}i?e.removeClass("merchant-hide").addClass("merchant-show"):e.removeClass("merchant-show").addClass("merchant-hide")}}})}).trigger("merchant.change"),u(d).on("merchant-admin-check-fields merchant-flexible-content-added keyup",function(){u(".merchant-module-page-setting-field").each(function(){var e=u(this);e.data("conditions")&&(function e(t){var a=1<arguments.length&&arguments[1]!==f&&arguments[1];var n=!1;if("relation"in t){var i=t.relation.toUpperCase();if("OR"===i)for(var r=0;r<t.terms.length;r++){var o=t.terms[r];if(n=e(o,a))return!0}else if("AND"===i){for(var c=0,s=0;s<t.terms.length;s++){var l=t.terms[s];e(l,a)&&c++}c===t.terms.length&&(n=!0)}}else{var d,i="",h=(i="terms"in t?t.terms[0]:t,u('input[name="merchant['+i.field+']"],select[name="merchant['+i.field+']"]')),m=(h.length||0<(d=a.closest(".layout-body")).length&&(h=d.find(".merchant-field-"+i.field).find("input, select")),(h=h.length?h:u('input[name="merchant['+i.field+'][]"],select[name="merchant['+i.field+'][]"]')).val());"checkbox"!==h.attr("type")&&"radio"!==h.attr("type")||(m=h.is(":checked")),"checkbox"===h.attr("type")&&1<h.length&&(m=[],h.each(function(){u(this).is(":checked")&&m.push(u(this).val())})),p(m)&&(m=Number(m)),Array.isArray(i.value)&&(i.value=i.value.map(function(e){return p(e)?Number(e):e})),("==="===i.operator&&m===i.value||"!=="===i.operator&&m!==i.value||">"===i.operator&&m>i.value||"<"===i.operator&&m<i.value||">="===i.operator&&m>=i.value||"<="===i.operator&&m<=i.value||"in"===i.operator&&i.value.includes(m)||"!in"===i.operator&&!i.value.includes(m)||"contains"===i.operator&&Array.isArray(m)&&m.includes(i.value)||"!contains"===i.operator&&Array.isArray(m)&&!m.includes(i.value))&&(n=!0)}return n}(e.data("conditions"),e)?e.removeClass("merchant-hide").addClass("merchant-show"):e.removeClass("merchant-show").addClass("merchant-hide"))})}).trigger("merchant.change"),u(d).on("change",".merchant-module-page-setting-field",function(){u(d).trigger("merchant-admin-check-fields")}).trigger("merchant.change"),u(d).trigger("merchant-admin-check-fields"),u(d).on("merchant-admin-check-color-fields merchant-flexible-content-added",function(){u(".merchant-color").each(function(){var a,e=u(this),n=e.find(".merchant-color-picker"),i=e.find(".merchant-color-input"),r=!1;n.off("click").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=u("body,html");t.addClass("merchant-height-auto"),r?a.setColor(i.val()):((a=new Pickr({el:n.get(0),container:"body",theme:"merchant",appClass:"merchant-pcr-app",default:i.val()||n.data("default-color")||"#212121",swatches:["#000000","#F44336","#E91E63","#673AB7","#03A9F4","#8BC34A","#FFEB3B","#FFC107","#FFFFFF"],sliders:"h",useAsButton:!0,components:{hue:!0,preview:!0,opacity:!0,interaction:{input:!0,clear:!0}},i18n:{"btn:clear":"Default"}})).on("change",function(e){e=(1===e.a?(a.setColorRepresentation("HEX"),e.toHEXA()):(a.setColorRepresentation("RGBA"),e.toRGBA())).toString(0);n.css({"background-color":e}),i.val()!==e&&i.val(e).trigger("change.merchant"),u(d).trigger("merchant-color-picker-updated",[e,i])}),a.on("clear",function(){var e=n.data("default-color");e?a.setColor(e):(n.css({"background-color":"white"}),i.val(""))}),a.on("hide",function(){t.removeClass("merchant-height-auto")}),n.data("pickr",a),setTimeout(function(){a.show()},200),r=!0)}),i.on("change keyup",function(){var e=u(this).val();n.css({"background-color":e})})})}),u(d).trigger("merchant-admin-check-color-fields");({init:function(){this.events()},events:function(){var l=this;u(d).on("click",".merchant-create-page-control-button",function(e){e.preventDefault();var t=u(this),a=t.parent().find(".merchant-create-page-control-create-message"),n=t.parent().find(".merchant-create-page-control-success-message"),e=(t.text(),t.data("creating-text")),i=(t.data("created-text"),t.data("page-title")),r=t.data("page-meta-key"),o=t.data("page-meta-value"),c=t.data("option-name"),s=t.data("nonce");if(!i)return!1;u(this).text(e),u(this).attr("disabled",!0),u.ajax({type:"post",url:ajaxurl,data:{action:"merchant_create_page_control",page_title:i,page_meta_key:r,page_meta_value:o,option_name:c,nonce:s},success:function(e){l.ajaxResponseHandler(e,t,n,a)}})})},ajaxResponseHandler:function(e,t,a,n){"success"===e.status&&(e=a.find("a").attr("href").replace("?post=&","?post="+e.page_id+"&"),a.find("a").attr("href",e),a.css("display","block"),n.remove(),t.remove())}}).init(),u(".merchant-module-page-setting-field-gallery").each(function(){var n,i=u(this),e=i.find(".merchant-gallery-button"),r=i.find(".merchant-gallery-input"),o=i.find(".merchant-gallery-images"),t=i.find(".merchant-gallery-remove");o.sortable({helper:"original",update:function(e,t){var a=[];o.find(".merchant-gallery-image").each(function(){a.push(u(this).data("item-id"))}),r.val(a.join(",")).trigger("change")}});t.on("click",function(e){e.preventDefault(),u(this).parent().remove();var t=[];o.find(".merchant-gallery-image").each(function(){t.push(u(this).data("item-id"))}),r.val(t.join(",")).trigger("change")}),e.on("click",function(e){u(this);var t=r.val(),a=t?"edit":"add";e.preventDefault(),void 0!==l.wp&&l.wp.media&&l.wp.media.gallery&&("add"==a?(n=l.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():n=l.wp.media.gallery.edit('[gallery ids="'+t+'"]'),n.on("update",function(e){o.empty();e=e.models.map(function(e){var e=e.toJSON(),t=(e.sizes&&e.sizes.thumbnail&&e.sizes.thumbnail.url?e.sizes.thumbnail:e).url;return o.append('<div class="merchant-gallery-image" data-item-id="'+e.id+'"><i class="merchant-gallery-remove dashicons dashicons-no-alt"></i><img src="'+t+'" /></div>'),e.id});r.val(e.join(",")).trigger("change"),i.find(".merchant-gallery-remove").on("click",function(e){e.preventDefault(),u(this).parent().remove();var t=[];o.find(".merchant-gallery-image").each(function(){t.push(u(this).data("item-id"))}),r.val(t.join(",")).trigger("change")})}))})});var o=function(e){var a,n=e,e=n.find(".merchant-upload-button"),i=n.find(".merchant-upload-input"),r=n.find(".merchant-upload-wrapper");n.find(".merchant-upload-remove").on("click",function(e){e.preventDefault(),u(this).parent().remove(),i.val("").trigger("change")}),e.on("click",function(e){e.preventDefault(),void 0!==l.wp&&l.wp.media&&((a=a||l.wp.media({library:{type:"image"}})).open(),a.on("select",function(){r.empty();var e=a.state().get("selection").first().attributes,t=(e.sizes&&e.sizes.thumbnail&&e.sizes.thumbnail.url?e.sizes.thumbnail:e).url;r.append('<div class="merchant-upload-image"><i class="merchant-upload-remove dashicons dashicons-no-alt"></i><img src="'+t+'" /></div>'),i.val(e.id).trigger("change"),n.find(".merchant-upload-button-drag-drop").hide(),n.find(".merchant-upload-remove").on("click",function(e){e.preventDefault(),u(this).parent().remove(),i.val("").trigger("change"),n.find(".merchant-upload-button-drag-drop").show()})}))})},c=(u(".merchant-module-page-setting-field-upload:not(.template)").each(function(){o(u(this))}),jQuery.each(["dragenter","dragover","dragleave","drop"],function(e,t){u(d).on(t,".merchant-upload-button-drag-drop",function(e){e.preventDefault(),e.stopPropagation()})}),u(d).on("dragenter",".merchant-upload-button-drag-drop",function(e){u(this).closest(".merchant-module-page-setting-field-upload").find(".merchant-upload-button").click()}),function(e){var t=e.find("select"),a=t.data("source"),n=l.merchant_admin_options,i={width:"100%"};"post"!==a&&"product"!==a&&"user"!==a||(i.minimumInputLength=1,i.ajax={url:n.ajaxurl,dataType:"json",delay:250,cache:!0,data:function(e){return{action:"merchant_admin_options_select_ajax",nonce:n.ajaxnonce,term:e.term,source:a}},processResults:function(e,t){return e.success?{results:e.data}:{}}}),t.select2(i),e.find(".select2-selection--multiple").append('<span class="merchant-select2-clear"></span>')}),s=(u(".merchant-module-page-setting-field-select_ajax:not(.template)").each(function(){c(u(this))}),u(".merchant-module-page-settings-responsive").each(function(){var e=u(this),a=e.find(".merchant-module-page-settings-devices button"),n=e.find(".merchant-module-page-settings-device-container");a.on("click",function(e){e.preventDefault();var t=u(this).data("device");a.removeClass("active"),n.removeClass("active"),u(this).addClass("active"),n.each(function(){u(this).data("device")===t&&u(this).addClass("active")})})}),u(".merchant-animated-buttons").each(function(){var e,t,a=u(this).find("label"),n=u(".merchant-animation-demo");a.on("click",function(){n.removeClass("merchant-animation-"+e),n.removeClass("merchant-animation-"+t),e=u(this).find("input").attr("value"),setTimeout(function(){n.addClass("merchant-animation-"+e)},100),setTimeout(function(){n.removeClass("merchant-animation-"+e)},1e3)}),a.mouseover(function(){n.removeClass("merchant-animation-"+e),t=u(this).find("input").attr("value"),n.addClass("merchant-animation-"+t)}).mouseout(function(){n.removeClass("merchant-animation-"+t)})}),u(".merchant-notifications-sidebar")),e=(s.length&&(u(".merchant-notifications").on("click",function(e){e.preventDefault();var t=u(this),e=s.find(".merchant-notification:first-child .merchant-notification-date").data("raw-date");s.toggleClass("opened"),t.hasClass("read")||u.post(l.merchant.ajax_url,{action:"merchant_notifications_read",nonce:l.merchant.nonce,latest_notification_date:e},function(e){e.success&&setTimeout(function(){t.addClass("read")},2e3)})}),u(l).on("scroll",function(){60<l.pageYOffset&&(s.addClass("closing"),setTimeout(function(){s.removeClass("opened"),s.removeClass("closing")},300))}),u(".merchant-notifications-sidebar-close").on("click",function(e){e.preventDefault(),s.addClass("closing"),setTimeout(function(){s.removeClass("opened"),s.removeClass("closing")},300)})),u(".merchant-tabs-nav")),t=(e.length&&e.each(function(){var a=u(this).data("tab-wrapper-id");u(this).find(".merchant-tabs-nav-link").on("click",function(e){e.preventDefault();var e=u(this).closest(".merchant-tabs-nav").find(".merchant-tabs-nav-link"),t=u(this).data("tab-to"),e=(e.each(function(){u(this).closest(".merchant-tabs-nav-item").removeClass("active")}),u(this).closest(".merchant-tabs-nav-item").addClass("active"),u('.merchant-tab-content-wrapper[data-tab-wrapper-id="'+a+'"]'));e.find("> .merchant-tab-content").removeClass("active"),e.find('> .merchant-tab-content[data-tab-content-id="'+t+'"]').addClass("active")})}),u(".merchant-module-alert"));t.length&&t.find(".merchant-module-alert-close").on("click",function(e){e.preventDefault(),t.removeClass("merchant-show"),u(d).off("click.merchant-alert-close")})})}(jQuery,window,document),jQuery.fn.extend({getPath:function(){var c=[];return this.each(function(e,t){for(var a,n=jQuery(t);n.length;){var i=n.get(0);if(!(r=i.localName))break;var r=r.toLowerCase(),o=n.parent();1<o.children(r).length&&0<(e=o.children().index(i)+1)&&(r+=":nth-child("+e+")"),a=r+(a?" > "+a:""),n=o}c.push(a)}),c.join(",")}});
  • merchant/trunk/inc/helpers.php

    r3094728 r3099520  
    250250        // Include forms tags.
    251251        if ( in_array( 'forms', $extra, true ) || in_array( 'all', $extra, true ) ) {
    252             $tags = array( 'form', 'input', 'select', 'option', 'textarea' );
     252            $tags = array( 'form', 'input', 'select', 'option', 'textarea', 'a' );
    253253
    254254            foreach ( $tags as $tag ) {
     
    602602    }
    603603}
     604
     605/**
     606 * Check if the user condition is passed.
     607 *
     608 * @param $args
     609 *
     610 * @return bool
     611 */
     612if ( ! function_exists( 'merchant_is_user_condition_passed' ) ) {
     613    function merchant_is_user_condition_passed( $args = array() ) {
     614        $passed = false;
     615
     616        $is_logged_in = is_user_logged_in();
     617        $current_user = $is_logged_in ? wp_get_current_user() : null;
     618
     619        $condition = $args['user_condition'] ?? 'all';
     620
     621        switch ( $condition ) {
     622            case 'all':
     623            case '':
     624                $passed = true;
     625                break;
     626
     627            case 'logged-in':
     628                if ( $is_logged_in ) {
     629                    $passed = true;
     630                }
     631                break;
     632
     633            case 'roles':
     634                $roles = $args['user_condition_roles'] ?? array();
     635                $role  = $current_user->roles[0] ?? '';
     636
     637                if ( in_array( $role, $roles, true ) ) {
     638                    $passed = true;
     639                }
     640                break;
     641
     642            case 'customers':
     643                $customers_id = $args['user_condition_users'] ?? array();
     644                $customers_id = array_map( 'intval', $customers_id );
     645                $customer_id  = (int) ( $current_user->ID ?? 0 );
     646
     647                if ( in_array( $customer_id, $customers_id, true ) ) {
     648                    $passed = true;
     649                }
     650                break;
     651        }
     652
     653        return $passed;
     654    }
     655}
  • merchant/trunk/inc/modules/buy-x-get-y/admin/options.php

    r3092224 r3099520  
    2020            'sorting'      => true,
    2121            'accordion'    => true,
     22            'duplicate'    => true,
    2223            'style'        => Merchant_Buy_X_Get_Y::MODULE_ID . '-style default',
    2324            'button_label' => esc_html__( 'Add New Offer', 'merchant' ),
     
    121122                            'default' => 1,
    122123                        ),
     124
     125                        array(
     126                            'id'      => 'user_condition',
     127                            'type'    => 'select',
     128                            'title'   => esc_html__( 'User Condition', 'merchant' ),
     129                            'options' => array(
     130                                'all'       => esc_html__( 'All Users', 'merchant' ),
     131                                'customers' => esc_html__( 'Selected Users', 'merchant' ),
     132                                'roles'     => esc_html__( 'Selected Roles', 'merchant' ),
     133                            ),
     134                            'default' => 'all',
     135                        ),
     136
     137                        array(
     138                            'id'        => 'user_condition_roles',
     139                            'type'      => 'select_ajax',
     140                            'title'     => esc_html__( 'User Roles', 'merchant' ),
     141                            'desc'      => esc_html__( 'This will limit the offer to users with these roles.', 'merchant' ),
     142                            'source'    => 'options',
     143                            'multiple'  => true,
     144                            'classes'   => array( 'flex-grow' ),
     145                            'options'   => Merchant_Admin_Options::get_user_roles_select2_choices(),
     146                            'condition' => array( 'user_condition', '==', 'roles' ),
     147                        ),
     148
     149                        array(
     150                            'id'        => 'user_condition_users',
     151                            'type'      => 'select_ajax',
     152                            'title'     => esc_html__( 'Users', 'merchant' ),
     153                            'desc'      => esc_html__( 'This will limit the offer to the selected customers.', 'merchant' ),
     154                            'source'    => 'user',
     155                            'multiple'  => true,
     156                            'classes'   => array( 'flex-grow' ),
     157                            'condition' => array( 'user_condition', '==', 'customers' ),
     158                        ),
     159
    123160                        array(
    124161                            'id'      => 'single_product_placement',
  • merchant/trunk/inc/modules/free-gifts/admin/options.php

    r3094728 r3099520  
    2222            'sorting'      => true,
    2323            'accordion'    => true,
     24            'duplicate'    => true,
    2425            'layouts'      => array(
    2526                'spending' => array(
     
    3839                            'title'   => esc_html__( 'Products that can be purchased to claim the gift', 'merchant' ),
    3940                            'options' => array(
    40                                 'all'        => esc_html__( 'Any product', 'merchant' ),
    41                                 'product'    => esc_html__( 'Specific product', 'merchant' ),
    42                                 'categories' => esc_html__( 'Product categories', 'merchant' ),
     41                                'all'        => esc_html__( 'All products', 'merchant' ),
     42                                'product'    => esc_html__( 'Specific products', 'merchant' ),
     43                                'categories' => esc_html__( 'Specific categories', 'merchant' ),
    4344                            ),
    4445                            'default' => 'all',
     
    5556                        ),
    5657                        array(
    57                             'id'        => 'product_to_purchase',
     58                            'id'            => 'product_to_purchase',
     59                            'type'          => 'products_selector',
     60                            'multiple'      => false,
     61                            'desc'          => esc_html__( 'Select the product that the spending goal will apply to.', 'merchant' ),
     62                            'condition'     => array( 'rules_to_apply', '==', 'product' ),
     63                            'allowed_types' => array( 'simple', 'variable' ),
     64                        ),
     65
     66                        array(
     67                            'id'        => 'excluded_products',
    5868                            'type'      => 'products_selector',
    59                             'multiple'  => false,
    60                             'desc'      => esc_html__( 'Select the product that the spending goal will apply to.', 'merchant' ),
    61                             'condition' => array( 'rules_to_apply', '==', 'product' ),
    62                             'allowed_types' => array( 'simple', 'variable' ),
    63                         ),
     69                            'title'     => esc_html__( 'Exclude Products', 'merchant' ),
     70                            'multiple'  => true,
     71                            'desc'      => esc_html__( 'Exclude products from this offer.', 'merchant' ),
     72                            'condition' => array( 'rules_to_apply', 'any', 'all|categories|tags' ),
     73                        ),
     74
    6475                        'amount' => array(
    6576                            'id'      => 'amount',
     
    6980                            'default' => 100,
    7081                        ),
     82
    7183                        array(
    7284                            'id'            => 'product',
     
    7587                            'multiple'      => false,
    7688                            'allowed_types' => array( 'simple', 'variable', 'variation' ),
     89                        ),
     90
     91                        array(
     92                            'id'      => 'user_condition',
     93                            'type'    => 'select',
     94                            'title'   => esc_html__( 'User Condition', 'merchant' ),
     95                            'options' => array(
     96                                'all'       => esc_html__( 'All Users', 'merchant' ),
     97                                'customers' => esc_html__( 'Selected Users', 'merchant' ),
     98                                'roles'     => esc_html__( 'Selected Roles', 'merchant' ),
     99                            ),
     100                            'default' => 'all',
     101                        ),
     102
     103                        array(
     104                            'id'        => 'user_condition_roles',
     105                            'type'      => 'select_ajax',
     106                            'title'     => esc_html__( 'User Roles', 'merchant' ),
     107                            'desc'      => esc_html__( 'This will limit the offer to users with these roles.', 'merchant' ),
     108                            'source'    => 'options',
     109                            'multiple'  => true,
     110                            'classes'   => array( 'flex-grow' ),
     111                            'options'   => Merchant_Admin_Options::get_user_roles_select2_choices(),
     112                            'condition' => array( 'user_condition', '==', 'roles' ),
     113                        ),
     114
     115                        array(
     116                            'id'        => 'user_condition_users',
     117                            'type'      => 'select_ajax',
     118                            'title'     => esc_html__( 'Users', 'merchant' ),
     119                            'desc'      => esc_html__( 'This will limit the offer to the selected customers.', 'merchant' ),
     120                            'source'    => 'user',
     121                            'multiple'  => true,
     122                            'classes'   => array( 'flex-grow' ),
     123                            'condition' => array( 'user_condition', '==', 'customers' ),
    77124                        ),
    78125
  • merchant/trunk/inc/modules/frequently-bought-together/admin/options.php

    r3079548 r3099520  
    2121            'style'        => Merchant_Frequently_Bought_Together::MODULE_ID . '-style default',
    2222            'sorting'      => true,
     23            'duplicate'    => true,
    2324            'accordion'    => true,
    2425            'layouts'      => array(
     
    7879                            'desc'     => esc_html__( 'Select the products that will be included the bundle.', 'merchant' ),
    7980                        ),
     81
    8082                        array(
    8183                            'id'        => 'external',
     
    108110                            'condition' => array( 'enable_discount', '==', '1' ),
    109111                        ),
     112
     113                        array(
     114                            'id'      => 'user_condition',
     115                            'type'    => 'select',
     116                            'title'   => esc_html__( 'User Condition', 'merchant' ),
     117                            'options' => array(
     118                                'all'       => esc_html__( 'All Users', 'merchant' ),
     119                                'customers' => esc_html__( 'Selected Users', 'merchant' ),
     120                                'roles'     => esc_html__( 'Selected Roles', 'merchant' ),
     121                            ),
     122                            'default' => 'all',
     123                        ),
     124
     125                        array(
     126                            'id'        => 'user_condition_roles',
     127                            'type'      => 'select_ajax',
     128                            'title'     => esc_html__( 'User Roles', 'merchant' ),
     129                            'desc'      => esc_html__( 'This will limit the offer to users with these roles.', 'merchant' ),
     130                            'source'    => 'options',
     131                            'multiple'  => true,
     132                            'classes'   => array( 'flex-grow' ),
     133                            'options'   => Merchant_Admin_Options::get_user_roles_select2_choices(),
     134                            'condition' => array( 'user_condition', '==', 'roles' ),
     135                        ),
     136
     137                        array(
     138                            'id'        => 'user_condition_users',
     139                            'type'      => 'select_ajax',
     140                            'title'     => esc_html__( 'Users', 'merchant' ),
     141                            'desc'      => esc_html__( 'This will limit the offer to the selected customers.', 'merchant' ),
     142                            'source'    => 'user',
     143                            'multiple'  => true,
     144                            'classes'   => array( 'flex-grow' ),
     145                            'condition' => array( 'user_condition', '==', 'customers' ),
     146                        ),
     147
    110148                        array(
    111149                            'id'      => 'single_product_placement',
  • merchant/trunk/inc/modules/pre-orders/admin/options.php

    r3092224 r3099520  
    265265                    'only_pre_orders'                => esc_html__( 'Allow only pre-orders', 'merchant' ),
    266266                    'unified_order'                  => esc_html__( 'Treat the whole order as pre-order', 'merchant' ),
    267                     'separate_order_for_pre_orders'  => esc_html__( 'Generate separate orders for each pre-order product', 'merchant' ),
    268                     'group_pre_order_into_one_order' => esc_html__( 'Generate two separate orders, one for pre-orders and one for in-stock products', 'merchant' ),
     267//                  'separate_order_for_pre_orders'  => esc_html__( 'Generate separate orders for each pre-order product', 'merchant' ),
     268//                  'group_pre_order_into_one_order' => esc_html__( 'Generate two separate orders, one for pre-orders and one for in-stock products', 'merchant' ),
    269269                ),
    270270                'default' => 'unified_order',
  • merchant/trunk/inc/modules/pre-orders/class-pre-orders-main-functionality.php

    r3092224 r3099520  
    4343        add_filter( 'woocommerce_add_to_cart_validation', array( $this, 'allow_one_type_only' ), 99, 2 );
    4444        add_filter( 'woocommerce_add_cart_item_data', array( $this, 'add_cart_item_data' ), 10, 4 );
    45         add_filter( 'woocommerce_hidden_order_itemmeta', array( $this, 'hidden_order_itemmeta' ) );
     45//      add_filter( 'woocommerce_hidden_order_itemmeta', array( $this, 'hidden_order_itemmeta' ) );
    4646        add_action( 'woocommerce_add_order_item_meta', array( $this, 'add_order_item_meta' ), 10, 2 );
    4747
     
    7676        add_filter( 'woocommerce_get_price_html', array( $this, 'dynamic_discount_price_html' ), 10, 2 );
    7777        add_action( 'woocommerce_before_calculate_totals', array( $this, 'dynamic_discount_cart_price' ) );
    78         add_action( 'woocommerce_checkout_order_created', array( $this, 'splitting_orders' ) );
     78        add_action( 'woocommerce_thankyou', array( $this, 'splitting_orders' ) );
    7979        add_filter( 'manage_woocommerce_page_wc-orders_columns', array( $this, 'shop_order_column' ), 11 );
    8080        add_filter( 'manage_edit-shop_order_columns', array( $this, 'shop_order_column' ), 11 );
     
    188188     * Splitting orders.
    189189     *
    190      * @param $order WC_Order The order object.
    191      *
    192      * @return void
    193      */
    194     public function splitting_orders( $order ) {
    195         $mode = Merchant_Admin_Options::get( self::MODULE_ID, 'modes', 'unified_order' );
    196         if ( 'unified_order' === $mode || 'only_pre_orders' === $mode ) {
    197             $this->mark_whole_order_as_pre_order( $order );
    198         } elseif ( 'group_pre_order_into_one_order' === $mode ) {
    199             $this->group_pre_order_into_one_order( $order );
    200         } elseif ( 'separate_order_for_pre_orders' === $mode ) {
    201             $this->separate_order_for_pre_orders( $order );
    202         }
     190     * @param $order_id int The order ID.
     191     *
     192     * @return void
     193     */
     194    public function splitting_orders( $order_id ) {
     195        $order = wc_get_order( $order_id );
     196        $mode  = Merchant_Admin_Options::get( self::MODULE_ID, 'modes', 'unified_order' );
     197
     198        $this->mark_whole_order_as_pre_order( $order );
     199
     200//      if ( 'unified_order' === $mode || 'only_pre_orders' === $mode ) {
     201//          $this->mark_whole_order_as_pre_order( $order );
     202//      } elseif ( 'group_pre_order_into_one_order' === $mode ) {
     203//          $this->group_pre_order_into_one_order( $order );
     204//      } elseif ( 'separate_order_for_pre_orders' === $mode ) {
     205//          $this->separate_order_for_pre_orders( $order );
     206//      }
    203207    }
    204208
     
    218222                $shipping_dates[] = $item->get_meta( '_merchant_pre_order_shipping_date' );
    219223                ++ $has_pre_order;
    220                 break;
    221224            }
    222225        }
     
    227230            $order->add_meta_data( '_merchant_order_pre_order_shipping_date', max( $shipping_dates ) );
    228231            $order->save();
     232            $this->trigger_emails( $order );
    229233        }
    230234    }
     
    289293
    290294            $sub_order_ids[] = $new_order->get_id();
     295
     296            $this->trigger_emails( $new_order );
    291297
    292298            // Save sub-order IDs to the original order
     
    369375            $new_order->set_status( 'wc-pre-ordered' );
    370376            $new_order->save();
     377            $this->trigger_emails( $new_order );
    371378            $sub_order_ids[] = $new_order->get_id();
    372379        }
     
    378385        $original_order->calculate_totals();
    379386        $original_order->save();
     387    }
     388
     389    /**
     390     * Trigger sending emails for specific order.
     391     *
     392     * @param $order WC_Order The order object.
     393     *
     394     * @return void
     395     */
     396    private function trigger_emails( $order ) {
     397        $mailer = WC()->mailer();
     398        // Send customer email
     399        $customer_email_instance = $mailer->emails['WC_Email_Customer_Processing_Order'];
     400        $customer_email_instance->trigger( $order->get_id(), $order );
     401
     402        // Send admin email
     403        $admin_email_instance = $mailer->emails['WC_Email_New_Order'];
     404        $admin_email_instance->trigger( $order->get_id(), $order );
    380405    }
    381406
     
    716741
    717742                    if ( $parent_order->get_status() === 'completed' ) {
    718                         $order->update_status( 'wc-completed', '[Merchant Pre Orders] ' );
     743                        $order->update_status( 'processing', '[Merchant Pre Orders] ' );
    719744                    }
    720                 } elseif ( $order->get_status() === 'wc-pre-ordered' && $order->payment_complete() ) {
    721                     $order->update_status( 'wc-completed', '[Merchant Pre Orders] ' );
     745                } elseif ( $order->payment_complete() ) {
     746                    $order->update_status( 'processing', '[Merchant Pre Orders] ' );
    722747                }
    723748            }
     
    883908     */
    884909    public function add_pre_orders_order_statuses( $order_statuses ) {
    885         $order_statuses['wc-pre-ordered'] = esc_html__( 'Pre Ordered', 'merchant' );
     910        $order_statuses['wc-pre-ordered'] = esc_html__( 'Pre-Ordered', 'merchant' );
    886911
    887912        return $order_statuses;
     
    10341059        $pre_order_rule = self::available_product_rule( $product_id );
    10351060        $label_text     = $pre_order_rule['cart_label_text'] ? Merchant_Translator::translate( $pre_order_rule['cart_label_text'] ) : esc_html__( 'Ships on', 'merchant' );
    1036         $pre_order_date = date_i18n( get_option( 'date_format' ), $pre_order_rule['cart_label_text'] );
     1061        $pre_order_date = date_i18n( get_option( 'date_format' ), $pre_order_rule['shipping_timestamp'] );
    10371062        if ( 'span' === $render_type ) {
    1038             return sprintf( '<span class="merchant-pre-orders-note"><span class="merchant-pre-orders-label">%s:</span><span>%s</span></span>', esc_html( $label_text ),
    1039                 $pre_order_date );
     1063            return sprintf(
     1064                '<span class="merchant-pre-orders-note"><span class="merchant-pre-orders-label">%s:</span><span>%s</span></span>',
     1065                esc_html( $label_text ),
     1066                $pre_order_date
     1067            );
    10401068        } elseif ( 'dl' === $render_type ) {
    1041             return sprintf( '<dl class="merchant-pre-orders-note"><dt>%s:</dt><dd>%s</dd></dl>', esc_html( $label_text ), $pre_order_date );
     1069            return sprintf(
     1070                '<dl class="merchant-pre-orders-note"><dt>%s:</dt><dd>%s</dd></dl>',
     1071                esc_html( $label_text ),
     1072                $pre_order_date
     1073            );
    10421074        } else {
    1043             return sprintf( '%s: %s', esc_html( $label_text ), $pre_order_date );
     1075            return sprintf(
     1076                '%s: %s',
     1077                esc_html( $label_text ),
     1078                $pre_order_date
     1079            );
    10441080        }
    10451081    }
  • merchant/trunk/inc/modules/product-labels/admin/options.php

    r3092224 r3099520  
    157157                            'max'       => 1000,
    158158                            'step'      => 1,
    159                             'default'   => 50,
     159                            'default'   => 100,
    160160                            'unit'      => 'px',
    161161                        ),
     
    167167                            'max'       => 250,
    168168                            'step'      => 1,
    169                             'default'   => 50,
     169                            'default'   => 32,
    170170                            'unit'      => 'px',
    171171                        ),
  • merchant/trunk/inc/modules/product-labels/class-product-labels.php

    r3092224 r3099520  
    5454                    'label'            => esc_html__( 'SALE', 'merchant' ),
    5555                    'label_text_shape' => 'text-shape-1',
    56                     'show_pages'       => array( 'homepage', 'single', 'archive' ),
    57                     'show_devices'     => array( 'desktop', 'mobile' ),
    5856                ),
    5957            ),
     
    9896            return;
    9997        }
     98
     99        // Required for block editor
     100        add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_css' ) );
    100101
    101102        // Return early if it's on admin but not in the respective module settings page.
     
    115116        add_action( 'woostify_product_images_box_end', array( $this, 'single_product_output' ) );
    116117        add_action( 'woocommerce_single_product_image_gallery_classes', array( $this, 'single_product_image_gallery_classes' ) );
    117         add_filter( 'woocommerce_blocks_product_grid_item_html', array( $this, 'products_block' ), 10, 3 );
     118        add_filter( 'woocommerce_blocks_product_grid_item_html', array( $this, 'products_block' ), 9999, 3 );
     119        add_filter( 'woocommerce_sale_flash', array( $this, 'remove_on_sale' ) );
    118120
    119121        // Custom CSS.
     
    150152     */
    151153    public function products_block( $html, $data, $product ) {
    152         return str_replace( '</li>', $this->get_labels( $product, 'archive' ) . '</li>', $html );
     154
     155        /**
     156         * Filters the HTML for products in the grid.
     157         *
     158         * @param string $html Product grid item HTML.
     159         * @param array $data Product data passed to the template.
     160         * @param \WC_Product $product Product object.
     161         * @return string Updated product grid item HTML.
     162         *
     163         * @since 1.9.12
     164         */
     165        return apply_filters(
     166            'merchant_blocks_product_grid_item_html',
     167            "<li class=\"wc-block-grid__product merchant_product-labels-grid_item_html\">
     168                <a href=\"{$data->permalink}\" class=\"wc-block-grid__product-link\">
     169                    {$data->image}
     170                    {$data->title}
     171                    {$this->get_labels( $product, 'archive' )}
     172                </a>
     173                {$data->price}
     174                {$data->rating}
     175                {$data->button}
     176            </li>",
     177            $data,
     178            $product
     179        );
     180    }
     181
     182    /**
     183     * Remove default sale message
     184     *
     185     * @param $html
     186     *
     187     * @return string
     188     */
     189    public function remove_on_sale( $html ) {
     190        return '';
    153191    }
    154192
     
    359397        $css .= '
    360398            .woocommerce .onsale,
     399            .wc-block-grid__product-onsale,
    361400            .wc-block-grid__product .onsale {
    362                 display: none !important;
     401                display: none !important;
    363402            }
    364403        ';
    365404
    366         // Astra.
    367         if ( 'Astra' === $theme_name ) {
     405        // Kadence
     406        if ( 'Kadence' === $theme_name ) {
    368407            $css .= '
    369                 .woocommerce .ast-onsale-card {
    370                     display: none !important;
     408                .wc-block-grid__product a,
     409                .wc-block-grid__product-image,
     410                .wc-block-grid__product-image img {
     411                    width: 100% !important;
    371412                }
    372413            ';
     
    460501            $labels = $settings['labels'];
    461502            foreach ( $labels as $label ) {
    462                 if ( ! isset( $label['show_pages'] ) || ! $this->show_label( $label ) ) {
     503                if ( ! isset( $label['show_pages'] ) ) {
     504                    $label['show_pages'] = array( 'homepage', 'single', 'archive' );
     505                }
     506
     507                if ( ! isset( $label['show_devices'] ) ) {
     508                    $label['show_devices'] = array( 'desktop', 'mobile' );
     509                }
     510
     511                if ( ! $this->show_label( $label ) ) {
    463512                    continue;
    464513                }
     
    630679     * @return bool
    631680     */
    632     public function show_label( $label ) {
     681    public function show_label( $label, $context = '' ) {
    633682        $show       = false;
    634         $show_pages = $label ['show_pages' ] ?? array();
     683        $show_pages = $label['show_pages' ] ?? array();
    635684
    636685        if ( empty( $show_pages ) ) {
     
    643692
    644693        if ( in_array( 'archive', $show_pages, true ) && ( is_product_taxonomy() || is_shop() ) ) {
     694            $show = true;
     695        }
     696
     697        // Block
     698        if ( in_array( 'archive', $show_pages, true ) && $context !== 'archive' ) {
    645699            $show = true;
    646700        }
  • merchant/trunk/inc/modules/spending-goal/admin/options.php

    r3079548 r3099520  
    6666            'type'    => 'switcher',
    6767            'title'   => esc_html__( 'Enable Auto Slide In', 'merchant' ),
    68             'desc'    => esc_html__( 'This will make the widget slide in after a product is added to the cart.', 'merchant' ),
     68            'desc'    => esc_html__( 'This will make the widget slide in each time a product is added to the cart.', 'merchant' ),
    6969            'default' => 1,
    7070        ),
     
    9090            'type'    => 'text',
    9191            'title'   => esc_html__( 'When the goal target is between 1-99%', 'merchant' ),
    92             'default' => esc_html__( 'Spend {spending_goal} more to get a {discount_amount} discount', 'merchant' ),
    93             'desc'    => esc_html__( 'Default is: Spend {spending_goal} more to get a {discount_amount} discount', 'merchant' ),
     92            'default' => esc_html__( 'Spend {spending_goal} more to get a {discount_amount} discount!', 'merchant' ),
     93            'desc'    => esc_html__( 'Default is: Spend {spending_goal} more to get a {discount_amount} discount!', 'merchant' ),
    9494        ),
    9595
     
    9898            'type'    => 'text',
    9999            'title'   => esc_html__( 'When the goal target is at 100%', 'merchant' ),
    100             'default' => esc_html__( 'Congratulations! You get a discount of {discount_amount} on this order!', 'merchant' ),
    101             'desc'    => esc_html__( 'Default: Congratulations! You get a discount of {discount_amount} on this order!', 'merchant' ),
     100            'default' => esc_html__( 'Congratulations! You got a discount of {discount_amount} on this order!', 'merchant' ),
     101            'desc'    => esc_html__( 'Default: Congratulations! You got a discount of {discount_amount} on this order!', 'merchant' ),
    102102        ),
    103103    ),
  • merchant/trunk/inc/modules/spending-goal/class-spending-goal.php

    r3079548 r3099520  
    5959            'discount_name'     => esc_html__( 'Spending goal', 'merchant' ),
    6060            'text_goal_zero'    => esc_html__( 'Spend {spending_goal} to get a {discount_amount} discount!', 'merchant' ),
    61             'text_goal_started' => esc_html__( 'Spend {spending_goal} more to get a {discount_amount} discount', 'merchant' ),
    62             'text_goal_reached' => esc_html__( 'Congratulations! You get a discount of {discount_amount} on this order!', 'merchant' ),
     61            'text_goal_started' => esc_html__( 'Spend {spending_goal} more to get a {discount_amount} discount!', 'merchant' ),
     62            'text_goal_reached' => esc_html__( 'Congratulations! You got a discount of {discount_amount} on this order!', 'merchant' ),
    6363        );
    6464
  • merchant/trunk/inc/modules/storewide-sale/admin/options.php

    r3079548 r3099520  
    2222            'sorting'      => true,
    2323            'accordion'    => true,
     24            'duplicate'    => true,
    2425            'layouts'      => array(
    2526                'offer-details' => array(
  • merchant/trunk/languages/merchant.pot

    r3094728 r3099520  
    99"Language-Team: aThemes <[email protected]>\n"
    1010"Last-Translator: aThemes <[email protected]>\n"
    11 "POT-Creation-Date: 2024-05-29 17:03+0000\n"
     11"POT-Creation-Date: 2024-06-07 17:14+0000\n"
    1212"Report-Msgid-Bugs-To: https://athemes.com/contact/\n"
    1313"X-Poedit-Basepath: ..\n"
     
    118118msgstr ""
    119119
    120 #: admin/classes/class-merchant-admin-modules.php:70, templates/modules/frequently-bought-together/single-product.php:30, inc/modules/added-to-cart-popup/admin/options.php:156, inc/modules/frequently-bought-together/admin/options.php:127, templates/modules/added-to-cart-popup/admin/layout-1.php:128, templates/modules/added-to-cart-popup/admin/layout-2.php:114, templates/modules/added-to-cart-popup/admin/layout-3.php:127
     120#: admin/classes/class-merchant-admin-modules.php:70, templates/modules/frequently-bought-together/single-product.php:30, inc/modules/added-to-cart-popup/admin/options.php:156, inc/modules/frequently-bought-together/admin/options.php:165, templates/modules/added-to-cart-popup/admin/layout-1.php:128, templates/modules/added-to-cart-popup/admin/layout-2.php:114, templates/modules/added-to-cart-popup/admin/layout-3.php:127
    121121msgid "Frequently Bought Together"
    122122msgstr ""
     
    166166msgstr ""
    167167
    168 #: admin/classes/class-merchant-admin-modules.php:119, inc/modules/product-labels/class-product-labels.php:133
     168#: admin/classes/class-merchant-admin-modules.php:119, inc/modules/product-labels/class-product-labels.php:135
    169169msgid "Product Labels"
    170170msgstr ""
     
    658658msgstr ""
    659659
    660 #: admin/classes/class-merchant-admin-options.php:625
     660#: admin/classes/class-merchant-admin-options.php:624
    661661msgid "Field not found!"
    662662msgstr ""
    663663
    664 #: admin/classes/class-merchant-admin-options.php:650, admin/classes/class-merchant-admin-options.php:650
     664#: admin/classes/class-merchant-admin-options.php:649, admin/classes/class-merchant-admin-options.php:649
    665665msgid "Show more"
    666666msgstr ""
    667667
    668 #: admin/classes/class-merchant-admin-options.php:650
     668#: admin/classes/class-merchant-admin-options.php:649
    669669msgid "Show less"
    670670msgstr ""
    671671
    672 #: admin/classes/class-merchant-admin-options.php:1165
     672#: admin/classes/class-merchant-admin-options.php:1166
    673673msgid "WooCommerce is not installed or activated."
    674674msgstr ""
    675675
    676 #: admin/classes/class-merchant-admin-options.php:1188
     676#: admin/classes/class-merchant-admin-options.php:1189
    677677msgid "Search products"
    678678msgstr ""
    679679
    680 #: admin/classes/class-merchant-admin-options.php:1190
     680#: admin/classes/class-merchant-admin-options.php:1191
    681681msgid "Searching..."
    682682msgstr ""
    683683
    684 #: admin/classes/class-merchant-admin-options.php:1192
     684#: admin/classes/class-merchant-admin-options.php:1193
    685685msgid "Search icon"
    686686msgstr ""
    687687
    688 #: admin/classes/class-merchant-admin-options.php:1251, inc/classes/class-merchant-metabox.php:831, inc/classes/class-merchant-metabox.php:875
     688#: admin/classes/class-merchant-admin-options.php:1252, inc/classes/class-merchant-metabox.php:831, inc/classes/class-merchant-metabox.php:875
    689689msgid "Remove"
    690690msgstr ""
    691691
    692 #: admin/classes/class-merchant-admin-options.php:1249
     692#: admin/classes/class-merchant-admin-options.php:1250
    693693msgid "Add"
    694694msgstr ""
    695695
    696 #: admin/classes/class-merchant-admin-options.php:1288
     696#: admin/classes/class-merchant-admin-options.php:1289
    697697msgid "sold individually"
    698698msgstr ""
    699699
    700700#. translators: %s is the search keyword
    701 #: admin/classes/class-merchant-admin-options.php:1408
     701#: admin/classes/class-merchant-admin-options.php:1420
    702702msgid "No results found for \"%s\""
    703703msgstr ""
    704704
    705 #: admin/classes/class-merchant-admin-options.php:1448, inc/classes/class-merchant-metabox.php:924, inc/modules/advanced-reviews/admin/options.php:100
     705#: admin/classes/class-merchant-admin-options.php:1460, inc/classes/class-merchant-metabox.php:924, inc/modules/advanced-reviews/admin/options.php:100
    706706msgid "Default"
    707707msgstr ""
    708708
    709 #: admin/classes/class-merchant-admin-options.php:1633
     709#: admin/classes/class-merchant-admin-options.php:1645
    710710msgid "Select Images"
    711711msgstr ""
    712712
    713 #: admin/classes/class-merchant-admin-options.php:1679
     713#: admin/classes/class-merchant-admin-options.php:1691
    714714msgid "Select Image"
    715715msgstr ""
    716716
    717 #: admin/classes/class-merchant-admin-options.php:1698
     717#: admin/classes/class-merchant-admin-options.php:1710
    718718msgid "Upload image"
    719719msgstr ""
    720720
    721721#. translators: 1. Coupon admin url 2. Link target attribute value
    722 #: admin/classes/class-merchant-admin-options.php:1843, inc/classes/class-merchant-metabox.php:976
     722#: admin/classes/class-merchant-admin-options.php:1855, inc/classes/class-merchant-metabox.php:976
    723723msgid "No coupons found! <a href=\"%1$s\" target=\"%2$s\">Create a new coupon</a>"
    724724msgstr ""
    725725
    726 #: admin/classes/class-merchant-admin-options.php:1822, inc/classes/class-merchant-metabox.php:958
     726#: admin/classes/class-merchant-admin-options.php:1834, inc/classes/class-merchant-metabox.php:958
    727727msgid "Select a coupon"
    728728msgstr ""
    729729
    730 #: admin/classes/class-merchant-admin-options.php:1833, inc/classes/class-merchant-metabox.php:969
     730#: admin/classes/class-merchant-admin-options.php:1845, inc/classes/class-merchant-metabox.php:969
    731731msgid "Manage coupons"
    732732msgstr ""
    733733
    734 #: admin/classes/class-merchant-admin-options.php:1992, admin/classes/class-merchant-admin-options.php:2071, inc/classes/class-merchant-metabox.php:817, inc/classes/class-merchant-metabox.php:861
     734#: admin/classes/class-merchant-admin-options.php:2004, admin/classes/class-merchant-admin-options.php:2083, inc/classes/class-merchant-metabox.php:817, inc/classes/class-merchant-metabox.php:861
    735735msgid "Duplicate"
    736736msgstr ""
    737737
    738738#. translators: 1: page name
    739 #: admin/classes/class-merchant-admin-options.php:2131
     739#: admin/classes/class-merchant-admin-options.php:2143
    740740msgid "It looks like you haven't created a <strong>%1$s</strong> page yet. Click the below button to create the page."
    741741msgstr ""
    742742
    743743#. translators: 1: link to edit page
    744 #: admin/classes/class-merchant-admin-options.php:2140
     744#: admin/classes/class-merchant-admin-options.php:2152
    745745msgid "<p class=\"merchant-module-page-setting-field-desc\">Page created with success!</p><p class=\"merchant-module-page-setting-field-desc\">Click <a href=\"%1$s\" target=\"_blank\">here</a> if you want to edit the page.</p><p class=\"merchant-module-page-setting-field-desc mrc-mb-0\">To display the page in your theme header area, assign the page to the primary menu by clicking <a href=\"%2$s\" target=\"_blank\">here</a></p>"
    746746msgstr ""
    747747
    748748#. translators: 1: page title, 2: page meta key, 3: page meta value, 4: option name, 5: nonce, 6: loading text, 7: success text
    749 #: admin/classes/class-merchant-admin-options.php:2149
     749#: admin/classes/class-merchant-admin-options.php:2161
    750750msgid "<a href=\"#\" class=\"merchant-create-page-control-button button-tertiary\" data-page-title=\"%2$s\" data-page-meta-key=\"%3$s\" data-page-meta-value=\"%4$s\" data-option-name=\"%5$s\" data-nonce=\"%6$s\" data-creating-text=\"%7$s\" data-created-text=\"%8$s\">%1$s</a>"
    751751msgstr ""
    752752
    753 #: admin/classes/class-merchant-admin-options.php:2151
     753#: admin/classes/class-merchant-admin-options.php:2163
    754754msgid "Create Page"
    755755msgstr ""
    756756
    757 #: admin/classes/class-merchant-admin-options.php:2157
     757#: admin/classes/class-merchant-admin-options.php:2169
    758758msgid "Creating..."
    759759msgstr ""
    760760
    761 #: admin/classes/class-merchant-admin-options.php:2158
     761#: admin/classes/class-merchant-admin-options.php:2170
    762762msgid "Created!"
    763763msgstr ""
    764764
    765 #: admin/classes/class-merchant-admin-options.php:2120
     765#: admin/classes/class-merchant-admin-options.php:2132
    766766msgid "<p class=\"merchant-module-page-setting-field-desc mrc-mt-0\">Your page is created!</p><p class=\"merchant-module-page-setting-field-desc\">Click <a href=\"%1$s\" target=\"_blank\">here</a> if you want to edit the page.</p><p class=\"merchant-module-page-setting-field-desc mrc-mb-0\">To display the page in your theme header area, assign the page to the primary menu by clicking <a href=\"%2$s\" target=\"_blank\">here</a></p>"
    767767msgstr ""
     
    785785
    786786#: admin/notices/class-merchant-notice-upsell.php:49
    787 msgid "Earn More with Your Store and Merchant Pro! 💰"
     787msgid "Supercharge Your Store with Merchant Pro! 🚀"
    788788msgstr ""
    789789
    790790#: admin/notices/class-merchant-notice-upsell.php:53
    791 msgid "Merchant Pro packs in all the must-have eCommerce features you need to run your store successfully. With 40+ powerful modules and more to come, Merchant Pro will level up your store and save you the hassle of managing multiple plugins."
     791msgid "With Merchant Pro's 40+ powerful modules — including Product Bundles, Frequently Bought Together, and Bulk Discounts — you can boost sales, enhance customer experience, and minimize cart abandonment, all from one convenient plugin."
    792792msgstr ""
    793793
     
    11521152msgstr ""
    11531153
    1154 #: inc/modules/add-to-cart-text/class-add-to-cart-text.php:46, inc/modules/add-to-cart-text/class-add-to-cart-text.php:47, inc/modules/add-to-cart-text/class-add-to-cart-text.php:49, inc/modules/countdown-timer/class-countdown-timer.php:237, inc/modules/free-gifts/class-free-gifts.php:260, templates/modules/frequently-bought-together/single-product.php:121, inc/modules/add-to-cart-text/admin/options.php:22, inc/modules/add-to-cart-text/admin/options.php:46, inc/modules/add-to-cart-text/admin/options.php:86, inc/modules/frequently-bought-together/admin/options.php:163
     1154#: inc/modules/add-to-cart-text/class-add-to-cart-text.php:46, inc/modules/add-to-cart-text/class-add-to-cart-text.php:47, inc/modules/add-to-cart-text/class-add-to-cart-text.php:49, inc/modules/countdown-timer/class-countdown-timer.php:237, inc/modules/free-gifts/class-free-gifts.php:260, templates/modules/frequently-bought-together/single-product.php:121, inc/modules/add-to-cart-text/admin/options.php:22, inc/modules/add-to-cart-text/admin/options.php:46, inc/modules/add-to-cart-text/admin/options.php:86, inc/modules/frequently-bought-together/admin/options.php:201
    11551155msgid "Add to cart"
    11561156msgstr ""
     
    11881188msgstr ""
    11891189
    1190 #: inc/modules/add-to-cart-text/class-add-to-cart-text.php:171, inc/modules/add-to-cart-text/class-add-to-cart-text.php:182, inc/modules/add-to-cart-text/class-add-to-cart-text.php:193, inc/modules/product-labels/class-product-labels.php:247
     1190#: inc/modules/add-to-cart-text/class-add-to-cart-text.php:171, inc/modules/add-to-cart-text/class-add-to-cart-text.php:182, inc/modules/add-to-cart-text/class-add-to-cart-text.php:193, inc/modules/product-labels/class-product-labels.php:285
    11911191msgid "The product description normally goes here."
    11921192msgstr ""
     
    12881288msgstr ""
    12891289
    1290 #: inc/modules/animated-add-to-cart/class-animated-add-to-cart.php:197, inc/modules/quick-view/class-quick-view.php:296, templates/modules/buy-x-get-y/single-product.php:184, templates/modules/sticky-add-to-cart/content.php:78, templates/modules/sticky-add-to-cart/content.php:74, inc/modules/buy-x-get-y/admin/options.php:160
     1290#: inc/modules/animated-add-to-cart/class-animated-add-to-cart.php:197, inc/modules/quick-view/class-quick-view.php:296, templates/modules/buy-x-get-y/single-product.php:184, inc/modules/buy-x-get-y/admin/options.php:197
    12911291msgid "Add To Cart"
    12921292msgstr ""
     
    14241424msgstr ""
    14251425
    1426 #: inc/modules/free-gifts/class-free-gifts.php:61, templates/modules/free-gifts/widget-contents.php:168, inc/modules/free-gifts/admin/options.php:191
     1426#: inc/modules/free-gifts/class-free-gifts.php:61, templates/modules/free-gifts/widget-contents.php:169, inc/modules/free-gifts/admin/options.php:238
    14271427msgid "Free"
    14281428msgstr ""
    14291429
    1430 #: inc/modules/free-gifts/class-free-gifts.php:62, inc/modules/free-gifts/admin/options.php:198
     1430#: inc/modules/free-gifts/class-free-gifts.php:62, inc/modules/free-gifts/admin/options.php:245
    14311431msgid "Free Gift"
    14321432msgstr ""
    14331433
    1434 #: inc/modules/free-gifts/class-free-gifts.php:63, inc/modules/free-gifts/admin/options.php:206
     1434#: inc/modules/free-gifts/class-free-gifts.php:63, inc/modules/free-gifts/admin/options.php:253
    14351435msgid "This item was added as a free gift"
    14361436msgstr ""
     
    14601460msgstr ""
    14611461
    1462 #: inc/modules/free-gifts/class-free-gifts.php:159, inc/modules/free-gifts/class-free-gifts.php:164, inc/modules/free-gifts/class-free-gifts.php:169, inc/modules/free-gifts/admin/options.php:113
     1462#: inc/modules/free-gifts/class-free-gifts.php:159, inc/modules/free-gifts/class-free-gifts.php:164, inc/modules/free-gifts/class-free-gifts.php:169, inc/modules/free-gifts/admin/options.php:160
    14631463msgid "Congratulations! You are eligible to receive a free gift."
    14641464msgstr ""
     
    14801480msgstr ""
    14811481
    1482 #: inc/modules/frequently-bought-together/class-frequently-bought-together.php:48, inc/modules/storewide-sale/class-storewide-sale.php:48, templates/modules/frequently-bought-together/single-product.php:91, inc/modules/frequently-bought-together/admin/options.php:156
     1482#: inc/modules/frequently-bought-together/class-frequently-bought-together.php:48, inc/modules/storewide-sale/class-storewide-sale.php:48, templates/modules/frequently-bought-together/single-product.php:91, inc/modules/frequently-bought-together/admin/options.php:194
    14831483msgid "Please select an option to see the total price."
    14841484msgstr ""
    14851485
    1486 #: inc/modules/frequently-bought-together/class-frequently-bought-together.php:49, inc/modules/storewide-sale/class-storewide-sale.php:49, templates/modules/frequently-bought-together/single-product.php:96, inc/modules/frequently-bought-together/admin/options.php:148
     1486#: inc/modules/frequently-bought-together/class-frequently-bought-together.php:49, inc/modules/storewide-sale/class-storewide-sale.php:49, templates/modules/frequently-bought-together/single-product.php:96, inc/modules/frequently-bought-together/admin/options.php:186
    14871487msgid "Please select an option to see your savings."
    14881488msgstr ""
     
    15811581msgstr ""
    15821582
    1583 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:674
     1583#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:699
    15841584msgid "We detected that your cart has pre-order products. Please remove them before being able to add this product."
    15851585msgstr ""
    15861586
    1587 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:671
     1587#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:696
    15881588msgid "We detected that you are trying to add a pre-order product in your cart. Please remove the rest of the products before proceeding."
    15891589msgstr ""
    15901590
    1591 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:738, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1322, inc/modules/pre-orders/class-pre-orders.php:58, inc/modules/pre-orders/class-pre-orders.php:241
     1591#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:763, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1358, inc/modules/pre-orders/class-pre-orders.php:58, inc/modules/pre-orders/class-pre-orders.php:241
    15921592msgid "Pre Order Now!"
    15931593msgstr ""
    15941594
    1595 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:759, inc/modules/pre-orders/class-pre-orders-main-functionality.php:852, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1323, inc/modules/pre-orders/class-pre-orders.php:59
     1595#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:784, inc/modules/pre-orders/class-pre-orders-main-functionality.php:877, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1359, inc/modules/pre-orders/class-pre-orders.php:59
    15961596msgid "Ships on {date}."
    15971597msgstr ""
    15981598
    1599 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:867, inc/modules/pre-orders/class-pre-orders-main-functionality.php:885
     1599#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:892
    16001600msgid "Pre Ordered"
    16011601msgstr ""
    16021602
    16031603#. translators: %s: pre ordered product count
    1604 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:873
     1604#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:898
    16051605msgid "Pre Ordered <span class=\"count\">(%s)</span>"
    16061606msgid_plural "Pre Ordered <span class=\"count\">(%s)</span>"
     
    16081608msgstr[1] ""
    16091609
    1610 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:920, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1035, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1325, inc/modules/pre-orders/admin/options.php:208
     1610#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:910
     1611msgid "Pre-Ordered"
     1612msgstr ""
     1613
     1614#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:945, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1060, inc/modules/pre-orders/class-pre-orders-main-functionality.php:1361, inc/modules/pre-orders/admin/options.php:208
    16111615msgid "Ships on"
    16121616msgstr ""
    16131617
    1614 #: inc/modules/pre-orders/class-pre-orders-main-functionality.php:1316, inc/modules/pre-orders/admin/options.php:41
     1618#: inc/modules/pre-orders/class-pre-orders-main-functionality.php:1352, inc/modules/pre-orders/admin/options.php:41
    16151619msgid "Custom Pre-order"
    16161620msgstr ""
     
    16481652msgstr ""
    16491653
    1650 #: inc/modules/product-labels/class-product-labels.php:136
     1654#: inc/modules/product-labels/class-product-labels.php:138
    16511655msgid "Percentage text in product labels"
    16521656msgstr ""
    16531657
    1654 #: inc/modules/product-labels/class-product-labels.php:245, inc/modules/quick-view/class-quick-view.php:290, inc/modules/recently-viewed-products/class-recently-viewed-products.php:184, inc/modules/recently-viewed-products/class-recently-viewed-products.php:191, inc/modules/recently-viewed-products/class-recently-viewed-products.php:198, inc/modules/sticky-add-to-cart/class-sticky-add-to-cart.php:200, inc/modules/wishlist/class-wishlist.php:176
     1658#: inc/modules/product-labels/class-product-labels.php:283, inc/modules/quick-view/class-quick-view.php:290, inc/modules/recently-viewed-products/class-recently-viewed-products.php:184, inc/modules/recently-viewed-products/class-recently-viewed-products.php:191, inc/modules/recently-viewed-products/class-recently-viewed-products.php:198, inc/modules/sticky-add-to-cart/class-sticky-add-to-cart.php:200, inc/modules/wishlist/class-wishlist.php:176
    16551659msgid "Product Title"
    16561660msgstr ""
    16571661
    1658 #: inc/modules/product-labels/class-product-labels.php:531
     1662#: inc/modules/product-labels/class-product-labels.php:580
    16591663msgid "In stock"
    16601664msgstr ""
    16611665
    1662 #: inc/modules/product-labels/class-product-labels.php:531
     1666#: inc/modules/product-labels/class-product-labels.php:580
    16631667msgid "Sold out"
    16641668msgstr ""
     
    18401844msgstr ""
    18411845
    1842 #: inc/modules/real-time-search/class-real-time-search.php:317, inc/modules/added-to-cart-popup/admin/options.php:289, inc/modules/buy-x-get-y/admin/options.php:57, inc/modules/frequently-bought-together/admin/options.php:57, inc/modules/pre-orders/admin/options.php:65, inc/modules/product-labels/admin/options.php:257, inc/modules/size-chart/admin/options.php:30, inc/modules/storewide-sale/admin/options.php:58, inc/modules/volume-discounts/admin/options.php:61
     1846#: inc/modules/real-time-search/class-real-time-search.php:317, inc/modules/added-to-cart-popup/admin/options.php:289, inc/modules/buy-x-get-y/admin/options.php:58, inc/modules/frequently-bought-together/admin/options.php:58, inc/modules/pre-orders/admin/options.php:65, inc/modules/product-labels/admin/options.php:257, inc/modules/size-chart/admin/options.php:30, inc/modules/storewide-sale/admin/options.php:59, inc/modules/volume-discounts/admin/options.php:61
    18431847msgid "Categories"
    18441848msgstr ""
     
    19081912msgstr ""
    19091913
    1910 #: inc/modules/spending-goal/class-spending-goal.php:59, inc/modules/free-gifts/admin/options.php:66, inc/modules/spending-goal/admin/options.php:22, inc/modules/spending-goal/admin/options.php:60
     1914#: inc/modules/spending-goal/class-spending-goal.php:59, inc/modules/free-gifts/admin/options.php:77, inc/modules/spending-goal/admin/options.php:22, inc/modules/spending-goal/admin/options.php:60
    19111915msgid "Spending goal"
    19121916msgstr ""
     
    19171921
    19181922#: inc/modules/spending-goal/class-spending-goal.php:61, inc/modules/spending-goal/admin/options.php:92
    1919 msgid "Spend {spending_goal} more to get a {discount_amount} discount"
     1923msgid "Spend {spending_goal} more to get a {discount_amount} discount!"
    19201924msgstr ""
    19211925
    19221926#: inc/modules/spending-goal/class-spending-goal.php:62, inc/modules/spending-goal/admin/options.php:100
    1923 msgid "Congratulations! You get a discount of {discount_amount} on this order!"
     1927msgid "Congratulations! You got a discount of {discount_amount} on this order!"
    19241928msgstr ""
    19251929
     
    19801984msgstr ""
    19811985
    1982 #: inc/modules/volume-discounts/class-volume-discounts.php:59, inc/modules/volume-discounts/class-volume-discounts.php:66, inc/modules/frequently-bought-together/admin/options.php:96, inc/modules/storewide-sale/admin/options.php:77, inc/modules/volume-discounts/admin/options.php:98, inc/modules/volume-discounts/admin/options.php:221
     1986#: inc/modules/volume-discounts/class-volume-discounts.php:59, inc/modules/volume-discounts/class-volume-discounts.php:66, inc/modules/frequently-bought-together/admin/options.php:98, inc/modules/storewide-sale/admin/options.php:78, inc/modules/volume-discounts/admin/options.php:98, inc/modules/volume-discounts/admin/options.php:221
    19831987msgid "Discount"
    19841988msgstr ""
     
    22282232msgstr ""
    22292233
    2230 #: templates/modules/buy-x-get-y/single-product.php:56, inc/modules/buy-x-get-y/admin/options.php:139
     2234#: templates/modules/buy-x-get-y/single-product.php:56, inc/modules/buy-x-get-y/admin/options.php:176
    22312235msgid "Buy One Get One"
    22322236msgstr ""
     
    22482252
    22492253#. translators: 1. Amount
    2250 #: templates/modules/free-gifts/widget-contents.php:116
     2254#: templates/modules/free-gifts/widget-contents.php:117
    22512255msgid "Use %s coupon to get this product"
    22522256msgstr ""
     
    22582262msgstr[1] ""
    22592263
    2260 #: templates/modules/frequently-bought-together/single-product.php:84, inc/modules/frequently-bought-together/admin/options.php:134
     2264#: templates/modules/frequently-bought-together/single-product.php:84, inc/modules/frequently-bought-together/admin/options.php:172
    22612265msgid "Bundle price"
    22622266msgstr ""
     
    22672271msgstr ""
    22682272
    2269 #: templates/modules/sticky-add-to-cart/content.php:82, templates/modules/added-to-cart-popup/common/popup-header.php:22
     2273#: templates/modules/sticky-add-to-cart/content.php:76
     2274msgid "Add To Cart S"
     2275msgstr ""
     2276
     2277#: templates/modules/sticky-add-to-cart/content.php:80, templates/modules/added-to-cart-popup/common/popup-header.php:22
    22702278msgid "Close"
    22712279msgstr ""
     
    23872395msgstr ""
    23882396
    2389 #: inc/modules/added-to-cart-popup/admin/options.php:91, inc/modules/free-gifts/admin/options.php:182, inc/modules/spending-goal/admin/options.php:33
     2397#: inc/modules/added-to-cart-popup/admin/options.php:91, inc/modules/free-gifts/admin/options.php:229, inc/modules/spending-goal/admin/options.php:33
    23902398msgid "Cart total"
    23912399msgstr ""
     
    24512459msgstr ""
    24522460
    2453 #: inc/modules/added-to-cart-popup/admin/options.php:248, inc/modules/buy-x-get-y/admin/options.php:38, inc/modules/frequently-bought-together/admin/options.php:38, inc/modules/pre-orders/admin/options.php:47, inc/modules/storewide-sale/admin/options.php:39
     2461#: inc/modules/added-to-cart-popup/admin/options.php:248, inc/modules/buy-x-get-y/admin/options.php:39, inc/modules/frequently-bought-together/admin/options.php:39, inc/modules/pre-orders/admin/options.php:47, inc/modules/storewide-sale/admin/options.php:40
    24542462msgid "Trigger"
    24552463msgstr ""
     
    24672475msgstr ""
    24682476
    2469 #: inc/modules/added-to-cart-popup/admin/options.php:293, inc/modules/buy-x-get-y/admin/options.php:61, inc/modules/free-gifts/admin/options.php:52, inc/modules/frequently-bought-together/admin/options.php:61, inc/modules/pre-orders/admin/options.php:69, inc/modules/product-labels/admin/options.php:261, inc/modules/size-chart/admin/options.php:34, inc/modules/storewide-sale/admin/options.php:62, inc/modules/volume-discounts/admin/options.php:65
     2477#: inc/modules/added-to-cart-popup/admin/options.php:293, inc/modules/buy-x-get-y/admin/options.php:62, inc/modules/free-gifts/admin/options.php:53, inc/modules/frequently-bought-together/admin/options.php:62, inc/modules/pre-orders/admin/options.php:69, inc/modules/product-labels/admin/options.php:261, inc/modules/size-chart/admin/options.php:34, inc/modules/storewide-sale/admin/options.php:63, inc/modules/volume-discounts/admin/options.php:65
    24702478msgid "Select categories"
    24712479msgstr ""
     
    24752483msgstr ""
    24762484
    2477 #: inc/modules/added-to-cart-popup/admin/options.php:314, inc/modules/free-gifts/admin/options.php:258, inc/modules/product-labels/admin/options.php:287, inc/modules/recently-viewed-products/admin/options.php:200, inc/modules/stock-scarcity/admin/options.php:28
     2485#: inc/modules/added-to-cart-popup/admin/options.php:314, inc/modules/free-gifts/admin/options.php:305, inc/modules/product-labels/admin/options.php:287, inc/modules/recently-viewed-products/admin/options.php:200, inc/modules/stock-scarcity/admin/options.php:28
    24782486msgid "Show on pages"
    24792487msgstr ""
    24802488
    2481 #: inc/modules/added-to-cart-popup/admin/options.php:316, inc/modules/free-gifts/admin/options.php:259, inc/modules/product-labels/admin/options.php:289
     2489#: inc/modules/added-to-cart-popup/admin/options.php:316, inc/modules/free-gifts/admin/options.php:306, inc/modules/product-labels/admin/options.php:289
    24822490msgid "Homepage"
    24832491msgstr ""
     
    25032511msgstr ""
    25042512
    2505 #: inc/modules/added-to-cart-popup/admin/options.php:338, inc/modules/countdown-timer/admin/options.php:225, inc/modules/free-gifts/admin/options.php:289
     2513#: inc/modules/added-to-cart-popup/admin/options.php:338, inc/modules/countdown-timer/admin/options.php:225, inc/modules/free-gifts/admin/options.php:336
    25062514msgid "Look and Feel"
    25072515msgstr ""
     
    28052813msgstr ""
    28062814
    2807 #: inc/modules/advanced-reviews/admin/options.php:363, inc/modules/advanced-reviews/admin/options.php:368, inc/modules/buy-x-get-y/admin/options.php:257, inc/modules/buy-x-get-y/admin/options.php:262, inc/modules/cart-reserved-timer/admin/options.php:103, inc/modules/cart-reserved-timer/admin/options.php:108, inc/modules/frequently-bought-together/admin/options.php:217, inc/modules/frequently-bought-together/admin/options.php:222, inc/modules/payment-logos/admin/options.php:125, inc/modules/payment-logos/admin/options.php:130, inc/modules/product-brand-image/admin/options.php:82, inc/modules/product-brand-image/admin/options.php:87, inc/modules/product-bundles/admin/options.php:150, inc/modules/product-bundles/admin/options.php:155, inc/modules/reasons-to-buy/admin/options.php:134, inc/modules/reasons-to-buy/admin/options.php:139, inc/modules/recently-viewed-products/admin/options.php:215, inc/modules/recently-viewed-products/admin/options.php:220, inc/modules/size-chart/admin/options.php:215, inc/modules/size-chart/admin/options.php:220, inc/modules/stock-scarcity/admin/options.php:188, inc/modules/stock-scarcity/admin/options.php:193, inc/modules/trust-badges/admin/options.php:132, inc/modules/trust-badges/admin/options.php:137, inc/modules/volume-discounts/admin/options.php:323, inc/modules/volume-discounts/admin/options.php:328, inc/modules/wait-list/admin/options.php:142, inc/modules/wait-list/admin/options.php:147
     2815#: inc/modules/advanced-reviews/admin/options.php:363, inc/modules/advanced-reviews/admin/options.php:368, inc/modules/buy-x-get-y/admin/options.php:294, inc/modules/buy-x-get-y/admin/options.php:299, inc/modules/cart-reserved-timer/admin/options.php:103, inc/modules/cart-reserved-timer/admin/options.php:108, inc/modules/frequently-bought-together/admin/options.php:255, inc/modules/frequently-bought-together/admin/options.php:260, inc/modules/payment-logos/admin/options.php:125, inc/modules/payment-logos/admin/options.php:130, inc/modules/product-brand-image/admin/options.php:82, inc/modules/product-brand-image/admin/options.php:87, inc/modules/product-bundles/admin/options.php:150, inc/modules/product-bundles/admin/options.php:155, inc/modules/reasons-to-buy/admin/options.php:134, inc/modules/reasons-to-buy/admin/options.php:139, inc/modules/recently-viewed-products/admin/options.php:215, inc/modules/recently-viewed-products/admin/options.php:220, inc/modules/size-chart/admin/options.php:215, inc/modules/size-chart/admin/options.php:220, inc/modules/stock-scarcity/admin/options.php:188, inc/modules/stock-scarcity/admin/options.php:193, inc/modules/trust-badges/admin/options.php:132, inc/modules/trust-badges/admin/options.php:137, inc/modules/volume-discounts/admin/options.php:323, inc/modules/volume-discounts/admin/options.php:328, inc/modules/wait-list/admin/options.php:142, inc/modules/wait-list/admin/options.php:147
    28082816msgid "Use shortcode"
    28092817msgstr ""
    28102818
    2811 #: inc/modules/advanced-reviews/admin/options.php:374, inc/modules/buy-x-get-y/admin/options.php:268, inc/modules/cart-reserved-timer/admin/options.php:114, inc/modules/frequently-bought-together/admin/options.php:228, inc/modules/payment-logos/admin/options.php:136, inc/modules/product-brand-image/admin/options.php:93, inc/modules/product-bundles/admin/options.php:161, inc/modules/reasons-to-buy/admin/options.php:145, inc/modules/recently-viewed-products/admin/options.php:226, inc/modules/size-chart/admin/options.php:226, inc/modules/stock-scarcity/admin/options.php:199, inc/modules/trust-badges/admin/options.php:143, inc/modules/volume-discounts/admin/options.php:334, inc/modules/wait-list/admin/options.php:153
     2819#: inc/modules/advanced-reviews/admin/options.php:374, inc/modules/buy-x-get-y/admin/options.php:305, inc/modules/cart-reserved-timer/admin/options.php:114, inc/modules/frequently-bought-together/admin/options.php:266, inc/modules/payment-logos/admin/options.php:136, inc/modules/product-brand-image/admin/options.php:93, inc/modules/product-bundles/admin/options.php:161, inc/modules/reasons-to-buy/admin/options.php:145, inc/modules/recently-viewed-products/admin/options.php:226, inc/modules/size-chart/admin/options.php:226, inc/modules/stock-scarcity/admin/options.php:199, inc/modules/trust-badges/admin/options.php:143, inc/modules/volume-discounts/admin/options.php:334, inc/modules/wait-list/admin/options.php:153
    28122820msgid "If you are using a page builder or a theme that supports shortcodes, then you can output the module using the shortcode above. This might be useful if, for example, you find that you want to control the position of the module output more precisely than with the module settings. Note that the shortcodes can only be used on single product pages."
    28132821msgstr ""
    28142822
    2815 #: inc/modules/advanced-reviews/admin/options.php:379, inc/modules/buy-x-get-y/admin/options.php:273, inc/modules/cart-reserved-timer/admin/options.php:119, inc/modules/frequently-bought-together/admin/options.php:233, inc/modules/payment-logos/admin/options.php:141, inc/modules/product-brand-image/admin/options.php:98, inc/modules/product-bundles/admin/options.php:167, inc/modules/reasons-to-buy/admin/options.php:150, inc/modules/recently-viewed-products/admin/options.php:231, inc/modules/size-chart/admin/options.php:231, inc/modules/stock-scarcity/admin/options.php:207, inc/modules/trust-badges/admin/options.php:148, inc/modules/volume-discounts/admin/options.php:339, inc/modules/wait-list/admin/options.php:158
     2823#: inc/modules/advanced-reviews/admin/options.php:379, inc/modules/buy-x-get-y/admin/options.php:310, inc/modules/cart-reserved-timer/admin/options.php:119, inc/modules/frequently-bought-together/admin/options.php:271, inc/modules/payment-logos/admin/options.php:141, inc/modules/product-brand-image/admin/options.php:98, inc/modules/product-bundles/admin/options.php:167, inc/modules/reasons-to-buy/admin/options.php:150, inc/modules/recently-viewed-products/admin/options.php:231, inc/modules/size-chart/admin/options.php:231, inc/modules/stock-scarcity/admin/options.php:207, inc/modules/trust-badges/admin/options.php:148, inc/modules/volume-discounts/admin/options.php:339, inc/modules/wait-list/admin/options.php:158
    28162824msgid "Shortcode text"
    28172825msgstr ""
     
    28492857msgstr ""
    28502858
    2851 #: inc/modules/buy-now/admin/options.php:21, inc/modules/buy-x-get-y/admin/options.php:159, inc/modules/cookie-banner/admin/options.php:54, inc/modules/frequently-bought-together/admin/options.php:162, inc/modules/pre-orders/admin/options.php:183, inc/modules/quick-view/admin/options.php:36
     2859#: inc/modules/buy-now/admin/options.php:21, inc/modules/buy-x-get-y/admin/options.php:196, inc/modules/cookie-banner/admin/options.php:54, inc/modules/frequently-bought-together/admin/options.php:200, inc/modules/pre-orders/admin/options.php:183, inc/modules/quick-view/admin/options.php:36
    28522860msgid "Button text"
    28532861msgstr ""
     
    28772885msgstr ""
    28782886
    2879 #: inc/modules/buy-now/admin/options.php:84, inc/modules/buy-x-get-y/admin/options.php:179, inc/modules/payment-logos/admin/options.php:59, inc/modules/product-labels/admin/options.php:196, inc/modules/trust-badges/admin/options.php:59
     2887#: inc/modules/buy-now/admin/options.php:84, inc/modules/buy-x-get-y/admin/options.php:216, inc/modules/payment-logos/admin/options.php:59, inc/modules/product-labels/admin/options.php:196, inc/modules/trust-badges/admin/options.php:59
    28802888msgid "Font size"
    28812889msgstr ""
     
    29652973msgstr ""
    29662974
    2967 #: inc/modules/buy-x-get-y/admin/options.php:23, inc/modules/free-gifts/admin/options.php:20, inc/modules/pre-orders/admin/options.php:31, inc/modules/volume-discounts/admin/options.php:20
     2975#: inc/modules/buy-x-get-y/admin/options.php:24, inc/modules/free-gifts/admin/options.php:20, inc/modules/pre-orders/admin/options.php:31, inc/modules/volume-discounts/admin/options.php:20
    29682976msgid "Add New Offer"
    29692977msgstr ""
    29702978
    2971 #: inc/modules/buy-x-get-y/admin/options.php:26, inc/modules/buy-x-get-y/admin/options.php:33, inc/modules/free-gifts/admin/options.php:139, inc/modules/frequently-bought-together/admin/options.php:33, inc/modules/pre-orders/admin/options.php:34, inc/modules/volume-discounts/admin/options.php:34
     2979#: inc/modules/buy-x-get-y/admin/options.php:27, inc/modules/buy-x-get-y/admin/options.php:34, inc/modules/free-gifts/admin/options.php:186, inc/modules/frequently-bought-together/admin/options.php:34, inc/modules/pre-orders/admin/options.php:34, inc/modules/volume-discounts/admin/options.php:34
    29722980msgid "Campaign"
    29732981msgstr ""
    29742982
    2975 #: inc/modules/buy-x-get-y/admin/options.php:32, inc/modules/free-gifts/admin/options.php:32, inc/modules/free-gifts/admin/options.php:138, inc/modules/frequently-bought-together/admin/options.php:32, inc/modules/storewide-sale/admin/options.php:32, inc/modules/volume-discounts/admin/options.php:33
     2983#: inc/modules/buy-x-get-y/admin/options.php:33, inc/modules/free-gifts/admin/options.php:33, inc/modules/free-gifts/admin/options.php:185, inc/modules/frequently-bought-together/admin/options.php:33, inc/modules/storewide-sale/admin/options.php:33, inc/modules/volume-discounts/admin/options.php:33
    29762984msgid "Offer name"
    29772985msgstr ""
    29782986
    2979 #: inc/modules/buy-x-get-y/admin/options.php:40, inc/modules/frequently-bought-together/admin/options.php:40, inc/modules/storewide-sale/admin/options.php:41, inc/modules/volume-discounts/admin/options.php:41
     2987#: inc/modules/buy-x-get-y/admin/options.php:41, inc/modules/free-gifts/admin/options.php:41, inc/modules/frequently-bought-together/admin/options.php:41, inc/modules/storewide-sale/admin/options.php:42, inc/modules/volume-discounts/admin/options.php:41
    29802988msgid "All products"
    29812989msgstr ""
    29822990
    2983 #: inc/modules/buy-x-get-y/admin/options.php:41, inc/modules/storewide-sale/admin/options.php:42, inc/modules/volume-discounts/admin/options.php:42
     2991#: inc/modules/buy-x-get-y/admin/options.php:42, inc/modules/free-gifts/admin/options.php:42, inc/modules/storewide-sale/admin/options.php:43, inc/modules/volume-discounts/admin/options.php:42
    29842992msgid "Specific products"
    29852993msgstr ""
    29862994
    2987 #: inc/modules/buy-x-get-y/admin/options.php:42, inc/modules/frequently-bought-together/admin/options.php:42, inc/modules/storewide-sale/admin/options.php:43, inc/modules/volume-discounts/admin/options.php:43
     2995#: inc/modules/buy-x-get-y/admin/options.php:43, inc/modules/free-gifts/admin/options.php:43, inc/modules/frequently-bought-together/admin/options.php:43, inc/modules/storewide-sale/admin/options.php:44, inc/modules/volume-discounts/admin/options.php:43
    29882996msgid "Specific categories"
    29892997msgstr ""
    29902998
    2991 #: inc/modules/buy-x-get-y/admin/options.php:49
     2999#: inc/modules/buy-x-get-y/admin/options.php:50
    29923000msgid "Customer buys"
    29933001msgstr ""
    29943002
    2995 #: inc/modules/buy-x-get-y/admin/options.php:51
     3003#: inc/modules/buy-x-get-y/admin/options.php:52
    29963004msgid "Select the products that will show the offer"
    29973005msgstr ""
    29983006
    2999 #: inc/modules/buy-x-get-y/admin/options.php:62, inc/modules/frequently-bought-together/admin/options.php:62, inc/modules/pre-orders/admin/options.php:70, inc/modules/volume-discounts/admin/options.php:66
     3007#: inc/modules/buy-x-get-y/admin/options.php:63, inc/modules/frequently-bought-together/admin/options.php:63, inc/modules/pre-orders/admin/options.php:70, inc/modules/volume-discounts/admin/options.php:66
    30003008msgid "Select the product categories that will show the offer."
    30013009msgstr ""
    30023010
    3003 #: inc/modules/buy-x-get-y/admin/options.php:68, inc/modules/frequently-bought-together/admin/options.php:68, inc/modules/product-labels/admin/options.php:278, inc/modules/volume-discounts/admin/options.php:83
     3011#: inc/modules/buy-x-get-y/admin/options.php:69, inc/modules/free-gifts/admin/options.php:69, inc/modules/frequently-bought-together/admin/options.php:69, inc/modules/product-labels/admin/options.php:278, inc/modules/volume-discounts/admin/options.php:83
    30043012msgid "Exclude Products"
    30053013msgstr ""
    30063014
    3007 #: inc/modules/buy-x-get-y/admin/options.php:70, inc/modules/frequently-bought-together/admin/options.php:70, inc/modules/volume-discounts/admin/options.php:85
     3015#: inc/modules/buy-x-get-y/admin/options.php:71, inc/modules/frequently-bought-together/admin/options.php:71, inc/modules/volume-discounts/admin/options.php:85
    30083016msgid "Exclude products from this campaign."
    30093017msgstr ""
    30103018
    3011 #: inc/modules/buy-x-get-y/admin/options.php:78, inc/modules/buy-x-get-y/admin/options.php:102, inc/modules/volume-discounts/admin/options.php:91
     3019#: inc/modules/buy-x-get-y/admin/options.php:79, inc/modules/buy-x-get-y/admin/options.php:103, inc/modules/volume-discounts/admin/options.php:91
    30123020msgid "Quantity"
    30133021msgstr ""
    30143022
    3015 #: inc/modules/buy-x-get-y/admin/options.php:79
     3023#: inc/modules/buy-x-get-y/admin/options.php:80
    30163024msgid "The minimum quantity that customers should purchase to get the offer"
    30173025msgstr ""
    30183026
    3019 #: inc/modules/buy-x-get-y/admin/options.php:85
     3027#: inc/modules/buy-x-get-y/admin/options.php:86
    30203028msgid "Customer Gets"
    30213029msgstr ""
    30223030
    3023 #: inc/modules/buy-x-get-y/admin/options.php:87
     3031#: inc/modules/buy-x-get-y/admin/options.php:88
    30243032msgid "Select the products that the customer will get when they purchase the minimum required quantity."
    30253033msgstr ""
    30263034
    3027 #: inc/modules/buy-x-get-y/admin/options.php:92, inc/modules/frequently-bought-together/admin/options.php:82
     3035#: inc/modules/buy-x-get-y/admin/options.php:93, inc/modules/frequently-bought-together/admin/options.php:84
    30283036msgid "Display the offer on all products in the bundle"
    30293037msgstr ""
    30303038
    3031 #: inc/modules/buy-x-get-y/admin/options.php:108, inc/modules/pre-orders/admin/options.php:82
     3039#: inc/modules/buy-x-get-y/admin/options.php:109, inc/modules/pre-orders/admin/options.php:82
    30323040msgid "Discount Type"
    30333041msgstr ""
    30343042
    3035 #: inc/modules/buy-x-get-y/admin/options.php:110
     3043#: inc/modules/buy-x-get-y/admin/options.php:111
    30363044msgid "Percentage Discount"
    30373045msgstr ""
    30383046
    3039 #: inc/modules/buy-x-get-y/admin/options.php:111
     3047#: inc/modules/buy-x-get-y/admin/options.php:112
    30403048msgid "Fixed Discount"
    30413049msgstr ""
    30423050
    3043 #: inc/modules/buy-x-get-y/admin/options.php:126, inc/modules/frequently-bought-together/admin/options.php:113, inc/modules/reasons-to-buy/admin/options.php:24, inc/modules/volume-discounts/admin/options.php:157
     3051#: inc/modules/buy-x-get-y/admin/options.php:128, inc/modules/free-gifts/admin/options.php:94, inc/modules/frequently-bought-together/admin/options.php:116, inc/modules/pre-orders/admin/options.php:149, inc/modules/storewide-sale/admin/options.php:96, inc/modules/volume-discounts/admin/options.php:122
     3052msgid "User Condition"
     3053msgstr ""
     3054
     3055#: inc/modules/buy-x-get-y/admin/options.php:130, inc/modules/free-gifts/admin/options.php:96, inc/modules/frequently-bought-together/admin/options.php:118, inc/modules/pre-orders/admin/options.php:151, inc/modules/storewide-sale/admin/options.php:98, inc/modules/volume-discounts/admin/options.php:124
     3056msgid "All Users"
     3057msgstr ""
     3058
     3059#: inc/modules/buy-x-get-y/admin/options.php:131, inc/modules/free-gifts/admin/options.php:97, inc/modules/frequently-bought-together/admin/options.php:119, inc/modules/pre-orders/admin/options.php:152, inc/modules/storewide-sale/admin/options.php:99, inc/modules/volume-discounts/admin/options.php:125
     3060msgid "Selected Users"
     3061msgstr ""
     3062
     3063#: inc/modules/buy-x-get-y/admin/options.php:132, inc/modules/free-gifts/admin/options.php:98, inc/modules/frequently-bought-together/admin/options.php:120, inc/modules/pre-orders/admin/options.php:153, inc/modules/storewide-sale/admin/options.php:100, inc/modules/volume-discounts/admin/options.php:126
     3064msgid "Selected Roles"
     3065msgstr ""
     3066
     3067#: inc/modules/buy-x-get-y/admin/options.php:140, inc/modules/free-gifts/admin/options.php:106, inc/modules/frequently-bought-together/admin/options.php:128, inc/modules/pre-orders/admin/options.php:161, inc/modules/quick-social-links/admin/options.php:305, inc/modules/storewide-sale/admin/options.php:108, inc/modules/volume-discounts/admin/options.php:134
     3068msgid "User Roles"
     3069msgstr ""
     3070
     3071#: inc/modules/buy-x-get-y/admin/options.php:141, inc/modules/free-gifts/admin/options.php:107, inc/modules/frequently-bought-together/admin/options.php:129, inc/modules/storewide-sale/admin/options.php:109, inc/modules/volume-discounts/admin/options.php:135
     3072msgid "This will limit the offer to users with these roles."
     3073msgstr ""
     3074
     3075#: inc/modules/buy-x-get-y/admin/options.php:152, inc/modules/free-gifts/admin/options.php:118, inc/modules/frequently-bought-together/admin/options.php:140, inc/modules/pre-orders/admin/options.php:173, inc/modules/storewide-sale/admin/options.php:120, inc/modules/volume-discounts/admin/options.php:146
     3076msgid "Users"
     3077msgstr ""
     3078
     3079#: inc/modules/buy-x-get-y/admin/options.php:153, inc/modules/free-gifts/admin/options.php:119, inc/modules/frequently-bought-together/admin/options.php:141, inc/modules/storewide-sale/admin/options.php:121, inc/modules/volume-discounts/admin/options.php:147
     3080msgid "This will limit the offer to the selected customers."
     3081msgstr ""
     3082
     3083#: inc/modules/buy-x-get-y/admin/options.php:163, inc/modules/frequently-bought-together/admin/options.php:151, inc/modules/reasons-to-buy/admin/options.php:24, inc/modules/volume-discounts/admin/options.php:157
    30443084msgid "Placement on product page"
    30453085msgstr ""
    30463086
    3047 #: inc/modules/buy-x-get-y/admin/options.php:128, inc/modules/volume-discounts/admin/options.php:160
     3087#: inc/modules/buy-x-get-y/admin/options.php:165, inc/modules/volume-discounts/admin/options.php:160
    30483088msgid "After add to cart"
    30493089msgstr ""
    30503090
    3051 #: inc/modules/buy-x-get-y/admin/options.php:129, inc/modules/volume-discounts/admin/options.php:159
     3091#: inc/modules/buy-x-get-y/admin/options.php:166, inc/modules/volume-discounts/admin/options.php:159
    30523092msgid "Before add to cart"
    30533093msgstr ""
    30543094
    3055 #: inc/modules/buy-x-get-y/admin/options.php:138, inc/modules/volume-discounts/admin/options.php:169
     3095#: inc/modules/buy-x-get-y/admin/options.php:175, inc/modules/volume-discounts/admin/options.php:169
    30563096msgid "Offer title"
    30573097msgstr ""
    30583098
    3059 #: inc/modules/buy-x-get-y/admin/options.php:145
     3099#: inc/modules/buy-x-get-y/admin/options.php:182
    30603100msgid "Buy label"
    30613101msgstr ""
    30623102
    3063 #: inc/modules/buy-x-get-y/admin/options.php:146
     3103#: inc/modules/buy-x-get-y/admin/options.php:183
    30643104msgid "Buy {quantity}"
    30653105msgstr ""
    30663106
    3067 #: inc/modules/buy-x-get-y/admin/options.php:152
     3107#: inc/modules/buy-x-get-y/admin/options.php:189
    30683108msgid "Get label"
    30693109msgstr ""
    30703110
    3071 #: inc/modules/buy-x-get-y/admin/options.php:153
     3111#: inc/modules/buy-x-get-y/admin/options.php:190
    30723112msgid "Get {quantity} with {discount} off"
    30733113msgstr ""
    30743114
    3075 #: inc/modules/buy-x-get-y/admin/options.php:167
     3115#: inc/modules/buy-x-get-y/admin/options.php:204
    30763116msgid "Font weight"
    30773117msgstr ""
    30783118
    3079 #: inc/modules/buy-x-get-y/admin/options.php:169, inc/modules/stock-scarcity/admin/options.php:156, inc/modules/volume-discounts/admin/options.php:256
     3119#: inc/modules/buy-x-get-y/admin/options.php:206, inc/modules/stock-scarcity/admin/options.php:156, inc/modules/volume-discounts/admin/options.php:256
    30803120msgid "Light"
    30813121msgstr ""
    30823122
    3083 #: inc/modules/buy-x-get-y/admin/options.php:170, inc/modules/product-labels/admin/options.php:210, inc/modules/stock-scarcity/admin/options.php:157, inc/modules/volume-discounts/admin/options.php:257
     3123#: inc/modules/buy-x-get-y/admin/options.php:207, inc/modules/product-labels/admin/options.php:210, inc/modules/stock-scarcity/admin/options.php:157, inc/modules/volume-discounts/admin/options.php:257
    30843124msgid "Normal"
    30853125msgstr ""
    30863126
    3087 #: inc/modules/buy-x-get-y/admin/options.php:171, inc/modules/product-labels/admin/options.php:212, inc/modules/stock-scarcity/admin/options.php:158, inc/modules/volume-discounts/admin/options.php:258
     3127#: inc/modules/buy-x-get-y/admin/options.php:208, inc/modules/product-labels/admin/options.php:212, inc/modules/stock-scarcity/admin/options.php:158, inc/modules/volume-discounts/admin/options.php:258
    30883128msgid "Bold"
    30893129msgstr ""
    30903130
    3091 #: inc/modules/buy-x-get-y/admin/options.php:190, inc/modules/size-chart/admin/options.php:74, inc/modules/volume-discounts/admin/options.php:266
     3131#: inc/modules/buy-x-get-y/admin/options.php:227, inc/modules/size-chart/admin/options.php:74, inc/modules/volume-discounts/admin/options.php:266
    30923132msgid "Title text color"
    30933133msgstr ""
    30943134
    3095 #: inc/modules/buy-x-get-y/admin/options.php:197, inc/modules/free-gifts/admin/options.php:348
     3135#: inc/modules/buy-x-get-y/admin/options.php:234, inc/modules/free-gifts/admin/options.php:395
    30963136msgid "Label background color"
    30973137msgstr ""
    30983138
    3099 #: inc/modules/buy-x-get-y/admin/options.php:204, inc/modules/free-gifts/admin/options.php:355
     3139#: inc/modules/buy-x-get-y/admin/options.php:241, inc/modules/free-gifts/admin/options.php:402
    31003140msgid "Label text color"
    31013141msgstr ""
    31023142
    3103 #: inc/modules/buy-x-get-y/admin/options.php:211
     3143#: inc/modules/buy-x-get-y/admin/options.php:248
    31043144msgid "Arrow background color"
    31053145msgstr ""
    31063146
    3107 #: inc/modules/buy-x-get-y/admin/options.php:218
     3147#: inc/modules/buy-x-get-y/admin/options.php:255
    31083148msgid "Arrow text color"
    31093149msgstr ""
    31103150
    3111 #: inc/modules/buy-x-get-y/admin/options.php:226
     3151#: inc/modules/buy-x-get-y/admin/options.php:263
    31123152msgid "Offer border color"
    31133153msgstr ""
    31143154
    3115 #: inc/modules/buy-x-get-y/admin/options.php:233
     3155#: inc/modules/buy-x-get-y/admin/options.php:270
    31163156msgid "Offer border Radius"
    31173157msgstr ""
    31183158
    3119 #: inc/modules/buy-x-get-y/admin/options.php:246
     3159#: inc/modules/buy-x-get-y/admin/options.php:283
    31203160msgid "Buy 1 Get 1"
    31213161msgstr ""
     
    33703410msgstr ""
    33713411
    3372 #: inc/modules/countdown-timer/admin/options.php:34, inc/modules/countdown-timer/admin/options.php:42, inc/modules/pre-orders/admin/options.php:116, inc/modules/pre-orders/admin/options.php:129, inc/modules/pre-orders/admin/options.php:136, inc/modules/storewide-sale/admin/options.php:142, inc/modules/storewide-sale/admin/options.php:149
     3412#: inc/modules/countdown-timer/admin/options.php:34, inc/modules/countdown-timer/admin/options.php:42, inc/modules/pre-orders/admin/options.php:116, inc/modules/pre-orders/admin/options.php:129, inc/modules/pre-orders/admin/options.php:136, inc/modules/storewide-sale/admin/options.php:143, inc/modules/storewide-sale/admin/options.php:150
    33733413msgid "mm/dd/yy, --:-- --"
    33743414msgstr ""
     
    33833423msgstr ""
    33843424
    3385 #: inc/modules/countdown-timer/admin/options.php:49, inc/modules/pre-orders/admin/options.php:122, inc/modules/pre-orders/admin/options.php:142, inc/modules/storewide-sale/admin/options.php:159
     3425#: inc/modules/countdown-timer/admin/options.php:49, inc/modules/pre-orders/admin/options.php:122, inc/modules/pre-orders/admin/options.php:142, inc/modules/storewide-sale/admin/options.php:160
    33863426msgid "WordPress Settings"
    33873427msgstr ""
     
    35353575msgstr ""
    35363576
    3537 #: inc/modules/floating-mini-cart/admin/options.php:47, inc/modules/free-gifts/admin/options.php:234, inc/modules/product-labels/admin/options.php:122, inc/modules/scroll-to-top-button/admin/options.php:64, inc/modules/sticky-add-to-cart/admin/options.php:23
     3577#: inc/modules/floating-mini-cart/admin/options.php:47, inc/modules/free-gifts/admin/options.php:281, inc/modules/product-labels/admin/options.php:122, inc/modules/scroll-to-top-button/admin/options.php:64, inc/modules/sticky-add-to-cart/admin/options.php:23
    35383578msgid "Position"
    35393579msgstr ""
     
    35753615msgstr ""
    35763616
    3577 #: inc/modules/floating-mini-cart/admin/options.php:167, inc/modules/free-gifts/admin/options.php:341, inc/modules/side-cart/admin/options.php:87, inc/modules/spending-goal/admin/options.php:147
     3617#: inc/modules/floating-mini-cart/admin/options.php:167, inc/modules/free-gifts/admin/options.php:388, inc/modules/side-cart/admin/options.php:87, inc/modules/spending-goal/admin/options.php:147
    35783618msgid "Content background color"
    35793619msgstr ""
     
    36033643msgstr ""
    36043644
    3605 #: inc/modules/free-gifts/admin/options.php:26
     3645#: inc/modules/free-gifts/admin/options.php:27
    36063646msgid "Spending Based"
    36073647msgstr ""
    36083648
    3609 #: inc/modules/free-gifts/admin/options.php:33
     3649#: inc/modules/free-gifts/admin/options.php:34
    36103650msgid "Free Gift Campaign"
    36113651msgstr ""
    36123652
    3613 #: inc/modules/free-gifts/admin/options.php:38
     3653#: inc/modules/free-gifts/admin/options.php:39
    36143654msgid "Products that can be purchased to claim the gift"
    36153655msgstr ""
    36163656
    3617 #: inc/modules/free-gifts/admin/options.php:40
    3618 msgid "Any product"
    3619 msgstr ""
    3620 
    3621 #: inc/modules/free-gifts/admin/options.php:41, inc/modules/frequently-bought-together/admin/options.php:41, inc/modules/pre-orders/admin/options.php:49
    3622 msgid "Specific product"
    3623 msgstr ""
    3624 
    3625 #: inc/modules/free-gifts/admin/options.php:42
    3626 msgid "Product categories"
    3627 msgstr ""
    3628 
    3629 #: inc/modules/free-gifts/admin/options.php:53
     3657#: inc/modules/free-gifts/admin/options.php:54
    36303658msgid "Select the product categories that the spending goal will apply to."
    36313659msgstr ""
    36323660
    3633 #: inc/modules/free-gifts/admin/options.php:60, inc/modules/free-gifts/admin/options.php:146
     3661#: inc/modules/free-gifts/admin/options.php:61, inc/modules/free-gifts/admin/options.php:193
    36343662msgid "Select the product that the spending goal will apply to."
    36353663msgstr ""
    36363664
    3637 #: inc/modules/free-gifts/admin/options.php:68
     3665#: inc/modules/free-gifts/admin/options.php:71
     3666msgid "Exclude products from this offer."
     3667msgstr ""
     3668
     3669#: inc/modules/free-gifts/admin/options.php:79
    36383670msgid "USD"
    36393671msgstr ""
    36403672
    3641 #: inc/modules/free-gifts/admin/options.php:74
     3673#: inc/modules/free-gifts/admin/options.php:86
    36423674msgid "Product rewarded as a gift"
    36433675msgstr ""
    36443676
    3645 #: inc/modules/free-gifts/admin/options.php:82
     3677#: inc/modules/free-gifts/admin/options.php:129
    36463678msgid "Spending goal target"
    36473679msgstr ""
    36483680
    3649 #: inc/modules/free-gifts/admin/options.php:84
     3681#: inc/modules/free-gifts/admin/options.php:131
    36503682msgid "Configure the text for the gift offer across five phases. Personalize the text at each phase to maximize conversions."
    36513683msgstr ""
    36523684
    3653 #: inc/modules/free-gifts/admin/options.php:90
     3685#: inc/modules/free-gifts/admin/options.php:137
    36543686msgid "At 0%"
    36553687msgstr ""
     
    36573689#. translators: 1. goal amount
    36583690#. translators: 1. more amount
    3659 #: inc/modules/free-gifts/admin/options.php:93, inc/modules/free-gifts/admin/options.php:104
     3691#: inc/modules/free-gifts/admin/options.php:140, inc/modules/free-gifts/admin/options.php:151
    36603692msgid "Spend %1$s on any product to receive this gift!"
    36613693msgstr ""
    36623694
    3663 #: inc/modules/free-gifts/admin/options.php:101
     3695#: inc/modules/free-gifts/admin/options.php:148
    36643696msgid "Between 1 - 99%"
    36653697msgstr ""
    36663698
    3667 #: inc/modules/free-gifts/admin/options.php:112
     3699#: inc/modules/free-gifts/admin/options.php:159
    36683700msgid "At 100%"
    36693701msgstr ""
    36703702
    3671 #: inc/modules/free-gifts/admin/options.php:119
     3703#: inc/modules/free-gifts/admin/options.php:166
    36723704msgid "Reminder to claim the gift on the cart page"
    36733705msgstr ""
    36743706
    3675 #: inc/modules/free-gifts/admin/options.php:120
     3707#: inc/modules/free-gifts/admin/options.php:167
    36763708msgid "Don't forget to claim your free gift before checking out!"
    36773709msgstr ""
    36783710
    3679 #: inc/modules/free-gifts/admin/options.php:126
     3711#: inc/modules/free-gifts/admin/options.php:173
    36803712msgid "Gift claimed message"
    36813713msgstr ""
    36823714
    3683 #: inc/modules/free-gifts/admin/options.php:127
     3715#: inc/modules/free-gifts/admin/options.php:174
    36843716msgid "Your free gift has been added to your cart. Thank you for shopping with us!"
    36853717msgstr ""
    36863718
    3687 #: inc/modules/free-gifts/admin/options.php:132
     3719#: inc/modules/free-gifts/admin/options.php:179
    36883720msgid "Coupon Based"
    36893721msgstr ""
    36903722
    3691 #: inc/modules/free-gifts/admin/options.php:144
     3723#: inc/modules/free-gifts/admin/options.php:191
    36923724msgid "Product"
    36933725msgstr ""
    36943726
    3695 #: inc/modules/free-gifts/admin/options.php:151
     3727#: inc/modules/free-gifts/admin/options.php:198
    36963728msgid "Use coupon to receive this product for free"
    36973729msgstr ""
    36983730
    3699 #: inc/modules/free-gifts/admin/options.php:172
     3731#: inc/modules/free-gifts/admin/options.php:219
    37003732msgid "Cart Settings"
    37013733msgstr ""
    37023734
    3703 #: inc/modules/free-gifts/admin/options.php:177
     3735#: inc/modules/free-gifts/admin/options.php:224
    37043736msgid "Gift based on spending type"
    37053737msgstr ""
    37063738
    3707 #: inc/modules/free-gifts/admin/options.php:178
     3739#: inc/modules/free-gifts/admin/options.php:225
    37083740msgid "Select whether the spending goal for receiving a gift should be based on the ‘Cart Subtotal’ or the ‘Cart Total.’ The ‘Cart Subtotal’ reflects the total before any additional discounts are applied, whereas the ‘Cart Total’ includes all discounts and additional charges."
    37093741msgstr ""
    37103742
    3711 #: inc/modules/free-gifts/admin/options.php:181, inc/modules/spending-goal/admin/options.php:32
     3743#: inc/modules/free-gifts/admin/options.php:228, inc/modules/spending-goal/admin/options.php:32
    37123744msgid "Cart subtotal"
    37133745msgstr ""
    37143746
    3715 #: inc/modules/free-gifts/admin/options.php:190
     3747#: inc/modules/free-gifts/admin/options.php:237
    37163748msgid "Gift price label"
    37173749msgstr ""
    37183750
    3719 #: inc/modules/free-gifts/admin/options.php:197
     3751#: inc/modules/free-gifts/admin/options.php:244
    37203752msgid "Cart item title text"
    37213753msgstr ""
    37223754
    3723 #: inc/modules/free-gifts/admin/options.php:199, inc/modules/free-gifts/admin/options.php:207, inc/modules/volume-discounts/admin/options.php:222
     3755#: inc/modules/free-gifts/admin/options.php:246, inc/modules/free-gifts/admin/options.php:254, inc/modules/volume-discounts/admin/options.php:222
    37243756msgid "This is displayed on the cart page."
    37253757msgstr ""
    37263758
    3727 #: inc/modules/free-gifts/admin/options.php:205
     3759#: inc/modules/free-gifts/admin/options.php:252
    37283760msgid "Cart item description text"
    37293761msgstr ""
    37303762
    3731 #: inc/modules/free-gifts/admin/options.php:214
     3763#: inc/modules/free-gifts/admin/options.php:261
    37323764msgid "Gift Widget"
    37333765msgstr ""
    37343766
    3735 #: inc/modules/free-gifts/admin/options.php:220
     3767#: inc/modules/free-gifts/admin/options.php:267
    37363768msgid "Widget icon"
    37373769msgstr ""
    37383770
    3739 #: inc/modules/free-gifts/admin/options.php:236
     3771#: inc/modules/free-gifts/admin/options.php:283
    37403772msgid "Top Right"
    37413773msgstr ""
    37423774
    3743 #: inc/modules/free-gifts/admin/options.php:237
     3775#: inc/modules/free-gifts/admin/options.php:284
    37443776msgid "Top Left"
    37453777msgstr ""
    37463778
    3747 #: inc/modules/free-gifts/admin/options.php:238
     3779#: inc/modules/free-gifts/admin/options.php:285
    37483780msgid "Bottom Right"
    37493781msgstr ""
    37503782
    3751 #: inc/modules/free-gifts/admin/options.php:239
     3783#: inc/modules/free-gifts/admin/options.php:286
    37523784msgid "Bottom Left"
    37533785msgstr ""
    37543786
    3755 #: inc/modules/free-gifts/admin/options.php:247
     3787#: inc/modules/free-gifts/admin/options.php:294
    37563788msgid "Distance"
    37573789msgstr ""
    37583790
    3759 #: inc/modules/free-gifts/admin/options.php:266
     3791#: inc/modules/free-gifts/admin/options.php:313
    37603792msgid "Shop page"
    37613793msgstr ""
    37623794
    3763 #: inc/modules/free-gifts/admin/options.php:273
     3795#: inc/modules/free-gifts/admin/options.php:320
    37643796msgid "Product page"
    37653797msgstr ""
    37663798
    3767 #: inc/modules/free-gifts/admin/options.php:280
     3799#: inc/modules/free-gifts/admin/options.php:327
    37683800msgid "Cart page"
    37693801msgstr ""
    37703802
    3771 #: inc/modules/free-gifts/admin/options.php:295
     3803#: inc/modules/free-gifts/admin/options.php:342
    37723804msgid "Count background color"
    37733805msgstr ""
    37743806
    3775 #: inc/modules/free-gifts/admin/options.php:302
     3807#: inc/modules/free-gifts/admin/options.php:349
    37763808msgid "Count text color"
    37773809msgstr ""
    37783810
    3779 #: inc/modules/free-gifts/admin/options.php:309
     3811#: inc/modules/free-gifts/admin/options.php:356
    37803812msgid "Gift button background color"
    37813813msgstr ""
    37823814
    3783 #: inc/modules/free-gifts/admin/options.php:316
     3815#: inc/modules/free-gifts/admin/options.php:363
    37843816msgid "Gift button Hover background color"
    37853817msgstr ""
    37863818
    3787 #: inc/modules/free-gifts/admin/options.php:323
     3819#: inc/modules/free-gifts/admin/options.php:370
    37883820msgid "Gift button Icon color"
    37893821msgstr ""
    37903822
    3791 #: inc/modules/free-gifts/admin/options.php:330, inc/modules/spending-goal/admin/options.php:136
     3823#: inc/modules/free-gifts/admin/options.php:377, inc/modules/spending-goal/admin/options.php:136
    37923824msgid "Content width"
    37933825msgstr ""
    37943826
    3795 #: inc/modules/free-gifts/admin/options.php:362
     3827#: inc/modules/free-gifts/admin/options.php:409
    37963828msgid "Product text color"
    37973829msgstr ""
    37983830
    3799 #: inc/modules/free-gifts/admin/options.php:369
     3831#: inc/modules/free-gifts/admin/options.php:416
    38003832msgid "Product hover text color"
    38013833msgstr ""
    38023834
    3803 #: inc/modules/free-gifts/admin/options.php:376
     3835#: inc/modules/free-gifts/admin/options.php:423
    38043836msgid "Product price text color"
    38053837msgstr ""
    38063838
    3807 #: inc/modules/free-gifts/admin/options.php:383
     3839#: inc/modules/free-gifts/admin/options.php:430
    38083840msgid "Gift price label color"
    38093841msgstr ""
     
    38133845msgstr ""
    38143846
    3815 #: inc/modules/frequently-bought-together/admin/options.php:26, inc/modules/volume-discounts/admin/options.php:27
     3847#: inc/modules/frequently-bought-together/admin/options.php:27, inc/modules/volume-discounts/admin/options.php:27
    38163848msgid "Create Discount Tiers"
    38173849msgstr ""
    38183850
    3819 #: inc/modules/frequently-bought-together/admin/options.php:49
     3851#: inc/modules/frequently-bought-together/admin/options.php:42, inc/modules/pre-orders/admin/options.php:49
     3852msgid "Specific product"
     3853msgstr ""
     3854
     3855#: inc/modules/frequently-bought-together/admin/options.php:50
    38203856msgid "Select a product"
    38213857msgstr ""
    38223858
    3823 #: inc/modules/frequently-bought-together/admin/options.php:51
     3859#: inc/modules/frequently-bought-together/admin/options.php:52
    38243860msgid "Select the product that you want to create the bundle for."
    38253861msgstr ""
    38263862
    3827 #: inc/modules/frequently-bought-together/admin/options.php:75
     3863#: inc/modules/frequently-bought-together/admin/options.php:76
    38283864msgid "Products to offer"
    38293865msgstr ""
    38303866
    3831 #: inc/modules/frequently-bought-together/admin/options.php:78
     3867#: inc/modules/frequently-bought-together/admin/options.php:79
    38323868msgid "Select the products that will be included the bundle."
    38333869msgstr ""
    38343870
    3835 #: inc/modules/frequently-bought-together/admin/options.php:90
     3871#: inc/modules/frequently-bought-together/admin/options.php:92
    38363872msgid "Offer a discount on this bundle"
    38373873msgstr ""
    38383874
    3839 #: inc/modules/frequently-bought-together/admin/options.php:98, inc/modules/pre-orders/admin/options.php:84, inc/modules/storewide-sale/admin/options.php:79, inc/modules/volume-discounts/admin/options.php:100
     3875#: inc/modules/frequently-bought-together/admin/options.php:100, inc/modules/pre-orders/admin/options.php:84, inc/modules/storewide-sale/admin/options.php:80, inc/modules/volume-discounts/admin/options.php:100
    38403876msgid "Percentage"
    38413877msgstr ""
    38423878
    3843 #: inc/modules/frequently-bought-together/admin/options.php:99, inc/modules/pre-orders/admin/options.php:85, inc/modules/storewide-sale/admin/options.php:80, inc/modules/volume-discounts/admin/options.php:101
     3879#: inc/modules/frequently-bought-together/admin/options.php:101, inc/modules/pre-orders/admin/options.php:85, inc/modules/storewide-sale/admin/options.php:81, inc/modules/volume-discounts/admin/options.php:101
    38443880msgid "Fixed"
    38453881msgstr ""
    38463882
    3847 #: inc/modules/frequently-bought-together/admin/options.php:115
     3883#: inc/modules/frequently-bought-together/admin/options.php:153
    38483884msgid "After Product Summary"
    38493885msgstr ""
    38503886
    3851 #: inc/modules/frequently-bought-together/admin/options.php:116
     3887#: inc/modules/frequently-bought-together/admin/options.php:154
    38523888msgid "After Product Tabs"
    38533889msgstr ""
    38543890
    3855 #: inc/modules/frequently-bought-together/admin/options.php:117
     3891#: inc/modules/frequently-bought-together/admin/options.php:155
    38563892msgid "At the Bottom"
    38573893msgstr ""
    38583894
    3859 #: inc/modules/frequently-bought-together/admin/options.php:126
     3895#: inc/modules/frequently-bought-together/admin/options.php:164
    38603896msgid "Bundle title"
    38613897msgstr ""
    38623898
    3863 #: inc/modules/frequently-bought-together/admin/options.php:133
     3899#: inc/modules/frequently-bought-together/admin/options.php:171
    38643900msgid "Price label"
    38653901msgstr ""
    38663902
    3867 #: inc/modules/frequently-bought-together/admin/options.php:140
     3903#: inc/modules/frequently-bought-together/admin/options.php:178
    38683904msgid "You save label"
    38693905msgstr ""
    38703906
    3871 #: inc/modules/frequently-bought-together/admin/options.php:141
     3907#: inc/modules/frequently-bought-together/admin/options.php:179
    38723908msgid "You save: {amount}"
    38733909msgstr ""
    38743910
    3875 #: inc/modules/frequently-bought-together/admin/options.php:147
     3911#: inc/modules/frequently-bought-together/admin/options.php:185
    38763912msgid "No variation selected text"
    38773913msgstr ""
    38783914
    3879 #: inc/modules/frequently-bought-together/admin/options.php:154
     3915#: inc/modules/frequently-bought-together/admin/options.php:192
    38803916msgid "No variation selected text (no discount)"
    38813917msgstr ""
    38823918
    3883 #: inc/modules/frequently-bought-together/admin/options.php:155
     3919#: inc/modules/frequently-bought-together/admin/options.php:193
    38843920msgid "This text will be displayed when the bundle has no discount and includes a variable product."
    38853921msgstr ""
    38863922
    3887 #: inc/modules/frequently-bought-together/admin/options.php:170
     3923#: inc/modules/frequently-bought-together/admin/options.php:208
    38883924msgid "Plus sign background color"
    38893925msgstr ""
    38903926
    3891 #: inc/modules/frequently-bought-together/admin/options.php:177
     3927#: inc/modules/frequently-bought-together/admin/options.php:215
    38923928msgid "Plus sign text color"
    38933929msgstr ""
    38943930
    3895 #: inc/modules/frequently-bought-together/admin/options.php:184
     3931#: inc/modules/frequently-bought-together/admin/options.php:222
    38963932msgid "Bundle border color"
    38973933msgstr ""
    38983934
    3899 #: inc/modules/frequently-bought-together/admin/options.php:191
     3935#: inc/modules/frequently-bought-together/admin/options.php:229
    39003936msgid "Bundle border radius"
    39013937msgstr ""
     
    40294065msgstr ""
    40304066
    4031 #: inc/modules/pre-orders/admin/options.php:42, inc/modules/storewide-sale/admin/options.php:34
     4067#: inc/modules/pre-orders/admin/options.php:42, inc/modules/storewide-sale/admin/options.php:35
    40324068msgid "Internal campaign name. This is not visible to customers."
    40334069msgstr ""
     
    40674103
    40684104#. translators: %1$s: Time zone, %2$s WordPress setting link
    4069 #: inc/modules/pre-orders/admin/options.php:139, inc/modules/storewide-sale/admin/options.php:156
     4105#: inc/modules/pre-orders/admin/options.php:139, inc/modules/storewide-sale/admin/options.php:157
    40704106msgid "Leave it empty if you don’t want to have an end date. The times set above are in the %1$s timezone, according to your settings from %2$s."
    4071 msgstr ""
    4072 
    4073 #: inc/modules/pre-orders/admin/options.php:149, inc/modules/storewide-sale/admin/options.php:95, inc/modules/volume-discounts/admin/options.php:122
    4074 msgid "User Condition"
    4075 msgstr ""
    4076 
    4077 #: inc/modules/pre-orders/admin/options.php:151, inc/modules/storewide-sale/admin/options.php:97, inc/modules/volume-discounts/admin/options.php:124
    4078 msgid "All Users"
    4079 msgstr ""
    4080 
    4081 #: inc/modules/pre-orders/admin/options.php:152, inc/modules/storewide-sale/admin/options.php:98, inc/modules/volume-discounts/admin/options.php:125
    4082 msgid "Selected Users"
    4083 msgstr ""
    4084 
    4085 #: inc/modules/pre-orders/admin/options.php:153, inc/modules/storewide-sale/admin/options.php:99, inc/modules/volume-discounts/admin/options.php:126
    4086 msgid "Selected Roles"
    4087 msgstr ""
    4088 
    4089 #: inc/modules/pre-orders/admin/options.php:161, inc/modules/quick-social-links/admin/options.php:305, inc/modules/storewide-sale/admin/options.php:107, inc/modules/volume-discounts/admin/options.php:134
    4090 msgid "User Roles"
    40914107msgstr ""
    40924108
     
    40954111msgstr ""
    40964112
    4097 #: inc/modules/pre-orders/admin/options.php:173, inc/modules/storewide-sale/admin/options.php:119, inc/modules/volume-discounts/admin/options.php:146
    4098 msgid "Users"
    4099 msgstr ""
    4100 
    41014113#: inc/modules/pre-orders/admin/options.php:174
    41024114msgid "This will limit the rule to the selected customers."
     
    41414153#: inc/modules/pre-orders/admin/options.php:266
    41424154msgid "Treat the whole order as pre-order"
    4143 msgstr ""
    4144 
    4145 #: inc/modules/pre-orders/admin/options.php:267
    4146 msgid "Generate separate orders for each pre-order product"
    4147 msgstr ""
    4148 
    4149 #: inc/modules/pre-orders/admin/options.php:268
    4150 msgid "Generate two separate orders, one for pre-orders and one for in-stock products"
    41514155msgstr ""
    41524156
     
    52565260
    52575261#: inc/modules/spending-goal/admin/options.php:68
    5258 msgid "This will make the widget slide in after a product is added to the cart."
     5262msgid "This will make the widget slide in each time a product is added to the cart."
    52595263msgstr ""
    52605264
     
    52765280
    52775281#: inc/modules/spending-goal/admin/options.php:93
    5278 msgid "Default is: Spend {spending_goal} more to get a {discount_amount} discount"
     5282msgid "Default is: Spend {spending_goal} more to get a {discount_amount} discount!"
    52795283msgstr ""
    52805284
     
    52845288
    52855289#: inc/modules/spending-goal/admin/options.php:101
    5286 msgid "Default: Congratulations! You get a discount of {discount_amount} on this order!"
     5290msgid "Default: Congratulations! You got a discount of {discount_amount} on this order!"
    52875291msgstr ""
    52885292
     
    53995403msgstr ""
    54005404
    5401 #: inc/modules/storewide-sale/admin/options.php:26, inc/modules/storewide-sale/admin/options.php:33
     5405#: inc/modules/storewide-sale/admin/options.php:27, inc/modules/storewide-sale/admin/options.php:34
    54025406msgid "Storewide Discount Campaign"
    54035407msgstr ""
    54045408
    5405 #: inc/modules/storewide-sale/admin/options.php:52
     5409#: inc/modules/storewide-sale/admin/options.php:53
    54065410msgid "Select the product(s) included in this discount campaign."
    54075411msgstr ""
    54085412
    5409 #: inc/modules/storewide-sale/admin/options.php:63
     5413#: inc/modules/storewide-sale/admin/options.php:64
    54105414msgid "Select the product category(s) that will show the offer."
    54115415msgstr ""
    54125416
    5413 #: inc/modules/storewide-sale/admin/options.php:69, inc/modules/wait-list/admin/options.php:63
     5417#: inc/modules/storewide-sale/admin/options.php:70, inc/modules/wait-list/admin/options.php:63
    54145418msgid "Exclude products"
    54155419msgstr ""
    54165420
    5417 #: inc/modules/storewide-sale/admin/options.php:71
     5421#: inc/modules/storewide-sale/admin/options.php:72
    54185422msgid "Exclude product(s) from this discount campaign."
    54195423msgstr ""
    54205424
    5421 #: inc/modules/storewide-sale/admin/options.php:108, inc/modules/volume-discounts/admin/options.php:135
    5422 msgid "This will limit the offer to users with these roles."
    5423 msgstr ""
    5424 
    5425 #: inc/modules/storewide-sale/admin/options.php:120, inc/modules/volume-discounts/admin/options.php:147
    5426 msgid "This will limit the offer to the selected customers."
    5427 msgstr ""
    5428 
    5429 #: inc/modules/storewide-sale/admin/options.php:130
     5425#: inc/modules/storewide-sale/admin/options.php:131
    54305426msgid "Availability"
    54315427msgstr ""
    54325428
    5433 #: inc/modules/storewide-sale/admin/options.php:132
     5429#: inc/modules/storewide-sale/admin/options.php:133
    54345430msgid "Always available"
    54355431msgstr ""
    54365432
    5437 #: inc/modules/storewide-sale/admin/options.php:133
     5433#: inc/modules/storewide-sale/admin/options.php:134
    54385434msgid "Specific dates"
    54395435msgstr ""
    54405436
    5441 #: inc/modules/storewide-sale/admin/options.php:140
     5437#: inc/modules/storewide-sale/admin/options.php:141
    54425438msgid "Start at"
    54435439msgstr ""
    54445440
    5445 #: inc/modules/storewide-sale/admin/options.php:147
     5441#: inc/modules/storewide-sale/admin/options.php:148
    54465442msgid "Ends at"
    54475443msgstr ""
    54485444
    5449 #: inc/modules/storewide-sale/admin/options.php:179
     5445#: inc/modules/storewide-sale/admin/options.php:180
    54505446msgid "You can display a sale badge on products eligible for this discount by using Merchant’s Product Labels module."
    54515447msgstr ""
    54525448
    5453 #: inc/modules/storewide-sale/admin/options.php:180
     5449#: inc/modules/storewide-sale/admin/options.php:181
    54545450msgid "View Product Labels"
    54555451msgstr ""
  • merchant/trunk/merchant.php

    r3094728 r3099520  
    44 * Plugin URI:  https://athemes.com
    55 * Description: All-in-one plugin designed to help you grow your WooCommerce store. Pre-orders, Buy Now buttons, product labels, trust badges, payment logos, and more.
    6  * Version:     1.9.11
     6 * Version:     1.9.12
    77 * Author:      aThemes
    88 * Author URI:  https://athemes.com
     
    2525
    2626// Merchant constants.
    27 define( 'MERCHANT_VERSION', '1.9.11' );
     27define( 'MERCHANT_VERSION', '1.9.12' );
    2828define( 'MERCHANT_FILE', __FILE__ );
    2929define( 'MERCHANT_BASE', trailingslashit( plugin_basename( MERCHANT_FILE ) ) );
  • merchant/trunk/readme.txt

    r3096884 r3099520  
    44Tested up to: 6.5
    55Requires PHP: 7.0
    6 Stable tag: 1.9.11
     6Stable tag: 1.9.12
    77Contributors: aThemes
    88License: GPLv3 or later
     
    215215
    216216== Changelog ==
     217= 1.9.12 =
     218* Fixed - Pre-order: Automatic conversion of order status from Pre-Ordered to Processing after the pre-order date passes.
     219* Fixed - Pre-order: Issues with pre-order emails firing again for both customers and admins.
     220* Changed - Pre-order: Removed Modes 3 and 4, switching all relevant setups to Mode 1.
     221* Fixed - Pre-order: Incorrect date display on the product archive page.
     222* Fixed - Product Labels: Labels now appear in WooCommerce blocks such as Products by Category and Newest Products.
     223
    217224= 1.9.11 =
    218225* Fixed - Product Labels - Images under the Image Label field weren't fitting properly in their boxes.
  • merchant/trunk/templates/modules/free-gifts/widget-contents.php

    r3094728 r3099520  
    1212}
    1313
    14 $settings   = isset( $args['settings'] ) ? $args['settings'] : array();
    15 $cart_total = $args['cart_total'] ?? WC()->cart->get_subtotal();
     14$settings = isset( $args['settings'] ) ? $args['settings'] : array();
     15//$cart_total = $args['cart_total'] ?? WC()->cart->get_subtotal();
    1616
    1717$is_cart_page = wp_doing_ajax() ? filter_var( $_POST['is_cart_page'] ?? false, FILTER_VALIDATE_BOOLEAN ) : is_cart(); // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.Recommended
     
    9494
    9595            case 'all':
     96                $cart_total = $offer['cart_total_all'] ?? 0;
    9697                if ( $cart_total >= $goal_amount ) {
    9798                    $spending_text = $spending_text_100;
  • merchant/trunk/templates/modules/sticky-add-to-cart/content.php

    r3092224 r3099520  
    7070    <div class="merchant-sticky-add-to-cart-wrapper-content-mobile">
    7171       
    72         <?php if ( ! is_admin() && ( 'variable' === $product->get_type() || 'variable-subscription' === $product->get_type() ) ) : ?>   
    73             <a href="#" class="button merchant-mobile-sticky-addtocart-button" data-merchant-scroll-to=".single-product.postid-<?php echo absint( $product->get_id() ); ?> .variations_form" data-merchant-scroll-to-offset="150">
    74                 <?php echo ! empty( $product ) ? esc_html( $product->add_to_cart_text() ) : esc_html__( 'Add To Cart', 'merchant' ); ?>
    75             </a>
    76         <?php else : ?>
    77             <a href="#" class="button merchant-mobile-sticky-addtocart-button" onclick="merchant.toggleClass.init(event, this, false);" data-merchant-toggle-class="merchant-sticky-addtocart-mobile-active" data-merchant-selector=".merchant-sticky-add-to-cart-wrapper">
    78                 <?php echo ! empty( $product ) ? esc_html( $product->add_to_cart_text() ) : esc_html__( 'Add To Cart', 'merchant' ); ?>
    79             </a>
     72        <?php if ( ! is_admin() && ( 'variable' === $product->get_type() || 'variable-subscription' === $product->get_type() ) ) : ?>
     73                <?php merchant_get_template_part( 'single-product/add-to-cart', 'variable', array( 'hook_prefix' => 'merchant_sticky_add_to_cart' ) ); ?>
     74            <?php else : ?>
     75                <a href="#" class="button merchant-mobile-sticky-addtocart-button" onclick="merchant.toggleClass.init(event, this, false);" data-merchant-toggle-class="merchant-sticky-addtocart-mobile-active" data-merchant-selector=".merchant-sticky-add-to-cart-wrapper">
     76                    <?php echo ! empty( $product ) ? esc_html( $product->add_to_cart_text() ) : esc_html__( 'Add To Cart S', 'merchant' ); ?>
     77                </a>
    8078        <?php endif; ?>
    8179        <a href="#" class="button merchant-mobile-sticky-close-button" onclick="merchant.toggleClass.init(event, this, false);" data-merchant-toggle-class="merchant-sticky-addtocart-mobile-active" data-merchant-selector=".merchant-sticky-add-to-cart-wrapper">
Note: See TracChangeset for help on using the changeset viewer.