该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Picturefill fix for WooCommerce

描述

If you love WooCommerce and WP Retina 2x you have likely ran into an issue on variable product pages if you are using the recommended retina method of picturefill. When selecting a variation with an attached image it should replace the product image shown. Unfortunately, the way that WooCommerce replaces the image it is not compatible with the picturefill method… until now!

安装

Upload the Picturefill fix for WooCommerce plugin to your blog, and Activate it.

常见问题

Why do I need this plugin?

Variable product images do not update when selecting a variation if picturefill is used. This plugin fixes that issue.

Where is the settings for the plugin?

There are no settings. If you have WooCommerce and WP Retina 2x installed it will just work.

Why don’t I just use the Retina.js method?

Retina.js results in the loading of both the standard and retina image. Picturefill only loads the image best suited for the display.

Will this work with my theme?

Most likely yes. As long as your theme keeps the WooCommerce product image convention of a wrapper div with the ‘.images’ class it will work.

评价

2016年9月3日
Disclaimer: I am the plugin author. What it does is simple, but it does the job. Hopefully one day this plugin will not be needed with a future WooCommerce update, but until that day comes I will use this plugin on all my WooCommerce retina sites.
阅读所有2条评价

贡献者及开发者

“Picturefill fix for WooCommerce” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

Release Date – 29 October 2015

  • Added Frequently Asked Questions

1.0.0

Release Date – 29 October 2015

  • Initial release