开发者 |
algoritmika
anbinder wpcodefactory omardabbas kousikmukherjeeli karzin |
---|---|
更新时间 | 2023年9月25日 14:13 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 6.3 |
版权: | GNU General Public License v3.0 |
版权网址: | 版权信息 |
/wp-content/plugins/
directory.no
).no
).alg_wc_ean_product_structured_data_value
filter added.alg_wc_ean_product_structured_data_markup_value
filter added.alg_wc_ean_product_structured_data_allow_empty_value
filter added.0
).variable
product type.query['post_type']
is an array.EAN: %ean%
.[alg_wc_ean_if]
shortcode added.[alg_wc_ean_if_product_cat]
shortcode added.[alg_wc_ean_if_product_tag]
shortcode added.[alg_wc_ean_product_terms]
shortcode added.[alg_wc_ean_is_valid]
shortcode added.[alg_wc_ean_is_unique]
shortcode added.alg_wc_ean_rest_api_product_ean_key
filter added.alg_wc_ean_rest_api_order_ean_key
filter added.alg_wc_ean_search_backend
filter added.alg_wc_ean_search
filter added.[alg_wc_ean_product_image]
- Security - height
and width
attributes are escaped now.no
).no
.yes
..variations_form
.[alg_wc_ean_barcode]
and [alg_wc_ean_barcode_2d]
.[alg_wc_ean_product_sku]
- Optional max_length
attribute added.alg_wc_ean_print_get_products
filter added.[alg_wc_ean_product_author_id]
shortcode added.alg_wc_ean_product_tools_generate_ean_country_prefix
filter added.alg_wc_ean_product_tools_generate_ean_seed_prefix
filter added.alg_wc_ean_product_tools_generate_ean_seed
filter added.img_w
and img_h
attributes added (both defaults to false
).alg_wc_ean_display
filter added.%barcode_base64%
placeholder added.%barcode_link%
placeholder added.alg_wc_ean_product_structured_data_markup_key
:$product
is passed to the filter as well now.no
).no
).[alg_wc_ean_barcode_2d_base64]
- Default w
and h
are set to 2
now (was 3
).Alg_WC_EAN_REST_API
class added.Alg_WC_EAN_Order_Items_Table
class added.Alg_WC_EAN_Order_Items_Table_Barcodes
class added.Alg_WC_EAN_Barcodes
class added.yes
).no
).yes
).[alg_wc_ean_product_meta]
shortcode added.[alg_wc_ean_product_function]
shortcode added.[alg_wc_ean]
- children
attribute (defaults to no
) and glue
attribute (defaults to ,
) added.alg_wc_ean_edit
filter added.on_empty
attribute added to [alg_wc_ean_barcode]
, [alg_wc_ean_barcode_2d]
, [alg_wc_ean_barcode_base64]
and [alg_wc_ean_barcode_2d_base64]
shortcodes.[alg_wc_ean]
- on_empty
attribute added.[alg_wc_ean_product_attr]
- product_id
, before
, after
, parent
attributes added. Shortcode moved to the free plugin version.[alg_wc_ean_product_image]
shortcode added.[alg_wc_ean_product_name]
shortcode added.[alg_wc_ean_product_sku]
shortcode added.[alg_wc_ean_product_price]
shortcode added.[alg_wc_ean_product_id]
shortcode added.color
attribute added to [alg_wc_ean_barcode]
, [alg_wc_ean_barcode_2d]
, [alg_wc_ean_barcode_base64]
and [alg_wc_ean_barcode_2d_base64]
shortcodes (defaults to #000000
).ean
attribute added.alg_wc_ean_print_render_meta_box_shop_order_force_refunded
filter added.alg_wc_ean_print_barcode_shop_order_refunded_item_qty
filter added.Automatic
).[alg_wc_ean_barcode_base64]
and [alg_wc_ean_barcode_2d_base64]
shortcodes added.%product_price_regular%
, %product_price_sale%
, %product_price_regular_raw%
, %product_price_sale_raw%
placeholders added.localhost
environment now). "Advanced > Force remote image" option added.%product_price%
and %product_price_raw%
placeholders added.variations_add_params()
function. Fixes the compatibility issue with the "WooCommerce Bulk Variations" plugin.width: 10%
style added.Variations tab
).LETTER
as a fallback, in case if custom width or height is set to 0
(zero).10
to PHP_INT_MAX
).[alg_wc_ean_product_attr]
shortcode added.%product_parent_title%
placeholder added.%product_parent_sku%
placeholder added.%product_parent_id%
placeholder added.content
- sku
value added.Products > Bulk actions
).%product_sku%
placeholder added.%product_image%
- Now checking if curl_init()
function exists. This prevents critical PHP error.alg_wc_ean_get_type
filter added.%type%
placeholder added (mostly for debugging).$post
variable now).alg_wc_ean_settings_page_label
filter added.CODE 128
).yes
).yes
).content
- add_to_cart
value added.content
- add_to_cart_url
value added.%product_name%
and %product_title%
placeholders added.QR code: Low error correction
).%barcode_2d%
- Barcode dimension fixed (was 1d
).CODE 128
type only).content
is set to ean
).children
(defaults to no
) and glue
(defaults to empty string) attributes added. This will implode all variation barcodes for variable product.template
attribute added (defaults to %barcode_img%
). Additional placeholders: %product_id%
, %product_title%
, %value%
.content
attribute added. Defaults to ean
. Other possible values: url
, admin_url
, admin_search
, increase_stock
and decrease_stock
.w
and h
attributes added.product_id
defaults to get_the_ID()
now.[alg_wc_ean_barcode]
- Shortcode is now available even if "Barcodes > Single product page" option is disabled.[alg_wc_ean_barcode_2d]
shortcode added.no
).load_plugin_textdomain
moved to the init
action.[alg_wc_ean]
shortcode added.[alg_wc_ean_barcode]
shortcode added.EAN-13
) these types are available: CODE 128
, EAN-8
, UPC-A
.meta_query
fixed.