Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Shopify

    (@shopify)

    Thread Starter beardedbaddie

    (@beardedbaddie)

    But you can’t edit the date attributes as it’s done via the plugin? It gives you no options but to add the product via the widget.

    Plugin Author Shopify

    (@shopify)

    All the data attributes there work however you need to add them to your WordPress short code and use the syntax of the plugin.

    Thread Starter beardedbaddie

    (@beardedbaddie)

    Add them where? The widget doesn’t allow you to add anything but products. The widget is on the homepage in a widget area…it’s not on a page.

    I tried to add the follow to the home page “page” and it nothing happens;

    <div data-sticky="true" data-embed_type="cart" data-shop="noblefit-supps.myshopify.com" data-product_title_color=“FFFFFF”></div>
    <script type="text/javascript">document.getElementById('ShopifyEmbedScript') || document.write('<script type="text/javascript" src="https://widgets.shopifyapps.com/assets/widgets/embed/client.js" id="ShopifyEmbedScript"><\/script>');</script>
    Thread Starter beardedbaddie

    (@beardedbaddie)

    Here is where the plugin is in use: https://web.noblefitsupps.com/

    Ryan

    (@daobydesign)

    @beardedbaddie, I think you’re going to need to do it manually if you’re using the widget. You’ll just need to go to a New Page and get the shortcode, then use either a widget allows shortcodes or a widget that allows PHP (and use <?php echo do_shortcode('[the_short_code]'); ?>).

    Then you can just add the extra attributes as mentioned by Shopify above, e.g.:

    [shopify embed_type="product" show_product_title="false" display_size="regular" shop="yourshop.myshopify.com" product_handle="some-product-name" show="all"]

    @beardedbaddie Did you ever figure out how to do this? Trying to figure out how to customize the font family & colors for a client of mine to be able to use this button and having zero luck.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change the color of; .product-embed__title?’ is closed to new replies.