Shopify / buy-button-js

BuyButton.js is a highly customizable UI library for adding ecommerce functionality to any website.

Home Page:http://shopify.github.io/buy-button-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing class for cart wrapper

dangelion opened this issue · comments

Hi,
from the defaults at this line

wrapper: 'shopify-buy__cart-wrapper',

I see the default class is shopify-buy__cart-wrapper but on the rendered cart there isn't, there's shopify-buy-cart-wrapper

Adding a class on the cart wrapper doesn't work:

    cart: {
      iframe: false,
      startOpen: true,
      classes: {
        wrapper: 'shopify-buy__cart-wrapper--CUSTOM', // <== ❎ not added
        cart: 'shopify-buy__cart--CUSTOM',  // <== ✅ added (just to testing)
      }
    },

Is it a bug? Otherwise how can solve?