• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 13.06.18, 12:35
  • Opened by: Łukasz
  • Closed by: Marek
  • Closed on: 13.07.18, 20:36
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12366 - A short description in the category code page.

Hello
I have trouble downloading a short description of products on the category page. In the theme configuration module, I have disabled the Display Product Description option, but the descriptions are still in the page code. I would like them not to be on category pages, only on product pages due to duplicate content and seo.
Regards

Comments

Łukasz 13 Jun 2018, 13:54

The same in other places where products are displayed as a list. For example, a module for new products, a list of products from a selected brand, and a search

Marek 13 Jun 2018, 18:24

Hi, Łukasz.
Do you mean this category description http://take.ms/2wwLA ?

Łukasz 13 Jun 2018, 18:38

No, I mean product descriptions. For example in the category https://daars.pl/audio-15

in the page code there are descriptions of products taken from a short description (attach screen).

Google will treat this as duplicate content.

Marek 13 Jun 2018, 19:16

Ok, I see.
You can remove following code in the file /public_html/themes/alysum/templates/catalog/product.tpl
http://take.ms/rD67id

Łukasz 13 Jun 2018, 19:31

Deleting this line removes a short description from the product page. The only thing I want to do is to remove a short description from the code from product listing websites (categories, searches, brand pages, new products)

Łukasz 13 Jun 2018, 19:52

ok I found /public_html/themes/alysum/templates/catalog/_partials/miniatures/product.tpl

I removed

{block name='product_description_short'}
          <div class="short-desc product-description-short{if (isset($smarty.cookies.pm_desc) && ($smarty.cookies.pm_desc == true)) || (isset($pkts.pm_desc) && $pkts.pm_desc == true)} shown{else} hidden{/if}" itemprop="description">
            {$product.description_short nofilter}
          </div>
        {/block}

it should be OK

Marek 13 Jun 2018, 21:26

Ok, let me know if you will have a problem with that