diff --git a/libs/shortcode.php b/libs/shortcode.php index a06eb0e..8ebe3cc 100644 --- a/libs/shortcode.php +++ b/libs/shortcode.php @@ -159,7 +159,7 @@ function fwembed_parse_single_product($html_content, $url, $show_description = f $xpath = new DOMXPath($dom); // Extract product information - $productTitle = $xpath->query('//h1[@class="product-info__title"]'); + $productTitle = $xpath->query('//h2[@class="product-info__title"]'); $productPrice = $xpath->query('//span[@class="product-info__price product-info__price--original"]'); $productImage = $xpath->query('//div[@data-gallery="gallery-slide"][1]//img[@class="gallery__image-object"]'); $productDesc = $xpath->query('//div[@class="product-info__description"]//div[@class="html-formatter"]');