Number of related products doesn’t change

This topic has 38 replies, 3 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler

  • Avatar: Jef
    filmguerilla
    Participant
    September 12, 2022 at 02:44

    Hi guys. editing again my Single Product page.
    Trying to change the number of related products on my single product pge. Any changes i made with the theme doesnt work. Please see screenshot.

    How can i fix this? All themes, plugins are updated.

    Please, contact administrator
    for this information.
    37 Answers
    Avatar: Jef
    filmguerilla
    Participant
    September 12, 2022 at 03:22

    This is what i’m trying to do. Before all the pages with related products has 6 items. Would like to change it to 4. i’ve been able to fix the other pages but the main important page i can’t fix. https://prnt.sc/ESU6Lro1Ph38

    Avatar: Awais Ahmed
    Awais Ahmed
    Participant
    September 12, 2022 at 08:32

    Hello, @filmguerilla,

    Dear first of all, you need to know that the related products appear only on the single product page and you cannot select the related products manually because by default WooCommerce pick the related product based on the same tags, and categories.

    Further, you cannot add the related product to any other page. If you are facing the issue of the column on other pages of your site then please share the page URL with us.

    You are trying to set the related products column from the theme options. if you are facing the issue by using the theme option to set the columns on a single product page then please share the page URL with us and provide me the login access to your site in the below-listed format in the private content area and allow permission to debug your site which includes deactivating all the third-party plugins and on-site Customization as well so that I will check and assist you accordingly.

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Note: Please take the complete backup of your site first.

    Regards 8Themes Team.

    Avatar: Jef
    filmguerilla
    Participant
    September 12, 2022 at 14:46

    Hello,

    I know these…

    The related products are available for you to add using elementor. https://prnt.sc/lJe0ddFH93tC Added this on other pages…

    But on single product page. The one that comes with the theme is not working on my end. I’ve been using your theme for quite a while now.

    Site is fully backup by updraftplus as we speak

    check private message for info

    Please contact administrator
    for this information.
    Avatar: Jef
    filmguerilla
    Participant
    September 13, 2022 at 00:56

    Let me know if the username / password works.

    Before i can change single product page without any problem. I tried the builder. But once i changed my single product page back to normal i’m having problem with that because of the layout i want for the product page.

    Now, i just want to make the related product images bigger from 6 products to 4 but i can’t change it anymore in the theme customizer.

    Thank you for the help

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 13, 2022 at 08:21

    Hello,

    Please check if you have this problem when the parent theme is activated, to make sure that it is not caused by your custom changes in the child theme files.

    Regards

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 02:10

    Will try now.

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 02:15

    Anyway, before doing this. I remember having related.php on my woocommerce theme folder to change the RELATED text to MORE TITLES.

    If i delete this how would i change the text on this?

    I think nothing more was change on that PHP file. Only the text

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 04:43

    Ok, change the related.php already and looks like the page was change using the default php. https://prnt.sc/rRwaU7nGlOtg

    https://prnt.sc/vngROGjbK8Lx

    Still doesnt work. Ill try using the main theme now.

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 04:51

    Tried the main theme. Still the same

    https://prnt.sc/Q4zBTXnslfoQ

    And now my site is broken when i get back to the child theme. Why??? 🙁

    I will not go back to the main theme if this breaks my site.

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 05:02

    reverted back to the child theme. good thing i managed to do backup 🙁

    What is causing this problem? I just want to have 4 items on related products.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 14, 2022 at 07:12

    Hello,

    Provide FTP access, then I will be able to pass this topic to our dev team.
    About “MORE TITLES” text, do not re-write the file for this, install Loco translate plugin > create English translation for the theme > change text https://xstore.helpscoutdocs.com/article/30-base-theme-translation , then you can disable the Loco plugin.

    Regards

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 07:39

    Hi Rose,

    I donot need translation for the page. I just want to change Related Product text to More Titles as the website has this eversince the launch.. I have related.php on woocomerce directory eversince. Not sure if this file is causing the problem. But i had tested it a while ago. Almost destroyed the site when i changed the theme from child theme to the main theme. This one didn’t fixed the problem. Same number of items etc.

    I’m backing up the site again to make sure i have copies.

    Please see private content for FTP

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 14, 2022 at 09:04

    Hello,

    I’ve passed this topic to one of our developers, and I will let you know once get an answer. Please be patient and do not change access.
    Thanks in advance.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 14, 2022 at 15:19

    Hello,

    The problem is caused by custom CSS code in style.css file of your child theme – https://prnt.sc/-7rEVbcujQjK
    after removing this custom CSS code, all columns count works as expected -> https://prnt.sc/phTU8SfQqVX9

    As we can see, you have updated WC plugin, so you need to update the theme and Core plugin.

    Regards

    Avatar: Jef
    filmguerilla
    Participant
    September 14, 2022 at 23:55

    That is weird. I don’t remember putting those codes on my CSS.

    The column are still the same. So i just need to update the plugin and this will be fixed?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 15, 2022 at 10:25

    Hello,

    You need to delete the code or change it.

    An update of WC is another/independent thing. We recommend do not update WC before doing the theme update https://prnt.sc/XbuebvfwRxDm
    https://xstore.8theme.com/update-history/
    https://xstore.helpscoutdocs.com/article/63-theme-update
    https://xstore.helpscoutdocs.com/article/37-plugins-update

    Regards

    Avatar: Jef
    filmguerilla
    Participant
    September 16, 2022 at 01:11

    deleted this

    https://prnt.sc/L2YiFBQC4Cqh

    I will update the theme.

    Avatar: Jef
    filmguerilla
    Participant
    September 16, 2022 at 01:16

    UPdated the theme and core plugin.
    Deleted the code in my child theme style.css

    Updated the WooCommerce.

    Still the same.

    Avatar: Jef
    filmguerilla
    Participant
    September 16, 2022 at 01:25

    Another update https://prnt.sc/7tVD7rixEWHw

    https://prnt.sc/dveQQi2HrJJd

    https://prnt.sc/h5qhuqRZmEsP

    https://prnt.sc/8e-JwEskA5T2

    I think the code on CSS was added to the child theme because of this problem before…

    And also i don’t like to view on mobile when using SLIDER settings

    SLIDER: https://prnt.sc/wFB5DmV14Ibg

    Avatar: Jef
    filmguerilla
    Participant
    September 16, 2022 at 01:49

    FYI

    The 4 items works when i change the settings to SLIDER. But i don’t want a slider if possible for single product page related items..

    https://prnt.sc/2PtgSbEkDDO2

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 16, 2022 at 08:54

    Hello,

    I’ve set https://prnt.sc/PtZI_-MU4tex Please clear cache and check the result now – https://prnt.sc/MoUhdTDDyOH0 (not in customizer but on the live single product page).

    Regards

    Avatar: Jef
    filmguerilla
    Participant
    September 16, 2022 at 23:22

    I remember the related product css that was added was for the fix for the setting because it’s showing lots of products in it. This was long ago. Don’t remember exactly but it was there for a reason.

    Cleared cache on both Firefox and Chrome. https://prnt.sc/aVlH4b9EEZPO
    The related products is showing 50 products on single product page.
    Didn’t fixed it. Can you check it again please?

    Avatar: Jef
    filmguerilla
    Participant
    September 17, 2022 at 02:49

    Any help?

    Avatar: Jef
    filmguerilla
    Participant
    September 19, 2022 at 01:24

    good morning. i hope someone could help me out fix this problem this week. it’s been 2 days since someone answered me here.

    Avatar: Jef
    filmguerilla
    Participant
    September 19, 2022 at 02:40

    FYI. i’ve disabled the related product on my website now. Since it’s too annoying to show 50 items on related products.

    This should be fix since this is a theme issue.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2022 at 13:06

    Hello,

    This code shows 50 related products – https://prnt.sc/Rx0DQELgTh4e , so delete or change the code.

    Regards

    Avatar: Jef
    filmguerilla
    Participant
    September 20, 2022 at 03:38

    What code should i put here? Can anyone tell me?

    Avatar: Jef
    filmguerilla
    Participant
    September 20, 2022 at 03:53

    Seems like this is fixed but it looks weird when editing. https://prnt.sc/v7o8ugXacLna

    I want to change the related product text. Would there be an easier way than putting translation?

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 20, 2022 at 07:11

    Hello,

    “it looks weird when editing” – is it fine when the editor is closed? Incorrect displaying in the editor can be also caused by your custom changes in the child theme.
    “I want to change the related product text. Would there be an easier way than putting translation?” – https://prnt.sc/VxzgzMu1-AFS , check now – https://prnt.sc/3SwjVdBBuiEV > https://prnt.sc/QEG5SxfReH7J You can change the text as on the screenshot, or disable the Loco Translate plugin and changes will be visible still.

    Regards

  • 1 2
    Viewing 30 results - 1 through 30 (of 38 total)

You must be logged in to reply to this topic.Log in/Sign up

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