How to remove HTLM code that appear when you share product listing.

This topic has 28 replies, 4 voices, and was last updated 3 weeks, 3 days ago ago by Andrew Mitchell

  • Avatar: Elhadj07
    Elhadj07
    Participant
    September 9, 2024 at 20:20

    Hello,

    How to remove the HTLM code that appear before the description on some of the products listings when I attempt to share them.

    Also on some listings sometimes the product link didn’t show when you share.

    I marked in red what I mean on the screenshots.

    Thanks very much

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    27 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 10, 2024 at 08:46

    Hello, Elhadj07,

    Thank you for reaching out to us with your query.

    Use an SEO plugin to add the necessary OG image and OG description for your pages, posts, and products. Try for example Yoast SEO plugin.

    Please remember to clear the Facebook cache for any products or pages that have been previously shared. You can do so by using the following link: https://developers.facebook.com/tools/debug/sharing/

    Should you require any further assistance, please do not hesitate to contact us.

    Kind Regards,
    8theme team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 11, 2024 at 17:20

    Hi Rose,

    I am using rank math seo plugin. So what I mentioned and showed on the screenshots is not an issue then and can be just be fixed by implementing what you mentioned here ?

    Thanks very much!

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 11, 2024 at 20:11

    Hi again Rose,

    1 – The issue I mentioned only happens on some listings not all. For example on this listing when I share the issue isn’t visible ( [Deleted] )

    On this listing the issue is visible ( [Deleted] ).

    Also does happens not only when I share on Facebook but WhatsApp, mail, X and other socials as well.

    2 – I also noticed on the single product page there is no product showing at the (YOU MAY LIKE ) section.

    Please find attached screenshots.

    Thanks very much!

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 12, 2024 at 08:17

    Hi @Elhadj07,

    1. The short description of product doesn’t allow any HTML codes. In this case, please remove the p tags from the short description: https://prnt.sc/xhKh74VFYZIh. So the short description should be like this:

    
    Elevate your organization with our That Girl Life Planner Notion Template in Aesthetic Blue. This versatile planner combines personal and professional management tools, including goal setting, travel planning, finance tracking, and wellness monitoring. Benefit from an effortless setup with clear written instructions and video demos. Perfect for those seeking stylish and effective life organization.
    

    2. The Products element is deprecated, we suggest you to switch to the Related Products element instead: https://prnt.sc/9xLrzD8ENLVq.

    Kind Regards,
    8theme team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 12, 2024 at 13:27

    Hi Luca,

    Thank you very much, regarding 2 – could you please explain the steps to switch to the related products elements you mentioned.

    Where do I need to go to first then switch to related products element?

    Thanks very much

    Avatar: Justin
    Luca Rossi
    Support staff
    September 12, 2024 at 15:38

    Hi @Elhadj07,

    We’ve sent the link & screenshot in the private content area.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Elhadj07
    Elhadj07
    Participant
    September 12, 2024 at 22:24

    Hi Luca,

    Thanks very much for the support.

    I switched to related products now. However, some of the settings changed the add to cart buttons we removed previously as visible again. How can I remove them?

    2 – Also on mobile the layout changed how can I fix that again?

    Please find attached screenshots.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 13, 2024 at 06:13

    Dear @Elhadj07,

    We hope this message finds you well.

    We are currently facing an issue where the custom CSS code intended to hide the “Add to Cart” buttons is not appearing on the front-end. For your reference, here is a screenshot of the issue: https://prnt.sc/CT0qM0e2Umr3.

    Additionally, we have noticed that the styles on the single product page are disrupted. Please see the screenshot for a detailed view: https://prnt.sc/t5akkWaxbNcp.

    Could you kindly assist us by completely disabling all cache plugins and then rechecking the aforementioned issues?

    Thank you for your attention to this matter. We look forward to your prompt response.

    Best Regards,
    8Theme’s Team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 13, 2024 at 07:49

    Hi Luca,

    I have disabled the cache plugin but issue not resolved.

    Could you please have a look again.

    Thanks very much

    Avatar: Justin
    Luca Rossi
    Support staff
    September 13, 2024 at 10:07

    Dear @Elhadj07,

    Could you please confirm if there have been any recent updates to the plugins or the WordPress core on your end?

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 13, 2024 at 12:57

    Hi Luca,

    There was an update for elementor on my dashboard just now and after I updated it the layout is now back to normal.

    Could you please now help remove the add to cart button on the “You May Like” Section as the previous code not working after I switched to related products.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 13, 2024 at 16:43

    Hi @Elhadj07,

    Glad to hear everything is working fine now.

    Could you please check again, the add to cart button under Related Product section has been removed?

    https://prnt.sc/MPlBf_ENFRTe

    Best Regards,
    8Theme’s Team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 14, 2024 at 03:29

    Hi Luca,

    Thank you very much all good now.

    I just noticed this system requirement on my dashboard for the xstore-child could you please have a look and advise?

    Please find attached screenshots.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 14, 2024 at 10:11

    Dear @Elhadj07,

    Please take a look at this message: https://www.8theme.com/topic/problem-after-update-8/#post-412981.

    1. Go to the System Status: [Deleted]
    2. Click on the Learn how to update button: https://prnt.sc/fZhDHkREYEnB
    3. Then follow the instructions: https://prnt.sc/UIQSsA7UADgK

    Best Regards,
    8Theme’s Team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 16, 2024 at 19:26

    Hi Luca,

    I did the updates but I still have the warning message for dashboard.php.

    There was no header.php and content-product.php on the child theme so I copied from parent theme and pasted into child theme. I hope I did it the right way. Could you please have a look.

    Pleads find attached screenshots.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 17, 2024 at 07:12

    Hi @Elhadj07,

    Please don’t copy the template files which you didn’t modify to child theme. Please revert back.

    The dashboard file is good now: https://prnt.sc/jbtWfiwJiml6

    Can you check again?

    Thank you!

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 17, 2024 at 07:24

    Hi Luca,

    There was no header.php and content-product.php on the child theme so that’s why I copied from parent theme and pasted into child theme. Or that’s not how it should be done?

    Could you please have a look at my site if it’s look good the way I did or I should remove ?

    I followed the instructions as there was no header.php and content-product.php into the child theme so I asked chatgpt and it directed me that way to copy from parent theme and paste into the child theme.

    Thanks very much

    Avatar: Justin
    Luca Rossi
    Support staff
    September 17, 2024 at 10:51

    Hi @Elhadj07,

    There was no header.php and content-product.php on the child theme so that’s why I copied from parent theme and pasted into child theme. Or that’s not how it should be done?

    Please give us a reason why you copied those files to child theme? Do you want to edit something?

    Thank you!

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 17, 2024 at 15:09

    Hi Luca,

    I was confused on what I should do. So I asked copied the instructions from my dashboard and asked chatgpt. ( please see the screenshot).

    And chatgpt directed me on what I should do.

    After I copied header.php and content-product.php into child theme the warning was gone for these.

    Now, if that’s not the correct way to do or if I shouldn’t add the header.php and content-product.php into child theme then you can let me know I will remove them. I am not very good at this so I was just following the instruction to remove the warning regarding the outdated files.

    Also if these types of updates can be done automatically that would help better then doing manually.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 18, 2024 at 07:55

    Hi @Elhadj07,

    Again, if you didn’t modify any codes under header.php and content-product.php files, so feel free to delete 2 these files in your child theme.

    Best Regards,
    8Theme’s Team

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 18, 2024 at 09:57

    Hi Luca,

    I didn’t modify them so I have deleted them now from the child theme.

    How can I enable the reviews on the product page for the new listings without actual reviews.

    On the dashboard I have ticked the box for reviews to display but nothing showing for new listings.

    Also on Google search console i have recommendations for that as it’s missing on my new products listings.

    I have attached images for your reference.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 18, 2024 at 17:06

    Hi @Elhadj07,

    It seem that product doesn’t have any reviews yet.

    Can you please try adding sample reviews and check again?

    https://prnt.sc/e5OGJJKuFyAZ

    Thank you!

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 18, 2024 at 19:29

    Hi Luca,

    I am referring to this display (please see the screenshot I uploaded ) for product that doesn’t have any reviews yet to still have the empty stars and no reviews text on them.

    Thanks very much

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 19, 2024 at 04:57

    Hi @Elhadj07,

    Unfortunately, this feature is not available in our XStore theme yet.

    You are welcome to submit your feature request on our request board at https://www.8theme.com/taskboard/. Should your suggestion garner sufficient support from other customers, our development team will take it into consideration for inclusion in future updates.

    Best regards,
    The 8Theme Team.

    Avatar: Elhadj07
    Elhadj07
    Participant
    September 19, 2024 at 07:47

    Hi Luca,

    Okay, I will submit. I think now all good.

    I sent a message on private can you please have a look and assist.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 19, 2024 at 07:53

    Hi @Elhadj07,

    Your website URLs have been deleted per your requests.

    Best regards,
    The 8Theme Team.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 19, 2024 at 21:58

    Dear Elhadj07,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

  • Viewing 28 results - 1 through 28 (of 28 total)

The issue related to '‘How to remove HTLM code that appear when you share product listing.’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.