We'll create fresh WordPress site with Smart Shopify Product installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This WordPress plugin allows add some shortcodes on post to insert Shopify products. Also allow to retrieve/update/remove automatically all products from the shopify store (like a sync function).
This WordPress plugin allows add some shortcodes on post to insert Shopify products. Also allow to retrieve/update/remove automatically all products from the shopify store (like a sync function).
To get access to the shopping cart you can insert this code on the place of your preference:
Note: You must have Font Awesome
to get the fa-shopping-cart
icon.
<button class="btn--cart-tab js-prevent-cart-listener">
<span class="btn__counter"></span>
<span class="fa fa-shopping-cart"></span>
</button>
To get a Shopify Cart where to see all products added to cart, you can insert this code on the place of your preference. It’s a good practice to locate it just next to the open <body>
HTML tag:
<!-- Shopify Cart HTML -->
<!-- ================================================================================== -->
<!-- .cart begin -->
<div class="cart">
<!-- .cart-section begin // cart header -->
<div class="cart-section cart-section--top">
<h2 class="cart-title">Your cart</h2>
<button class="btn--close">
<span aria-role="hidden">×</span>
<span class="visuallyhidden">Close</span>
</button>
</div>
<!-- .cart-section end -->
<!-- .cart-form begin // cart body -->
<div class="cart-form">
<div class="cart-item-container cart-section">
</div>
<!-- .cart-bottom begin -->
<div class="cart-bottom">
<div class="cart-info clearfix cart-section">
<div class="type--caps cart-info__total cart-info__small">Total</div>
<div class="cart-info__pricing">
<span class="cart-info__small cart-info__total">CAD</span>
<span class="pricing pricing--no-padding"></span>
</div>
</div>
<div class="cart-actions-container cart-section type--center">
<div class="cart-discount-notice cart-info__small">Shipping and discount codes are added at checkout.</div>
<input type="submit" class="btn--cart-checkout" id="checkout" name="checkout" value="Checkout">
</div>
</div>
<!-- .cart-bottom end -->
</div>
<!-- .cart-form end -->
</div>
<!-- .cart end -->
<script id="CartItemTemplate" type="text/template">
<div class="cart-item">
<div id="cart-item-id" class="hidden"></div>
<div class="cart-item__img"></div>
<div class="cart-item__content">
<div class="cart-item__content-row">
<div class="cart-item__variant-title"></div>
<span class="cart-item__title"></span>
</div>
<div class="cart-item__content-row">
<div class="cart-item__quantity-container">
<button class="btn--seamless quantity-decrement" type="button"><span>-</span><span class="visuallyhidden"><!-- Decrement --></span></button>
<input class="cart-item__quantity" type="number" min="0" aria-label="Quantity">
<button class="btn--seamless quantity-increment" type="button"><span>+</span><span class="visuallyhidden"><!-- Increment --></span></button>
</div>
<span class="cart-item__price"></span>
</div>
</div>
</div>
</script>
<!-- END - Shopify Cart HTML -->
<!-- ================================================================================== -->
You can access to the Smart Shopify Product setting through the S. Shopify Product item menu in the WordPress admin menu.
On this section you will configure the main params to connect the WordPress website to the Shopify store, through the Shopify API credentials and the number of the app.
https://apikey:[email protected]
.my-shop.myshopify.com
.API Key
too.6
, for the Buy Button.On this section you will configure the post type in your WordPress website you use to represent a Shopify product. It usually works fine with post types created with Toolset plugin (the free version of this, allow to create this post types :)).
Toolset
or another plugin for management of custom Post Type. Eg: product, shopify-product, sh-product. On this sections you will be capable to set some settings about the view of some fields of the Shopify products, like price, buy buttons and variant option selectors.
You can make some kind on sync with the products of your Shopify store. On the setting of the plugin, you will find a Refresh Shopify Product button, it will retrieve all Shopify products and will remove of your website the Shopify products that don’t exist anymore.
* If you check the Publish new products right away (set to Pending Review if unchecked)
option, post types created from Shopify products will publish automatically.
We are using BrowserStack for testing the plugin’s functions in the most popular moders browsers.
With BrowserStack you can automate all web and mobile browser tests. It offers you a chance to keep attention to the real functionalities of your products and to fit the needs of your customers without worrying about browser testings.