mazursv
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Update check for some plugins doesn’t workI found the source of problem. There was custom plugin blocking some updates.
@threadi
Thank you for trying help me!Forum: Fixing WordPress
In reply to: Update check for some plugins doesn’t workIt is POST request to url https://api.www.ads-software.com/plugins/update-check/1.1/ made by wp_update_plugins function.
Forum: Fixing WordPress
In reply to: Update check for some plugins doesn’t workI have debugged the code and found that update check api returns nothing for those plugins.
Forum: Plugins
In reply to: [Reviews and Rating – Google Reviews] New reviews not showing up@designextreme We have encountered with the same problem. The plugin stopped importing new reviews. I checked places api docs and found there reviews_sort parameter that can be set to newest. That will return reviews in chronological order. Please consider adding option to switch api query ordering.
https://developers.google.com/maps/documentation/places/web-service/details#reviews_sort
Forum: Plugins
In reply to: [Google for WooCommerce] Invalid value additional_image_linksHi!
Following code resolves the problem:
function fix_additional_image_links( $values, $wc_product, $wc_product_adapter ) { $additional_image_links = $wc_product_adapter->getAdditionalImageLinks(); if( is_array( $additional_image_links ) ) { $values['additionalImageLinks'] = implode(',', array_map( static function( $x ) { return str_replace(',', '%2C', $x ); }, $additional_image_links ) ); } return $values; } add_filter('woocommerce_gla_product_attribute_values', 'fix_additional_image_links', 10, 3);
Also need to change
additionalImageLinks
validation inWCProductAdapter
class to following:$metadata->addPropertyConstraint( 'additionalImageLinks', new Assert\Length( null, 0, 2000 ) );
After applying these changes our products start syncing properly.
Forum: Plugins
In reply to: [Google for WooCommerce] Invalid value additional_image_linksHi @nagdy,
Not sure why do you need our System Status report. It’s clear that there is problem with data that you send to merchant api. Please check following link
https://support.google.com/merchants/answer/6324370Forum: Plugins
In reply to: [Google for WooCommerce] Invalid value additional_image_linksHi! Products that have multiple images are not synced to merchant center. Any chance you can check this asap?
Forum: Fixing WordPress
In reply to: Create a standalone page with purchasable products ?In case of Woocommerce check it’s shortcodes
https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-6