Abir
Forum Replies Created
-
Forum: Plugins
In reply to: [WCDPUE Lite] Is this plugin dead?Yes, seems like it’s no longer going to be maintained. I just keep fixing errors in the version I have. I’ve tried “Woocommerce Notify Updated Product”. But I need something which will send what was updated in a product. And also product download link. So, I guess I’ll need to keep searching for the right one ??
Forum: Plugins
In reply to: [WooCommerce] Rich text for productUse this as a workaround solution in your theme functions php:
function priyan_sh_woocommerce_structured_data_product( $markup, $product ) { if (empty($markup['mpn'])) $markup['mpn'] = $markup['sku']; if (empty($markup['brand'])) $markup['brand'] = array( '@type' => 'Brand', 'name' => 'YourBrandName' ); if (empty($markup['brand'])) $markup['brand'] = 'unknown'; if (empty($markup['aggregateRating'])) $markup['aggregateRating'] = array( '@type' => 'AggregateRating', 'ratingValue' => 5, 'reviewCount' => 1, ); if (empty($markup['review'])) $markup['review'] = array( '@type'=> 'Review', 'reviewRating'=> [ '@type'=> 'Rating', 'ratingValue'=> '5', 'bestRating'=> '5' ], 'author'=> [ '@type'=> 'Person', 'name'=> '' ] ); return $markup; }; add_filter( 'woocommerce_structured_data_product', 'priyan_sh_woocommerce_structured_data_product', 10, 2 );
Worked on my site. I just changed the brand to my site name. And removed the brand value:
$product->get_name();
Not getting any google issues about missing fields anymore.
Reference:
https://priyan.sh/woocommerce-missing-fields-structured-data/Note: This is not my site. And not my code. Just fyi ??
It’s a workaround. Otherwise you can always purchase the paid plugin:
https://woocommerce.com/products/google-product-feed/?aff=10486&cid=1131038I haven’t tried this plugin.
Forum: Plugins
In reply to: [Zoho Mail for WordPress] Mail Sending FailedI had this same issue. Turned out I had switched my wordpress admin from https back to http. So the Authorization Redirect URI had changed and it had become invalid. I changed this URI on: https://accounts.zoho.com/developerconsole and it started working again.
Forum: Plugins
In reply to: [Feature Request & Idea Collector] URL problemsThank you averta for this wonderful plugin.
I’ve just have been tinkering around with the code a bit.I can see from the code that “suggestions” is actually a post type. It’s at following places:
ap@temp [~/test-site/wp-content/plugins/feature-request]# grep -r “suggestions”
includes/class-avfr-post-type.php: $domain = avfr_get_option(‘avfr_domain’,’avfr_settings_main’,’suggestions’);
includes/class-avfr-post-type.php: ‘rewrite’ => array( ‘slug’ => ‘suggestions’,’pages’ =>true ),
includes/class-avfr-post-type.php: ‘rewrite’ => array( ‘slug’ => ‘suggestions’,’pages’ =>true ),
admin/includes/class-avfr-settings.php: $domain = avfr_get_option(‘avfr_domain’,’avfr_settings_main’,’suggestions’);
admin/includes/class-avfr-settings.php: ‘default’ => __(‘suggestions’,’feature-request’),
public/class-feature-request.php: ‘avfr_domain’ => ‘suggestions’,So, you can try changing “suggestions” to “test” at these places in code and then re-install the plugin.
I haven’t tried it myself. But maybe this will set you on the right track.