VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Tempe on March 27, 2022, 13:24:08 PM

Title: Social share popup dialogue.
Post by: Tempe on March 27, 2022, 13:24:08 PM
Hi there,
I am trying to change the dialogue of the social share popup to share products. Currently, it is using the prod_s_desc, but I would prefer to use the metadesc. From what I can recall, this is done in one of the .php files, but I can't remember which one and the search criteria I am using are not yielding results, sorry. Is there anyone that can remind me how to do this, please? I use a Jquery script that came as part of the template.

Joomla 3.10.5
VirtueMart 3.8.8 10472
PHP Version    7.4.26
Title: Re: Social share popup dialogue.
Post by: pinochico on March 27, 2022, 13:30:38 PM
And what sharing pop-up do you use?

I turned off all sharing, because then the product detail was loaded for 15 seconds on my mobile and I really don't want that.
Title: Re: Social share popup dialogue.
Post by: Tempe on March 27, 2022, 13:46:18 PM
Its sapegin/social-likes jquery came as part of the template.
Title: Re: Social share popup dialogue.
Post by: pinochico on March 27, 2022, 22:47:19 PM
And why are you asking about the Virtuemart forum and not the template maker forum?
Title: Re: Social share popup dialogue.
Post by: Tempe on March 28, 2022, 10:28:04 AM
Quote from: pinochico on March 27, 2022, 22:47:19 PM
And why are you asking about the Virtuemart forum and not the template maker forum?

Because it is getting the short description from Virtuemart, and from what I can remember, it gets the data from one of the VM php files, I just can't remember which one.


******edit*******
html/com_virtuemart/productdetails/default.php
$og_desc = $this->product->metadesc;
Title: Re: Social share popup dialogue.
Post by: pinochico on March 28, 2022, 13:42:04 PM
I don't use this plugin and better ask creator