Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 28b21ab
Author: Ludo <ludo.segura@shopify.com>
Date:   Fri Jul 26 17:09:58 2024 +0200

    Revert a small tweak that wasn't necessary and a reference to the product (Shopify#3573)

commit a723f14
Author: Ludo <ludo.segura@shopify.com>
Date:   Thu Jul 25 18:10:16 2024 +0200

    Show default price for placeholder content (Shopify#3572)

    * Make sure a default price is shown when we're showing placeholder content

    * address review comments

    * update one more spot to use the new variable

commit 3fac840
Author: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Date:   Wed Jul 24 11:21:38 2024 +0200

    Update 1 translation file (Shopify#3569)

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit 7a0f6e9
Author: Dan Menard <dan-menard@users.noreply.github.com>
Date:   Thu Jul 18 11:00:31 2024 -0400

    Escape product variant option names, as they can include quote characters and this renders undesirably. (Shopify#3567)

commit 544c61e
Author: Tyler Alsbury <60230011+tyleralsbury@users.noreply.github.com>
Date:   Mon Jul 15 09:45:20 2024 -0400

    Fixed issues when header is hidden (Shopify#3545)

    * Fixed issues when header is hidden

    * Fixed predictive search on search page

    * Made it so that the drawer still shows up

commit 8071714
Author: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Date:   Tue Jul 9 10:52:09 2024 +0200

    Update 3 translation files (Shopify#3557)

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit 51205de
Author: Ludo <ludo.segura@shopify.com>
Date:   Fri Jul 5 20:08:49 2024 +0200

    Update release notes and version number (Shopify#3554)

commit 0993057
Author: Dan Menard <dan-menard@users.noreply.github.com>
Date:   Fri Jul 5 11:40:07 2024 -0400

    v15 fixes (Shopify#3547)

    * [Product] Zoom on hover fix on variant change (Shopify#3511)

    * Zoom on hover fix on variant change

    * add conditional

    * Add early return in updateQuantityRules function if no quantity selector is present (Shopify#3515)

    * Fix bug where request url contains duplicated params when switching before the prior response is returned (Shopify#3521)

    * Fixes bug where image flashes when switching to variant with the same featured image; fixes bug where variant without featured image would fallback to the product image (Shopify#3516)

    Fix issue with thumbnail not updating

    * Fixed bug when reading selected option values. Removed unused script tag containing variant json. (Shopify#3520)

    * escape titles that weren't (Shopify#3514)

    * Support multiple product templates for the same combined listing (Shopify#3526)

    * Updated quick order list to rely on the variant title field (Shopify#3528)

    * Release15fix (Shopify#3531)

    * Revert "Update from Shopify for theme dawn/release/15.0.0"

    This reverts commit 5b20d89.

    * Revert "Update from Shopify for theme dawn/release/15.0.0"

    This reverts commit f0b822d.

    * Revert "Update from Shopify for theme dawn/release/15.0.0"

    This reverts commit 64e1d8e.

    * Revert "Update from Shopify for theme dawn/release/15.0.0"

    This reverts commit a8a7529.

    ---------

    Co-authored-by: Ludo <ludo.segura@shopify.com>
    Co-authored-by: Arthur <48017311+Roi-Arthur@users.noreply.github.com>
    Co-authored-by: Lars Hoffbeck <lars.hoffbeck@shopify.com>
    Co-authored-by: shopify[bot] <79544226+shopify[bot]@users.noreply.github.com>

commit 77459d4
Author: Ludo <ludo.segura@shopify.com>
Date:   Wed Jul 3 16:09:15 2024 +0200

    switch to textContent (Shopify#3544)

commit 6495238
Author: Mateusz Krzeszowiak <mateusz.krzeszowiak@shopify.com>
Date:   Fri Jun 7 16:11:13 2024 +0200

    Limit the number of stylesheets on the page (Shopify#3509)

    * Limit the number of stylesheets on the page

    * Apply suggestions from code review

    Co-authored-by: Ludo <ludo.segura@shopify.com>

    * Improve the logic and wording a bit

    ---------

    Co-authored-by: Ludo <ludo.segura@shopify.com>

commit 4b7a19b
Author: Kjell Reigstad <kjell@kjellr.com>
Date:   Fri Jun 7 08:31:49 2024 -0400

    Standardize heading font size options, add larger size (Shopify#3498)

    * Add gigantic heading size.

    * Use global translations in multirow.

    * Standardize heading font size offerings.

    * Change "Gigantic" to "Giant"

    * Set line height for new font size.

    * Update 10 translation files

    * Decrease Giant font size, update line height too.

    * Define line height for hxl.

    * Fix incorrect reference.

    * Set large line height to 1.1 all the time.

    * Adjust `vw` value in clamp so that the Giant font size is always larger than the Extra Large.

    * Change string to "Extra Extra Large"

    * Change text case.

    * Update 13 translation files

    * Update 4 translation files

    * Update 2 translation files

    * Update 1 translation file

    ---------

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit 7a917b8
Author: Tyler Alsbury <60230011+tyleralsbury@users.noreply.github.com>
Date:   Thu Jun 6 11:57:37 2024 -0400

    Changed show policy default to true (Shopify#3470)

commit 0e20f98
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu Jun 6 11:22:59 2024 -0400

    Dedupe quick add modal option value ids (Shopify#3504)

    * Deduplicate the option value IDs after option value selection changes in quick add modal

commit 1c09285
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu Jun 6 11:16:08 2024 -0400

    Migrate featured product template to use structured data filter (Shopify#3507)

commit ff1789e
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu Jun 6 11:15:49 2024 -0400

    Update request url and handlers to support featured products (Shopify#3497)

commit e4dddd0
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu Jun 6 08:11:46 2024 -0400

    Update variantselects to publish an option value selection change event instead of a variant change start event, defer variant info until section rendering API request comes back (Shopify#3495)

    Only update media when the selection has an associated variant

commit f85cd24
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu Jun 6 08:09:20 2024 -0400

    Set thumbnail when variant selection changes (Shopify#3505)

commit 8616c24
Author: Joey <joeyg.tedeschi@gmail.com>
Date:   Wed Jun 5 15:55:12 2024 -0400

    Create CSS variables to support the base-focus focus-visible properties, to be injected into components not naturally on the DOM (Shopify#3503)

commit 6e3f3c6
Author: Michael Bottens <mtbottens@gmail.com>
Date:   Wed Jun 5 11:47:46 2024 -0400

    adds theme toggle for avatar widget to allow opt-out without code change (Shopify#3496)

    * adds theme toggle for avatar widget to allow opt-out without code change

    * resolve spacing differences when account-icon is present in the DOM

    * Update 15 translation files

    * Update 5 translation files

    ---------

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit 8cadefd
Author: Dan Menard <dan-menard@users.noreply.github.com>
Date:   Tue Jun 4 10:32:08 2024 -0400

    Quick add modal fixes for Desktop (Shopify#3488)

    * Centre 'view cart' label in quick add modal.

    * Remove extra spacing at the bottom of quick order modal.

    * Fix the extra underlined space between the 'view full details' text and the arrow.

    * Make the product title a link to the product page.

    * Tweak breakpoints for consistently when the viewport is exactly 989 or 990 px wide

commit faa9caf
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Tue Jun 4 10:16:11 2024 -0400

    🐛 Combined listings bugfixes (Shopify#3492)

    * (Shopify#3492) Fix volume pricing message jumpiness when switching between combined listings; update page title when switching between combined listings; fix unselected option value bug in Safari

    * Update ID deduplication for quick add modal

commit 8352758
Author: Dan Menard <dan-menard@users.noreply.github.com>
Date:   Mon Jun 3 13:03:53 2024 -0400

    Add an out of stock note for quick add bulk, like the one for quick add standard. (Shopify#3487)

commit abbf0dd
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu May 30 11:49:01 2024 -0400

    Updates Dawn to use the new structured_data filter (Shopify#3380)

    * Updates Dawn to use the new filter

    * Add support for article structured data

commit 99d9188
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Thu May 30 09:07:25 2024 -0400

    Dedupe IDs when replacing content (Shopify#3494)

    * Dedupe IDs when replacing content

    * Dedupe form attributes

commit 651d170
Author: Donn Pasiliao <dpasiliao@gmail.com>
Date:   Wed May 29 16:18:36 2024 -0400

    Use translation keys for default values in liquid files (Shopify#3484)

    * Use translation keys for default values in liquid files

    * Update 10 translation files

    * Update 10 translation files

    * Update 10 translation files

    ---------

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit bcd1850
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Tue May 28 16:50:55 2024 -0400

    [Quick Order List] Ensure variant id is converted to an integer (Shopify#3491)

commit ecdc76b
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Tue May 28 14:19:51 2024 -0400

    (Shopify#3289) This PR adds a product wrapper class by repurposing the existing product-info class and migrating product-update specific logic out of the VariantSelects class. A product wrapper enables children to more trivially perform global updates by providing a heirarchical "namespace"--i.e. child publishes event, parent captures and declaratively updates other children VS child updates siblings. By extracting the VariantSelects onChange logic to use this pattern, VariantSelects is able to be a single-purpose class, it is easier to understand why siblings are updated, and we were able to eliminate some really gross logic that handled variant change updates differently depending on the wrapping context. (Shopify#3289)

    Refetch entire page on product swap

    Remove unused unsubscriber function

    Stability improvements for quick-add modal

    PR feedback - fixed padding + minor tweaks

    Un-privatize class methods for consistency with the rest of Dawn

    Move css to be in section-main-product.css

commit aa4353a
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Tue May 28 10:32:41 2024 -0400

    Quick Add Bulk Modal - Increase performance with Intersection Observer and clean up network requests (Shopify#3480)

commit 091a371
Author: Logan Gunn <44077842+lgunn4@users.noreply.github.com>
Date:   Fri May 24 09:32:13 2024 -0400

    Added duties inclusive text to PDP and Cart page (Shopify#3475)

    * Added duties inclusive text to PDP and Cart page
    ---------

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit 89472ef
Author: Ludo <ludo.segura@shopify.com>
Date:   Thu May 23 11:17:46 2024 +0200

    [Product] fix product modal not showing variant image (Shopify#3483)

    * fix product modal not showing variant image

    * reuse existing const var as per feedback

commit a2f5a98
Author: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Date:   Wed May 22 16:06:33 2024 -0400

    Combined listings and 2k variants (Shopify#3378)

    * (Shopify#3378) Add support for combined listings and 2k variants

commit 080ff5b
Author: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Date:   Fri May 17 16:54:54 2024 +0200

    Update 1 translation file (Shopify#3472)

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit a4e898d
Author: Logan Gunn <44077842+lgunn4@users.noreply.github.com>
Date:   Wed May 15 14:27:19 2024 -0400

    renamed regional locales to default (Shopify#3473)

commit 636b6b7
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Wed May 15 11:50:47 2024 -0400

    Add qty rules client side validation to cart (Shopify#3471)

commit f5e5566
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Mon May 13 16:18:01 2024 -0400

    [Quick Add Bulk] Don't block quantity input during cart API call (Shopify#3461)

commit db146ef
Author: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Date:   Fri May 10 09:53:26 2024 -0400

    Update 1 translation file (Shopify#3468)

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit c67c833
Author: Ludo <ludo.segura@shopify.com>
Date:   Thu May 9 16:36:12 2024 +0200

    prevent vertical overflow on slideshow (Shopify#3455)

commit 27d2d84
Author: Ludo <ludo.segura@shopify.com>
Date:   Thu May 9 16:30:02 2024 +0200

    Version 14 bump and release notes (Shopify#3466)

commit e5e08d7
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Thu May 9 08:59:29 2024 -0400

    Update settings.json to add missing validation (Shopify#3464)

commit 85b75b0
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Mon May 6 16:07:19 2024 -0400

    [Fix] QOL Cart race conditions (Shopify#3395)

commit 55d2d5c
Author: Ludo <ludo.segura@shopify.com>
Date:   Mon May 6 17:09:38 2024 +0200

    Fix variant media not changing in the quick add modal (Shopify#3451)

    * Fix variant media not changing in the quick add modal

    * update approach based on review's feedback

commit d627f21
Author: Dan Menard <dan-menard@users.noreply.github.com>
Date:   Fri May 3 09:16:09 2024 -0400

    Override the ::after element for variant images in the quick add modal and quick order list to remove shadows. (Shopify#3449)

commit ba52194
Author: Abdulrahman Hamideh <abdulrahman.hamideh@shopify.com>
Date:   Wed May 1 14:13:21 2024 -0400

    Allow searching for country names with diacritics (Shopify#3443)

commit eefc111
Author: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Date:   Wed May 1 11:50:16 2024 -0300

    Update translations: merchant (Shopify#3438)

    * Update 1 translation file

    * Update 8 translation files

    * Update 1 translation file

    ---------

    Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

commit 3f4284a
Author: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Date:   Wed Apr 24 15:29:50 2024 -0400

    Release/14.0.0 duplicate (Shopify#3436)
  • Loading branch information
larsemig committed Jul 31, 2024
1 parent f738398 commit 813a531
Show file tree
Hide file tree
Showing 121 changed files with 5,188 additions and 3,308 deletions.
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"editor.formatOnSave": false,
"[javascript]": {
"editor.formatOnSave": true
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.formatOnSave": true
},
"[liquid]": {
"editor.defaultFormatter": "Shopify.theme-check-vscode",
"editor.formatOnSave": true
}
},
"themeCheck.checkOnSave": true
}
126 changes: 119 additions & 7 deletions assets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
--alpha-button-border: 1;
--alpha-link: 0.85;
--alpha-badge-border: 0.1;
--focused-base-outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
--focused-base-outline-offset: 0.3rem;
--focused-base-box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
}

.product-card-wrapper .card,
Expand Down Expand Up @@ -264,8 +267,14 @@ h5,
word-break: break-word;
}

.hxxl {
font-size: clamp(calc(var(--font-heading-scale) * 5.6rem), 14vw, calc(var(--font-heading-scale) * 7.2rem));
line-height: 1.1;
}

.hxl {
font-size: calc(var(--font-heading-scale) * 5rem);
line-height: calc(1 + 0.3 / max(1, var(--font-heading-scale)));
}

@media only screen and (min-width: 750px) {
Expand Down Expand Up @@ -689,16 +698,16 @@ summary::-webkit-details-marker {
}

*:focus-visible {
outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
outline-offset: 0.3rem;
box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
outline: var(--focused-base-outline);
outline-offset: var(--focused-base-outline-offset);
box-shadow: var(--focused-base-box-shadow);
}

/* Fallback - for browsers that don't support :focus-visible, a fallback is set for :focus */
.focused {
outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
outline-offset: 0.3rem;
box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
outline: var(--focused-base-outline);
outline-offset: var(--focused-base-outline-offset);
box-shadow: var(--focused-base-box-shadow);
}

/*
Expand Down Expand Up @@ -1989,7 +1998,7 @@ input[type='checkbox'] {
position: relative;
}

product-info .loading__spinner:not(.hidden) ~ *,
.product__info-container .loading__spinner:not(.hidden) ~ *,
.quantity__rules-cart .loading__spinner:not(.hidden) ~ * {
visibility: hidden;
}
Expand Down Expand Up @@ -2549,6 +2558,10 @@ product-info .loading__spinner:not(.hidden) ~ *,
--shop-avatar-size: 2.8rem;
}

account-icon {
display: flex;
}

/* Search */
menu-drawer + .header__search {
display: none;
Expand Down Expand Up @@ -3257,6 +3270,7 @@ details-disclosure > details {
opacity: 1;
animation: none;
transition: none;
transform: none;
}

.scroll-trigger.scroll-trigger--design-mode.animate--slide-in {
Expand Down Expand Up @@ -3454,3 +3468,101 @@ details-disclosure > details {
--border-offset: 0px; /* Prevent the border from growing on buttons when this effect is on. */
}
}

/* Loading spinner */
.loading__spinner {
position: absolute;
z-index: 1;
width: 1.8rem;
}

.loading__spinner {
width: 1.8rem;
display: inline-block;
}

.spinner {
animation: rotator 1.4s linear infinite;
}

@keyframes rotator {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(270deg);
}
}

.path {
stroke-dasharray: 280;
stroke-dashoffset: 0;
transform-origin: center;
stroke: rgb(var(--color-foreground));
animation: dash 1.4s ease-in-out infinite;
}

@media screen and (forced-colors: active) {
.path {
stroke: CanvasText;
}
}

@keyframes dash {
0% {
stroke-dashoffset: 280;
}
50% {
stroke-dashoffset: 75;
transform: rotate(135deg);
}
100% {
stroke-dashoffset: 280;
transform: rotate(450deg);
}
}

.loading__spinner:not(.hidden) + .cart-item__price-wrapper,
.loading__spinner:not(.hidden) ~ cart-remove-button {
opacity: 50%;
}

.loading__spinner:not(.hidden) ~ cart-remove-button {
pointer-events: none;
cursor: default;
}

/* Progress bar */
.progress-bar-container {
width: 100%;
margin: auto;
}

.progress-bar {
height: 0.13rem;
width: 100%;
}

.progress-bar-value {
width: 100%;
height: 100%;
background-color: rgb(var(--color-foreground));
animation: indeterminateAnimation var(--duration-extra-longer) infinite ease-in-out;
transform-origin: 0;
}

.progress-bar .progress-bar-value {
display: block;
}

@keyframes indeterminateAnimation {
0% {
transform: translateX(-20%) scaleX(0);
}
40% {
transform: translateX(30%) scaleX(0.7);
}
100% {
transform: translateX(100%) scaleX(0);
}
}
4 changes: 4 additions & 0 deletions assets/cart-drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ class CartDrawer extends HTMLElement {

setHeaderCartIconAccessibility() {
const cartLink = document.querySelector('#cart-icon-bubble');
if (!cartLink) return;

cartLink.setAttribute('role', 'button');
cartLink.setAttribute('aria-haspopup', 'dialog');
cartLink.addEventListener('click', (event) => {
Expand Down Expand Up @@ -76,6 +78,8 @@ class CartDrawer extends HTMLElement {
const sectionElement = section.selector
? document.querySelector(section.selector)
: document.getElementById(section.id);

if (!sectionElement) return;
sectionElement.innerHTML = this.getSectionInnerHTML(parsedState.sections[section.id], section.selector);
});

Expand Down
49 changes: 42 additions & 7 deletions assets/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,48 @@ class CartItems extends HTMLElement {
}
}

resetQuantityInput(id) {
const input = this.querySelector(`#Quantity-${id}`);
input.value = input.getAttribute('value');
this.isEnterPressed = false;
}

setValidity(event, index, message) {
event.target.setCustomValidity(message);
event.target.reportValidity();
this.resetQuantityInput(index);
event.target.select();
}

validateQuantity(event) {
const inputValue = parseInt(event.target.value);
const index = event.target.dataset.index;
let message = '';

if (inputValue < event.target.dataset.min) {
message = window.quickOrderListStrings.min_error.replace('[min]', event.target.dataset.min);
} else if (inputValue > parseInt(event.target.max)) {
message = window.quickOrderListStrings.max_error.replace('[max]', event.target.max);
} else if (inputValue % parseInt(event.target.step) !== 0) {
message = window.quickOrderListStrings.step_error.replace('[step]', event.target.step);
}

if (message) {
this.setValidity(event, index, message);
} else {
event.target.setCustomValidity('');
event.target.reportValidity();
this.updateQuantity(
index,
inputValue,
document.activeElement.getAttribute('name'),
event.target.dataset.quantityVariantId
);
}
}

onChange(event) {
this.updateQuantity(
event.target.dataset.index,
event.target.value,
document.activeElement.getAttribute('name'),
event.target.dataset.quantityVariantId
);
this.validateQuantity(event);
}

onCartUpdate() {
Expand Down Expand Up @@ -187,7 +222,7 @@ class CartItems extends HTMLElement {
updateLiveRegions(line, message) {
const lineItemError =
document.getElementById(`Line-item-error-${line}`) || document.getElementById(`CartDrawer-LineItemError-${line}`);
if (lineItemError) lineItemError.querySelector('.cart-item__error-text').innerHTML = message;
if (lineItemError) lineItemError.querySelector('.cart-item__error-text').textContent = message;

this.lineItemStatusElement.setAttribute('aria-hidden', true);

Expand Down
61 changes: 0 additions & 61 deletions assets/component-loading-spinner.css

This file was deleted.

1 change: 1 addition & 0 deletions assets/component-slideshow.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ slideshow-component .slideshow.banner {
flex-wrap: nowrap;
margin: 0;
gap: 0;
overflow-y: hidden;
}

.slideshow__slide {
Expand Down
2 changes: 1 addition & 1 deletion assets/component-volume-pricing.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ volume-pricing li {
justify-content: space-between;
}

.volume-pricing-note {
div.volume-pricing-note {
margin-top: -2.6rem;
}

Expand Down
1 change: 1 addition & 0 deletions assets/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const ON_CHANGE_DEBOUNCE_TIMER = 300;
const PUB_SUB_EVENTS = {
cartUpdate: 'cart-update',
quantityUpdate: 'quantity-update',
optionValueSelectionChange: 'option-value-selection-change',
variantChange: 'variant-change',
cartError: 'cart-error',
};
Loading

0 comments on commit 813a531

Please sign in to comment.