Where I have to place certain PHP code so to be hardcoded forever and not lost

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

  • Avatar: Pepita
    Pepita
    Participant
    August 3, 2020 at 20:56

    Hi
    I need to “Disable Cart Fragmentation on Front Page and Posts”
    with a PHP code ( I have it ) but my question is where to copy & pase it so not to be lost on every other Xstore update ?!

    3 Answers
    Avatar: John Holden
    John Holden
    Support staff
    August 4, 2020 at 02:13

    Hi,

    You should put code in Child Theme.

    Regards,
    Hung PD

    Avatar: Pepita
    Pepita
    Participant
    August 8, 2020 at 20:29

    in the functions.php file of the child theme. Is that corect?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 9, 2020 at 07:16
  • Viewing 4 results - 1 through 4 (of 4 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.