how to set descriptions in hikashop modules

  • Posts: 159
  • Thank you received: 0
11 years 2 months ago #158416

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi. i have added Product display module on landing page and it is working fine but the problem is on meta descriptions and keywords. how to add meta descriptions and keywords for landing page ?

I am not using global meta descriptions or keyword for my joomla website cause it will create that default meta descriptions and keywords to the whole website.

so any Suggestions ?

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
11 years 2 months ago #158458

Shafan Hameed wrote: how to add meta descriptions and keywords for landing page ?


So, you mean metadata for a Joomla page? Well, that's a Joomla feature, having nothing to do with HikaShop.

In the Joomla admin backend, open the menu item for the page, then see the tab "Metadata". Here you are able to fill in the data, obviously.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #158424

Hi,

There is no options to set meta tags in a module, it should get the product meta data.
If you want to manually add desired meta data, you can use the Joomla function "$doc->addCustomTag()" in the view called by the plugin.

Please Log in or Create an account to join the conversation.

  • Posts: 159
  • Thank you received: 0
11 years 2 months ago #158580

Xavier ... how can i add this in the joomla function ? any guide please.

Last edit: 11 years 2 months ago by Shafan Hameed.

Please Log in or Create an account to join the conversation.

  • Posts: 159
  • Thank you received: 0
11 years 2 months ago #158581

lousyfool .... i have tried this but no use. the meta description and keywords are already in there but they are not showing it in the source codes

Last edit: 11 years 2 months ago by Shafan Hameed.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #158641

Hi,

I don't fully understood your problem, but as Lousyfool said, it is not an HikaShop issue but a Joomla one.
The code given allow to add anything in the head part of the source code, it can be meta tags, etc.
It need to be added in php code.

To have same meta tags content on all the website, you can potentially add them in the index.php file of your template.

Please Log in or Create an account to join the conversation.

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #159856

if i add the code in the index.php file wont it show those meta tags and descriptions to every page and link of the website ?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 1 month ago #159859

Hello,
Can you tell me where do you exactly want to add these meta tags and descriptions ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds
Powered by Kunena Forum