Product Meta Description for SEO

Open to all! Ask other shopowners for help.
Post Reply
User avatar
tessthepup
Certified Developer
Posts: 382
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Product Meta Description for SEO

Post by tessthepup »

I have added a short brief synopsis of a product to the Product Meta Description for SEO.

And according to a brief search
The meta description is a snippet of up to about 155 characters – a tag in HTML – which summarizes a page's content. Search engines show it in search results mostly when the searched-for phrase is within the description. So optimizing it is crucial for on-page SEO
My question is ... should the Product Meta Description for SEO show in the productg listing and how do I stop it showing but still keep it for SEO???

Is there a setting somewhere I have missed?

Thanks


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Product Meta Description for SEO

Post by Kofod95 »

You could remove this line in a copy placed in the same path in the override-template.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
User avatar
tessthepup
Certified Developer
Posts: 382
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: Product Meta Description for SEO

Post by tessthepup »

Kofod95 wrote: Thu Jan 06, 2022 9:34 pm You could remove this line in a copy placed in the same path in the override-template.

//Daniel
I thought there would be a setting somewhere, maybe a suggestion for future updates
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Product Meta Description for SEO

Post by Kofod95 »

It could actually rather easily be done as an addon. I think that would be better than including it in core.

I forgot to mention that the change could also be done with css:

Code: Select all

.card-body .font-weight-lighter {
  display:none;
}
in templates/override/static/user.css

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Product Meta Description for SEO

Post by heatherbell »

Kofod95 wrote: Fri Jan 07, 2022 8:57 am It could actually rather easily be done as an addon. I think that would be better than including it in core.

I forgot to mention that the change could also be done with css:

Code: Select all

.card-body .font-weight-lighter {
  display:none;
}
in templates/override/static/user.css

//Daniel
Yes that works but I think it is better to target more specifically by using the 'Phoenix Cart' class of the parent div first, that is .cm-ip-product-listing so:

Code: Select all

 .cm-ip-product-listing .card-body .font-weight-lighter {
    display: none;
  }
14Steve14
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Product Meta Description for SEO

Post by 14Steve14 »

tessthepup wrote: Thu Jan 06, 2022 9:04 pm I have added a short brief synopsis of a product to the Product Meta Description for SEO.

My question is ... should the Product Meta Description for SEO show in the productg listing and how do I stop it showing but still keep it for SEO???

Is there a setting somewhere I have missed?

Thanks
No it should not show in the product listing on the website. It should only show in the text of the page when you "View page source" from your internet browser. Its only something for the search engines really and should let them know what is on the page.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Product Meta Description for SEO

Post by heatherbell »

tessthepup wrote: Thu Jan 06, 2022 9:04 pm My question is ... should the Product Meta Description for SEO show in the productg listing and how do I stop it showing but still keep it for SEO???
Yes it does show on product listings on a default Phoenix Cart installation.
Some shops like to have a short description on their product listings but as shown in previous posts it can be prevented from displaying with CSS but it will still be picked up by search engines and used in some search engine results.
User avatar
tessthepup
Certified Developer
Posts: 382
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: Product Meta Description for SEO

Post by tessthepup »

Now hidden from view.

Thank you ;)


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply