Compare commits
1 Commits
2025.10.05
...
2026.02.15
| Author | SHA1 | Date | |
|---|---|---|---|
| f22615c6d5 |
@@ -159,7 +159,7 @@ function fwembed_parse_single_product($html_content, $url, $show_description = f
|
|||||||
$xpath = new DOMXPath($dom);
|
$xpath = new DOMXPath($dom);
|
||||||
|
|
||||||
// Extract product information
|
// 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"]');
|
$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"]');
|
$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"]');
|
$productDesc = $xpath->query('//div[@class="product-info__description"]//div[@class="html-formatter"]');
|
||||||
|
|||||||
Reference in New Issue
Block a user