Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 General
 Design issues
 FB Share
Author « Topic »  

LadyM
ECT Moderator

1690 Posts

Posted - 09/08/2021 :  09:10:21  
I'm getting frustrated with not being able to show the product images when using the share buttons. I don't know what I'm doing wrong? I have this at the top of the detail page.
<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?>
<!doctype html><html>


... and this before the closing head tag.
<meta <meta property="og:type" content="product" />
<meta property="og:title" content="<?php print $productname ?>">
<meta property="og:description" content="<?php print $productdescription; ?>" />
<?php print $metaogimage; ?>


I'm using Chrome browser ( which works to show the share buttons.) but I get either nothing or the banner. I can't seem to get the product image, even though I'm emptying the cache and forcing a refresh.
Any suggestions?

Edited by - LadyM on 09/08/2021 09:10:40

ITZAP
Ecommerce Template Guru

Australia
1007 Posts

Posted - 09/08/2021 :  19:27:27  
Your problem may well be related to the issue I posted 9 months ago in the Suggestion Forum here >>

You must have "socialmedia" in the $detailpagelayout parameter, otherwise no cupie doll.
Vince, could you please consider a solution for this ?

Regards,

Gary

Vince
Administrator

42455 Posts

Posted - 09/09/2021 :  03:00:09  
Hi Gary
Yes, you did bring this up before and sorry for not looking into it at the time. But I've made the changes now so that the OG Image tag is created even if the social media option is not displayed in the detail page. I've added the change to the v7.4 updater but if you're on v7.3 you can use the v7.4 vsadmin/inc/metainfo.php just fine.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000