Hi
Indeed this one is a bit special. It's not rendered by weeblrAMP (which would allow the override) but instead we provide that path to WooCommerce itself which then does the rendering (and does not take template overrides into account).
So in addition to making your override, you must also register it with WC:
// filter reviews template
add_filter(
'comments_template',
function($template) {
if ( is_woocommerce() && Weeblramp_Api::isAmpRequest() ) {
$template = __DIR__ . '/layouts/weeblramp/frontend/amp/contents/wc_single_reviews.php';
}
return $template;
},
100
);
This code goes into your weeblrAMP function file, in /wp-content/themes/{active_theme_or_child_theme}/weeblramp/functions.php
Note that weeblrAMP own hook handler is registered with priority 99, so your must have a higher one, like 100 as in the example above. Note also that because you must provide to WC the fill file to the comment/review display template, you're free to put that file anywhere you want.
This does allow to override the review display. As for your other comment, I'm not sure what you mean by "wiggles at the bottom". I have loaded, for instance,
this page of the demo site on: desktop Brave, desktop firefox, desktop chrome, mobile brave, mobile Chrome and I cannot see any visual issue anywhere on the page. Maybe it's a matter of viewing the page at a specific screen size?
Can you provide more details on how you test this (ie device, width, browser,...)?
Best regards