Linux 软件免费装
Banner图

Products Showcase – Shopify Integration

开发者 hosseinkarami
更新时间 2026年1月21日 07:09
捐献地址: 去捐款
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

ecommerce blocks gutenberg products shopify

下载

1.0.0 1.1.1 1.1.2 1.1.0

详情介绍:

Display your Shopify products on WordPress with beautiful, responsive carousels. Built as a native Gutenberg block with OAuth authentication for easy setup. Features Use Cases Requirements Links

安装:

Video Tutorial Watch the complete setup walkthrough on YouTube: How to Connect Shopify to WordPress Standard Installation
  1. Upload the plugin files to /wp-content/plugins/products-showcase/, or install through the WordPress plugins screen
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to Settings → Shopify Products to configure your API credentials
  4. Add your Shopify store URL and Admin API access token
  5. Create or edit a page/post and add the "Shopify Products" block
  6. Search and select products or a collection to display
Development Installation For active development with hot reloading:
  1. Clone the repository: git clone https://github.com/HosseinKarami/products-showcase.git
  2. Navigate to plugin directory: cd products-showcase
  3. Install dependencies: npm install
  4. Start development server: npm start (watches for changes)
  5. Activate the plugin in WordPress
Creating Your Shopify App Step 1: Create the App
  1. Go to Shopify Admin → Settings → Apps and sales channels → Develop apps → Build apps in Dev Dashboard
  2. Click the "Create app" button (top right corner)
  3. In the "Start from Dev Dashboard" section (right side), enter an app name and click "Create"
Step 2: Configure App Version
  1. In the Versions section, click "New version"
  2. In the Access section, add read_products to the Scopes field
  3. In the Redirect URLs field, paste the Redirect URL from your WordPress plugin settings
  4. Click "Release", then confirm by clicking "Release" again in the popup
Step 3: Set Up Distribution
Note: If you created your app from a merchant store (via Shopify Admin → Settings → Apps → Develop apps), your app automatically uses "Custom distribution" and you won't see other distribution options. This is expected — custom distribution is the correct method for connecting your own store to WordPress. Only apps created from a Shopify Partner account would have multiple distribution options.
  1. Click "Distribution" in the Right sidebar
  2. If prompted, select "Custom distribution" and click "Select"
  3. Enter your store domain (e.g., your-store.myshopify.com)
  4. Click "Generate link" and confirm
Step 4: Install the App
  1. Copy the generated install link and open it
  2. On the Shopify Admin install page, click "Install"
Step 5: Get Credentials
  1. Click "Settings" in the left sidebar
  2. Copy the Client ID and Secret from the Credentials section

屏幕截图:

  • Shopify Products block in Gutenberg editor with search interface
  • Product carousel display on frontend with navigation
  • Single product two-column layout
  • Product search autocomplete in block editor
  • Color swatches display with hover effects

升级注意事项:

1.1.2 Documentation update: Clarified that apps created from a merchant store automatically use Custom distribution. No code changes. 1.1.1 Updated documentation for the new Shopify Dev Dashboard app creation flow. If you're setting up a new connection, follow the updated instructions in the Quick Start guide. 1.1.0 Major update! Now featuring OAuth 2.0 authentication - no more manual token copying. Just enter your Client ID & Secret and click Connect. Existing connections will continue to work. 1.0.0 Initial release of Products Showcase – Shopify Integration. Display your Shopify products beautifully on WordPress!

常见问题:

Do I need a Shopify account?

Yes, you need an active Shopify store to use this plugin. The plugin fetches product data from your Shopify store via the Admin API.

Does this plugin process payments?

No, this plugin only displays products. When users click on products, they're redirected to your Shopify store to complete the purchase.

How often does product data update?

Product data is cached for 1 hour by default (configurable in settings). You can manually clear the cache from the settings page at any time to force a refresh.

Can I customize the appearance?

Yes! The plugin includes CSS classes that you can target with custom CSS. Advanced users can also override the template files by copying them to their theme.

Does it work with headless WordPress?

Yes! If you have WPGraphQL installed, the plugin automatically registers GraphQL types for querying product data in headless/decoupled WordPress setups.

Will this slow down my site?

No. The plugin uses intelligent caching to minimize API calls and only loads assets on pages where the block is used. Images are lazy-loaded for optimal performance.

Can I display products from multiple Shopify stores?

Currently, the plugin supports one Shopify store per WordPress installation. If you need multi-store support, please open a feature request on GitHub.

What happens if my Shopify API credentials change?

Click the "Disconnect" button in Shopify Products settings, then reconnect using the OAuth flow with your new credentials. The plugin will automatically obtain a new access token.

Can I filter out certain products?

Out-of-stock products are automatically filtered by default. Developers can use the prodshow_filter_products filter hook to implement custom product filtering logic.

更新日志:

1.1.2 1.1.1 1.1.0 1.0.0