Dadevarzan custom shortcodes and common functionalites for Woocommerce.
Dadevarzan custom shortcodes and common functionalites for Woocommerce.
Displaying Woocommerce Product Gallery images
[dv_wc_product_images count=’1′ size=’medium’]
Displaying Woocommerce sorting product selectbox
[dv_display_product_sorting]
Displaying Woocommerce variation swatches based on Variation Swatches for WooCommerce,
[dv_wc_product_variation_swatches term=’ATTRIBUTE-SLUG’ type=’color|image|button’]
Displaying Attribute Table outside of default WooCommerce tabs
[dv_product_additional_information]
Displaying Product Review outside of default WooCommerce tabs
[dv_display_product_review]
Displaying Woocommerce Compaire based on WPC Smart Compare for WooCommerce,
[dv_product_compaire]
Displaying Woocommerce Wishlist based on WPC Smart Wishlist for WooCommerce,
[dv_product_wishlist]
Displaying Woocommerce Product Discount budge if os sales,
[dv_display_product_discount]
Displaying Woocommerce stock status based on this article,
[wpbb-if post:custom_field key=’_stock_status’ exp=’equals’ value=’outofstock’]
<div class="dv-stock_status dv-outofstock">ناموجود</div>
[wpbb-else]
<div class="dv-stock_status dv-instock">موجود</div>
[/wpbb-if]