trouble93
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Social Feed Gallery] Error: 400: Bad Request@jmatiasmastro Hello, got same issue with buisness account
i need to change 'image' in this array for my image value $markup_offer = array(
'@type' => 'Offer',
'price' => $product_price,
'priceValidUntil' => $price_valid_until,
'priceSpecification' => array(
'@type' => 'PriceSpecification',
'price' => $product_price,
'priceCurrency' => $shop_currency,
'valueAddedTaxIncluded' => wc_prices_include_tax() ? 'true' : 'false',
),
'priceCurrency' => $shop_currency,
'itemCondition' => 'https://schema.org/'.$json_condition.'',
'availability' => 'https://schema.org/'.$availability.'',
'sku' => $variable_product->get_sku(),
'image' => wp_get_attachment_url( $product->get_image_id() ),
'description' => $product->get_description(),
'seller' => array(
'@type' => 'Organization',
'name' => $shop_name,
'url' => $shop_url,
),
'url' => $link
);Can you help me to find hook or filter to change image with code?
I want to show second image from Variation image gallery in xml file
Viewing 4 replies - 1 through 4 (of 4 total)