I found and customized function to make a custom order of products on FE by using custom meta.
We have one problem. We can see default data in BE of every product but it becomes visible on FE only after manually updating the product. We have thousands of products so it is not possible to reupdate every single product manually. Problem is that function saves data to DB only after manual update of products.
Does anybody has an idea of how to customize the function to save default data to DB by “default”? You can find our function below.
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com