Categories
CMS Mastering Development Wordpress

Multiple Select on Gutenberg Sidebar as metakey

I want to show a multiple select element in the sidebar when editing a page in admin, where I can save the selected values in a metakey. Of course also load the selected values upon load of page-edit in admin. I manage to show the list, but I don’t know how to save it i […]

Categories
CMS Mastering Development Wordpress

How to see VAR_DUMP() or check value of post_meta for ‘woocommerce_order_item_quantity’ filter

I have been working on some code to decrease quantity of a variable product based on the numeric values of a custom field. This is working fine, however I have implemented a checkbox that will essentially TURN ON/OFF the feature on each product. This custom checkbox also works fine, appears in ‘Product General Settings’ and […]

Categories
CMS Mastering Development Wordpress

Get value of the Custom Field on a Woocommerce Product Variation

I really need some help here. I am trying to get the value of a custom field so I can compare it to the amount in stock, and display a message depending on the returned value. The problem? No matter what I try I keep being met with boolean false – string length 0 or […]

Categories
Development WooCommerce Wordpress

Replacing Custom field id in woocommerce

I want to add a custom field in the woocommerce product edit page. Based on my search I got below code but I want to fit values as below. I am looking to change the value in the below code to: id – variation_title Label – Variation Title I tried modifying the code and the […]

Categories
Development

Display Custom Field on woocommece product variation selection

Based on my research and limited coding knowledge i formulated the below and would like guidance on my query. I am looking to get custom field (inside a link on the page) of variation when selected from dropdown in product page. And it should be workable for custom field id and any link prefix eg […]