This topic has 6 replies, 2 voices, and was last updated 4 months ago ago by Jack Richardson
Hello,
I have a quick question: without the AMP extension the website (even without any product) has a very bad score on mobile, implementing the AMP extension the problems looks like mitigated but there are two major issue:
1) The cookie extension identify the AMP plugin provided in theme as not google compliant so if activated will not show the pop up for the cookie consent
2) I need to show only specific categories of product and currently from the AMP section editor I cannot filter only specif categories, even if they are subcategories.
Can you please advise how these two issue can be solved?
Kind Regards
Dario
Dear @My Little Lord Ltd,
We hope this message finds you well.
1. While it is challenging to ensure compatibility with all existing plugins, we are open to exploring the possibility of integrating with the specific ones you are using. Could you please provide the name of the extension you are currently utilizing for validation testing? It appears that this extension identifies compatibility by detecting unique functions from popular AMP plugins. It is possible that our AMP plugin lacks the specific function required for this identification, which could be causing the issue.
2. Should you be able to provide us with the correct FTP and wp-admin access, we would be more than happy to assist you by adding a filter to facilitate queries of product category functions in AMP. This would allow you to customize the query parameters as you see fit, using your child-theme/functions.php file. For more details on how to modify these parameters, you may refer to the WordPress Developer Resource: https://developer.wordpress.org/reference/classes/wp_query/.
We look forward to your response and are eager to assist you further.
Best Regards,
Jack Richardson
The 8Theme Team
Hi guys,
1) The plugin is “Cookie Notice & Compliance for GDPR / CCPA” also included in your plugin installer under the name Cookie Notice. The information is in setting of the plug in. There is the pro version on website to meet google consent v2 but not think that this can be the reason, feel free to have a look and as the plugin is in your list maybe you can discuss with their team for details 🙂
Attaching in private area details to login on website.
2) I am attaching the details of FTP access
Thank you in advance for your support.
Regards
Dario
Dear @My Little Lord Ltd,
I hope this message finds you well. We regret to inform you that we were unable to establish a connection using the FTP access credentials provided. However, we have implemented improvements that allow you to modify the query for product categories on your end, using the newly added filter ‘xstore_amp_products_categories_query_args’ (it will be included in next plugin update also).
To proceed with the necessary modifications, we kindly request the following information from you:
1. Correct FTP access credentials.
2. Creation of at least a few products.
3. Creation of a few product categories.
Once these steps are completed, we can provide an example solution for a few unique categories to be displayed. Please be advised that any additional customization beyond this scope is not covered by our support services.
Thank you for your attention to these matters. We look forward to your prompt response so we can continue to assist you effectively.
Best Regards,
Jack Richardson
The 8Theme Team
Hi guys,
I have checked the FTP access and generated a new one. Please let me know if now able to access.
I have added the categories and product
Dear @My Little Lord Ltd,
We are pleased to inform you that we have successfully implemented the necessary code snippet in your child-theme/functions.php file, following the provision of the correct FTP access details. The code added is as follows:
add_filter('xstore_amp_products_categories_query_args', function($query_args) {
$query_args['include'] = array(508, 509);
return $query_args;
});
As a result, only two categories, corresponding to the IDs specified in the function above, are now displayed on the homepage of the AMP version of your website.
Should you need to locate the IDs of other product categories, you can do so by navigating to the modification section of a product category. This can be accessed via your Dashboard under Products -> Categories -> Edit specific category. The URL will resemble the following format: https://yourwebsite.com/wp-admin/term.php?taxonomy=product_cat&tag_ID=509&post_type=product, where ‘tag_ID’ represents the ID of your product category.
Please take a moment to review the changes at your earliest convenience.
Best regards,
Jack Richardson
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up