Social Button

Phoca Cart - complex e-commerce extension
supportotecinf
Phoca Member
Phoca Member
Posts: 19
Joined: 31 Jul 2019, 20:28

Social Button

Post by supportotecinf »

hello, is there a plugin that allows you to put the buttons of the various social networks to share the detail of a product, eg facebook, instagram, linkedin etc?
Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Social Button

Post by Jan »

Hi, why not to use some module like:
https://www.phoca.cz/phoca-facebook-comments-module

You can display it standardly on module position or you can load such module as plugin in description.

Jan
If you find Phoca extensions useful, please support the project
supportotecinf
Phoca Member
Phoca Member
Posts: 19
Joined: 31 Jul 2019, 20:28

Re: Social Button

Post by supportotecinf »

Hi, not good, I would like to put the keys under the image of the products detail.
Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Social Button

Post by Jan »

Then there are another options:

- to paste it into some text like description with help of content plugin (I don't think, this is the right way as the position is limited)
- to paste it with some specific Phoca Cart plugin - PCV (Phoca Cart View plugin) with following events:

PCVonItemBeforeHeader
PCVonItemAfterAddToCart
PCVonItemBeforeEndPricePanel
PCVonItemInsideTabPanel
PCVonItemAfterTabs
PCVonItemImage
PCVonItemsBeforeHeader
PCVonItemsItemAfterAddToCart

The event names say where the icons will be displayed. Such plugin needs to be created or some content plugin needs to be transformed to Phoca Cart View plugin.
- or to add own customized code directly to item (product) view template (layout) override :idea:
- or use some specific system plugin which will affect html output only in item (product) view

Jan
If you find Phoca extensions useful, please support the project
Post Reply