Closed michaelij closed 1 year ago
Thanks for reporting, I will look into this soon.
Ran into this so I tried to do some digging. Hopefully it will help you troubleshoot it:
if ($this->shopifyProductId) {
Plugin::getInstance()->getProducts()->syncProductByShopifyId($this->shopifyProductId);
sleep(1); // Avoid rate limiting
}
After that I needed to add public array $metaFields = [];
to the Product element to actually access them.
@lukeholder Hey just a friendly follow-up to see if we've had any movement on this one.
Thanks for following up.
This has been fixed for the next release.
To get the fix early, change your craftcms/shopify
requirement in composer.json to:
"require": {
"craftcms/shopify": "dev-develop#411c7cbe343d7c5e16e937615c22c522c24989c5 as 3.1.1",
"...": "..."
}
Then run composer update
.
Thanks
4.0.0 is now out. Make sure to read the changelog item to learn what you need to do to upgrade. The readme also contains instructions.
Description
Project metafields don't appear to be syncing, with the value always being an empty array in the database.
Steps to reproduce
Additional info