php - Adding Data to woocommerce from external plugin -


i creating plugin import data api , add woocommerce external product. successful in adding data coupon code, expiry, title unable add external url.

below code adding product url.. how can add external url affiliate product..

update_post_meta( $pid, '_product_url', $v['link'] ); 

i not developing plugin scratch. plugin post want modify woocommerce..


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -