Posted - 12/01/2020 : 19:47:23
Following on from this topic here discussing Facebook Images, currently for this line of PHP code to work: <?php print $metaogimage; ?>you must have " socialmedia" in the $detailpagelayout parameter, like this includes.php entry: $detailpagelayout="productname, navigation, productimage, dateadded, sku, reviewstarslarge, socialmedia, description, manufacturerlink, options, listprice, discounts, price, quantitypricing, quantity, addtocart, checkoutbutton, socialmedia, reviews, previousnext";The suggestion is that the code for $metaogimage be altered so that it works regardless whether the " socialmedia" element is included in $detailpagelayout or not. Even if your business does not have any Social Media pages, it is still an advantage to include og open graph meta code in your website pages. That way, if somebody else Shares any of your webpages to Facebook or Twitter, then that post will display your feature image and content in the best, most attractive, attention grabbing manner. Gary
Edited by - ITZAP on 12/01/2020 20:25:16
|