Title: Custom fields
Last modified: March 21, 2025

---

# Custom fields

 *  Resolved [ginogt](https://wordpress.org/support/users/ginogt/)
 * (@ginogt)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/custom-fields-439/)
 * Hi
 * Hoping someone can assist, i need help with a custom field or fields, i import
   products from my supplier using the default import from WooCommerce, and inside
   the CSV file its got 2 forms of stock, its got stock from jhb and stock from 
   cpt. when i select both to be imported under ‘stock” it only imports one, or 
   overwrites the other, so i only end up with stock from one place, is there any
   code that can be written in code snippets for both jhb stock and cpt stock during
   import to both combine under the default “stock” column in WooCommerce products?.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Mahfuzur Rahman](https://wordpress.org/support/users/mahfuzurwp/)
 * (@mahfuzurwp)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/custom-fields-439/#post-18375762)
 * Hi [@ginogt](https://wordpress.org/support/users/ginogt/) ,
 * Thanks for reaching out!
 * To achieve this functionality, it will require custom coding, as WooCommerce 
   doesn’t natively support importing multiple stock values for different locations
   into the default “stock” column.
 * You would need a solution that combines the stock values from both locations 
   during the import process, which typically involves custom code. If you’re not
   familiar with adding custom code, we recommend consulting a developer who can
   assist with this, or you can join our [WooCommerce Community Slack Channel](https://woocommerce.com/slack)
   for further guidance and support.
 * Thank you.
 *  Thread Starter [ginogt](https://wordpress.org/support/users/ginogt/)
 * (@ginogt)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/custom-fields-439/#post-18389289)
 * page not found, its a dead end
 *  [Mahfuzur Rahman](https://wordpress.org/support/users/mahfuzurwp/)
 * (@mahfuzurwp)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/custom-fields-439/#post-18389449)
 * Hi [@ginogt](https://wordpress.org/support/users/ginogt/),
 * Sorry for the mistake earlier, here is the community slack channel link: [https://woocommerce.com/community-slack/](https://woocommerce.com/community-slack/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom fields’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mahfuzur Rahman](https://wordpress.org/support/users/mahfuzurwp/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/custom-fields-439/#post-18389449)
 * Status: resolved