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

3 replies3 participantsUpdated by Rose Tyler

  • Avatar: Pepita
    Pepita
    Participant

    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
    Participant

    Hi,

    You should put code in Child Theme.

    Regards,
    Hung PD

    Avatar: Pepita
    Pepita
    Participant

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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

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