Forums › Cost of Goods for WooCommerce › How to Import Cost of Goods with WP All Import
- Support forum for the WooCommerce Cost of Goods: Product Cost & Profit Calculator.
- This topic has 8 replies, 6 voices, and was last updated 1 year, 6 months ago by
Kousik.
-
AuthorPosts
-
April 11, 2023 at 5:26 am #112998
Navneet Nair
ParticipantI Have used this in the Custom Fields:
_alg_wc_cog_cost However the Cost of Goods is still not updating.
April 13, 2023 at 7:37 am #113142Moshtafizur
ParticipantHi Navneet,
Thanks for reaching out. We apologize for any inconvenience you may be experiencing.
I have escalated this with our development team. They will get back to you as soon as they can.
Kind regards,
MoshtafizurApril 18, 2023 at 8:09 pm #113497Hi @navneet-nair,
Can you please elaborate on your issue?
It worked for me even on the free version of the WP All import.
Maybe you could try to set the import file like this:
Meta: _alg_wc_cog_cost
If it doesn’t work, please send me your import file somehow and I can try to import it here.
June 6, 2023 at 1:25 pm #116739Simon Colley
ParticipantHi, we’ve been trying this with WP All Import too but failing every time.
I have set a custom field name in the CSV column in both these formats:
Name: “_alg_wc_cog_cost” or “meta: _alg_wc_cog_cost”.
Value: {_alg_wc_cog_cost[1]} or {meta_alg_wc_cog_cost[1]} (following the above format) but still no luck.
Any ideas!?
June 7, 2023 at 12:29 pm #116783Moshtafizur
ParticipantHi Simon,
Thanks for your reply.
I have escalated this with our development team. They will get back to you soon as they can.
Kind regards.
June 7, 2023 at 5:54 pm #116806Hi Simon,
Our meta
_alg_wc_cog_cost
is just a regular meta like any other. WP All Import should be capable of importing it.Can you please elaborate on the error you’re getting?
Meanwhile, can you please make sure to enable the compatibility options with WP All Import in our Compatibility section?
If you wish and if it’s possible, you could try to send us a simplified version of the file you’re trying to import? If that’s possible, you can send it to [email protected]
June 8, 2023 at 9:21 am #116839Simon Colley
ParticipantHello, thanks for your reply.
Both compatibility options for WP All Import and now checked but unfortunately it hasn’t made a difference.
At the moment the cost field uploads as zero whenever we attempt it.
Also, can I just confirm that this functionality will work with the free version of WP All Import or do we need to install the Pro version?
I will email over the CSV / XML file now.
August 18, 2023 at 10:06 am #122071Martin Ferreira
ParticipantHi.
I have a simular issue. The cost price does come trough as long as it is a simple product. how do i get it to work with variable products?
The _alg_wc_cog_cost link is in a custom field and its value is mapped to the value.October 26, 2023 at 7:13 pm #126676Kousik
ParticipantHello all,
The “_alg_wc_cog_cost” meta_key works with the WP All Import plugin for both simple and variable products.
Exporting simple products is easy, but importing variable products with variations, can be a bit complicated and requires following specific steps in the WP All Import plugin.
So, if any other custom post_meta values are imported in the WP All Import plugin, then “_alg_wc_cog_cost”meta values will also get imported.
If you encounter any issues while importing variable products with variations in WP All Import, please contact their support. They will assist you with resolving the issue.
Regards,
Kousik Mukherjee -
AuthorPosts
- You must be logged in to reply to this topic.