Update archive-product.php - by Simply Keto

This topic has 5 replies, 2 voices, and was last updated 6 years ago ago by Rose Tyler

  • Avatar: Simply Keto
    Simply Keto
    Participant
    April 9, 2018 at 16:38

    hey there,

    I am using xstore-theme.

    My woocommerce status told me to update my xstore-child archive-product.php from 2.0.0 to 3.3.0

    I tried to update the child 2.0.0 with my parent 3.3.0

    but receive still the same error message.

    xstore-child/woocommerce/archive-product.php Version 2.0.0 is old. Mainversion is 3.3.0,

    How can i proceed?

    Thank you for your help

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 10, 2018 at 09:56

    Hello,

    You just need to compare 2 files https://text-compare.com/ and add the missing code to your child theme file.
    Let us know if you need any further assistance.

    Regards

    Avatar: Simply Keto
    Simply Keto
    Participant
    April 10, 2018 at 11:29

    So I am comparing

    a) archive-product.php form parent with
    b) archive-product.php from child
    and see several differences between the versions of a)3.3.0 and b)2.0.0

    “Add the missing code” = Overwrite b) with a) ?
    So I just copy the archive-product.php from parent and overwrite the one in child them with it?

    Thank you for you help

    Avatar: Simply Keto
    Simply Keto
    Participant
    April 10, 2018 at 12:51

    I just overwrote it in the design>> editor with the parent archive and it seems like it works.

    Thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 10, 2018 at 13:02

    Great. Feel free to ask if you have any other questions.
    Also, I would recommend you to edit .php files via FTP, not via the WP editor.

    Regards

  • Viewing 5 results - 1 through 5 (of 5 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.