| 开发者 | Coffee4dev |
|---|---|
| 更新时间 | 2026年11月13日 17:30 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
c4d-woo-variation-swatches to the /wp-content/plugins/ directory, or install it from Plugins → Add New.Go to Products → Attributes, edit your attribute (for example Color) and set its type to Color, Image or Text. Every variable product that uses the attribute then shows swatches instead of the drop-down. To give a colour term an exact shade, open C4D Swatches → Colours.
Yes. Open a variable product, find the Swatch Images box, and add photos under each option. When a customer picks a colour, the main gallery switches to those photos. There is no limit on photos per option.
Swatches on shop pages are on by default. Under C4D Swatches → Shop page you can turn them off, show images instead of colours, set the alignment, flip the thumbnail on hover and collapse long lists behind "View more".
Yes, with Multi Orders. In the product editor open the Variation Swatches tab and choose the attribute (for example Size). Each value then gets a quantity box, and one click adds every chosen value to the cart, each as its own line.
Yes. C4D Buy More Save More counts the quantities of all variations of one product together, so 2 small and 3 medium count as 5 toward its discount tiers.
Swatches work on product pages and shop pages with block themes (tested with Twenty Twenty-Five) and classic themes (tested with Storefront). If your theme uses its own gallery markup, set the gallery selector under C4D Swatches → Product page.
Open C4D Swatches → Custom CSS and add your CSS. It is printed late in the page head, after the theme styles, so it wins over them. The documentation lists the selectors with examples. Saving CSS needs the unfiltered_html capability.
No. Since 2.0.0 the plugin has its own settings page and does not need C4D Plugin Manager or Redux Framework. Keep C4D Plugin Manager ACTIVE while you update from 1.x: your settings, term colours and styling are converted on the first page load after the update (only when Plugin Manager was active). You can deactivate it afterwards if no other plugin uses it.
They were replaced by CSS. Your previous styling was converted into the Custom CSS tab (when C4D Plugin Manager was active), so your shop looks the same. It is under C4D Swatches. The documentation lists the selectors you can use.
Reactivate C4D Plugin Manager, then delete the option c4d_woo_vs_db_version (for example with a database tool or wp option delete c4d_woo_vs_db_version). On the next page load the plugin fills in the missing settings from Plugin Manager. If you need help, ask in the support forum.