Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1033500

    Hi,
    In the older version of the theme I had a child theme that includes a woocommerce folder to make changes to the content-single-product.php file to display products.
    It seems that either Woocommerce or the theme, or both, have changed their structure and now that file doesn’t exist.
    I can’t see what is meant to display single products in the new theme, and now although my catalogue works, the product pages are all blank.
    How do I get the product pages to display something, and how do I now modify it in my child theme?

    #1033809

    Hey alanboyle5355,

    What exactly are you overriding in your child theme? Could you try to remove the file from your child theme to see if the product works like it should after that?

    Best regards,
    Rikard

    #1033865

    enfold/woocommerce/includes/content-single-product.php

    But those folders no longer exist, nevermind the file.

    They have all been disabled already because the theme isn’t looking for that folder structure, or that file name. So my products aren’t displayed at all, with or without my version of the files.

    #1034486

    If this isn’t possible – how do I go back a version? My catalogue is currently not working at all!

    #1034501

    I’ve done some more digging and the question might be slightly different than I thought.
    I’ve customised some of the Woocommerce php pages, such as content-single-product.php.
    These files are in my Enfold-child folder, which is my active theme, and they mirror the folder structure of the Woocommerce plugin folder.
    Previously, my files would automatically be used in place of the standard ones. This doesn’t seem to be happening anymore.
    Second to that, the single-product page doesn’t seem to be working at all.

    #1034768

    Hi,

    Unfortunately, as you have done customization our support cant help further with that.

    Best regards,
    Basilis

    #1035119

    You can’t help me with how to customise the layout of Woocommerce integrated into your theme?

    #1036080

    Hi alanboyle5355,

    It still does work, I can confirm that and have tested it.
    This is a wrong path: enfold/woocommerce/includes/content-single-product.php
    Use a child theme also: enfold-child/woocommerce/content-single-product.php (there’s no includes folder)
    Also if your using an Advanced Layout Builder on the product, this doesn’t work but if you’re using the default editor then this works perfect.

    Best regards,
    Nikko

    #1036813

    Perfect, thank you. I was following the folder structure in the woocommerce plugin but this now works perfectly!

    #1036829

    Hi alanboyle5355,

    Glad that we could help you. :)
    Feel free to create a new thread if you need further assistance.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Woocommerce in child theme’ is closed to new replies.