Jump to content

Removing summary text from product image


Recommended Posts

Hi All

I was wondering if you can help me.

On my product image photo I have "summary description" underneath, which is not supposed to be there ( i have the same text just below the price and title) as you can see on the photos attached. I would like to remove it, but i can't find it where i can do it. I am on prestashop 1,7 , and here is my website www.dagmarajoly.com .

Also i am struggling to move the product images to the right side, instead of having them at the bottom. 

Because of the description underneath the photo and those thumbnails I can't make my images larger.

I would really appreciate your help.

Thank you in advance 

Dagmara 

Capture d’écran 2024-11-18 à 13.20.11.png

Capture d’écran 2024-11-18 à 13.20.18.png

Link to comment
Share on other sites

Hello,

Go to your theme folder, find the file "templates >> catalog >> _partials >> product-images-modal.tpl" and comment or remove the lines :

<figcaption class="image-caption">
  {block name='product_description_short'}
    <div id="product-description-short">{$product.description_short nofilter}</div>
  {/block}
</figcaption>

Don't forget to clear Prestashop cache after your modification.

Link to comment
Share on other sites

For the short description comment code in file themes/yourtheme/catalog/_partials/product-images-modal.tpl

{*
          <figcaption class="image-caption">
          {block name='product_description_short'}
            <div id="product-description-short">{$product.description_short nofilter}</div>
          {/block}
        </figcaption>
*}

 

Link to comment
Share on other sites

1 hour ago, Divine said:

Hello,

Go to your theme folder, find the file "templates >> catalog >> _partials >> product-images-modal.tpl" and comment or remove the lines :

<figcaption class="image-caption">
  {block name='product_description_short'}
    <div id="product-description-short">{$product.description_short nofilter}</div>
  {/block}
</figcaption>

Don't forget to clear Prestashop cache after your modification.

Hi . Thank you so much, so i managed to open the files and I have exactly the same descriptions as you did email me: please see photo attached, is there any other way i can get rid of the summary under the photo image? 

 

Capture d’écran 2024-11-18 à 16.52.45.png

Edited by dagmara j
i open the files (see edit history)
Link to comment
Share on other sites

1 hour ago, Prestashop Addict said:

For the short description comment code in file themes/yourtheme/catalog/_partials/product-images-modal.tpl

{*
          <figcaption class="image-caption">
          {block name='product_description_short'}
            <div id="product-description-short">{$product.description_short nofilter}</div>
          {/block}
        </figcaption>
*}

 

Hi . Thank you so much, so i managed to open the files and I have exactly the same descriptions as you did email me: please see photo attached, is there any other way i can get rid of the summary under the photo image?  

Capture d’écran 2024-11-18 à 16.52.45.png

Link to comment
Share on other sites

il y a 21 minutes, dagmara j a dit :

Hi . Thank you so much, so i managed to open the files and I have exactly the same descriptions as you did email me: please see photo attached, is there any other way i can get rid of the summary under the photo image? 

No, but I recommend you to create a child theme, otherwise your modification will be lost if you update classic theme 😞 

Link to comment
Share on other sites

15 minutes ago, Divine said:

No there is no other way but modify the code in this file.

ah ok, i don't know how to create a child theme, i am so new to this... so if the codes are the same and nothing changes on my website , is there any bug that might not allow me to get rid of this description? thank you for your help

Link to comment
Share on other sites

6 minutes ago, Prestashop Addict said:

No, but I recommend you to create a child theme, otherwise your modification will be lost if you update classic theme 😞 

hi, thank you for your reply... i don't know how to create a child theme, or even update classic theme.. i am very new to this thing...would you happen to know how to move the small thumbnails from the bottom to the right side? :) 

Link to comment
Share on other sites

4 minutes ago, Divine said:

No bug. But you have to open the file with a text editor, apply the modification and save the file. You also have to clear Prestashop cache.

what you mean " file with text editor" ? isn't the ftp file ? with all those codes? :) 

 

Link to comment
Share on other sites

1 minute ago, dagmara j said:

what you mean " file wit text editor" ? isn't the ftp file ? with all those codes? :) 

 

 

 

Just now, Divine said:

Yes, in your FTP, you have to open the file with a text editor, modify the code and save it.

 

Just now, Divine said:

Yes, in your FTP, you have to open the file with a text editor, modify the code and save it.

