Chia sẻ mã Vocher
About 1 results (0.46 seconds)
-
Chọn biến thể đầu tiên làm mặc định
https://abweb.vn/chon-bien-the-dau-tien-lam-mac-dinh/
Bạn đang tìm giải pháp để biến sản phẩm biến thể đầu tiên làm mặc định xin vui lòng dùng đoạn code sau vào file function. Tự động chọn sản phẩm đầu tiên của biến thể làm sản phẩm mặc định Auto choose first product variable as default variation if not set add_action(‘woocommerce_admin_process_variation_object’, ‘nguyenlan_set_first_variation_as_default’, 10,