Plugins Wordpress

Plugins mua theo số lượng sản phảm được giảm giá theo giá tiền.

20 Tháng 10, 2018 admin 1 min read

https://vi.wordpress.org/plugins/woocommerce-bulk-discount/

[php]

// <1=$number<=5

get_post_meta( $post_id,’_bulkdiscount_quantity_’.$number,true);  // lấy số lượng sản phẩm

get_post_meta( $post_id,’_bulkdiscount_discount_fixed_’.$number,true);  // lấy giá tiền sản phẩm giảm giá

[/php]

0 0 đánh giá
Đánh giá bài viết
Please wait...
Theo dõi
Thông báo của
0 Góp ý
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất