Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Good morning. I wanted to insert "social" buttons directly on the cards of all the products. In which file should I enter the code that makes the "social" buttons appear?
Hi, for this I would use a module or plugin. Depend on module options but maybe some have options to display the buttons only on specific view. Or you can use some plugin and paste it to description (long description). It accepts content plugins so such plugin will display the buttons.
Thanks Jan, but that's not exactly what I want.
With modules or plugins add social buttons to joomla and her templates. I, on the other hand, have some code that hooks the social network starting from the specific product sheets. The user browses the catalog on my site and in each product he finds the button that publishes the content of the card directly on the social network in his account. Ex. Product sheet 001-image 001- Price € xx in social media product 001 will appear - image 001 ...
My problem is that I have no idea what file the Phoca Cart card containing all the references to the card itself produces. (id> image> productor> availability> format> color> Price = Product)
Maybe you have a plugin that adds social buttons to the card that returns the product?
Hi, I think, standard content plugins should do the trick, you can just paste them to description of the product and they should create url to such product page.
I use ochJSsocials plugin for Joomla.
Create module jssocial and place ochJSsocials plugin code and enable Prepare content.
Create template override of com_phocacart>item
Place code in default.php (I placed it after line 552):
echo '<div class="ph-cb">{module jssocials}</div>';
You can achieve same result with any social share module and Joomla load module function or Modules anywhere plugin.