but the descriptions are exactly the same as you wrote them, i am not sure what should i change? 

 

Link to comment
Share on other sites

6 minutes ago, Divine said:

Just comment those lines by surrounding them with the characters {* and *} or simply remove them.

what lines? shoud i type this  {* and *} 46 and 47 and then 51 and 52 ? when i look at my descritopn i don(t have those brackets

Link to comment
Share on other sites

Like this :

{*<figcaption class="image-caption">
  {block name='product_description_short'}
    <div id="product-description-short">{$product.description_short nofilter}</div>
  {/block}
</figcaption>*}

Just surround the code with the {* and *} characters.

Link to comment
Share on other sites

10 minutes ago, Prestashop Addict said:

Here is a french tutorial for Child theme (user GT to have it in english or any other language). For theme update, you can use module 1-Click upgrade

 

10 minutes ago, Prestashop Addict said:

Here is a french tutorial for Child theme (user GT to have it in english or any other language). For theme update, you can use module 1-Click upgrade

thank you ,

Link to comment
Share on other sites

1 minute ago, Divine said:

Like this :

{*<figcaption class="image-caption">
  {block name='product_description_short'}
    <div id="product-description-short">{$product.description_short nofilter}</div>
  {/block}
</figcaption>*}

Just surround the code with the {* and *} characters.

i just tried but i can't type, you did say open with text editor, where i can find it?  got this, when i click on edit it's something different that appears, thank you for all your help

Capture d’écran 2024-11-18 à 17.48.43.png

Link to comment
Share on other sites

10 minutes ago, Divine said:

Then just transfer the file on your computer and open it in a text editor. Apply the modification, save the file and replace it in your FTP.

i just tried to transfer to my computer and is not working.. i know i am a pain, i don't know how to do it...when i click on it and then telecharge it opens as a zip and then it can't open because of photoshoop element. can you tell me how to do it please ? :)

Link to comment
Share on other sites

14 hours ago, Divine said:

Yes it would be simplier. Download and install Filezilla and connect your server with the info given by your host provider.

Hi Divine 

Thank you for your message. I tried download this program and connect to server but I can't , i don't know the password which was not provide to me and when i only try to download the filezilla client i am unable to compress the zip :( can i modify the code without filezilla ? 

Link to comment
Share on other sites

1 hour ago, dagmara j said:

Hi Divine 

Thank you for your message. I tried download this program and connect to server but I can't , i don't know the password which was not provide to me and when i only try to download the filezilla client i am unable to compress the zip :( can i modify the code without filezilla ? 

i have done lots of research and it looks like my Mac is blocking filezilla, i tried to do all i found and could and i still can't open it.. i am doomed then...if there is no other way to change the codes then I can't fix anything on my website :( is the filezilla the only option ? thank you for your help

Link to comment
Share on other sites

Il y a 17 heures, dagmara j a dit :

i just tried but i can't type, you did say open with text editor, where i can find it?  got this, when i click on edit it's something different that appears, thank you for all your help

Capture d’écran 2024-11-18 à 17.48.43.png

What does appear when you click on "edit" ?

Link to comment
Share on other sites

1 minute ago, Divine said:

Can you modify the code when this is open ?

 

1 minute ago, Divine said:

Can you modify the code when this is open ?

I can type on this thing yes, but it does not have the same code as when i can see the page with codes 

Capture d’écran 2024-11-19 à 11.51.18.png

Capture d’écran 2024-11-19 à 11.44.43.png

Link to comment
Share on other sites

2 minutes ago, dagmara j said:

should i do paste and copy? copy all the codes and then paste them on edit thing ?

 

OMG.... you are a genius...thank you so so so much...is working...OMG... :)  :)  :) thank you , thank you and thank you again :) If I could take one more minute from you, and if you know how and where I shuold change the codes to move those photo thumbnails from the bottom to the right side, I would extremely appreciate it :) :) 

Link to comment
Share on other sites

1 minute ago, Divine said:

Ha ha no problem :)

For the thumbnails, it is much more complicated because it requires also CSS modifications and I don't know exactly how your zoom is conceived so I can't tell you the exact modifications to apply.

ok no problem, i really appreciate your help for the summary thing...really.... :) have a wonderful day ... there some other things with my photos that i need to figure out, but i can see already that the phots are bigger..which is great, i just need to figure now why they are blurred... xxx

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...