Announcement

Collapse
No announcement yet.

Files continually reverted!?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Files continually reverted!?

    Can anyone tell me why my customized files keep being reverted back to default contents on the 3dcart server, and tell me how to make them stick? I've modified the following files on my site, and twice now they have been reverted back to the defaults on the 3dcart server, and I had to re-upload my changes.

    web\assets\templates\common-core\listing_0.html
    web\assets\templates\common-core\js\listing.js


    I also modified web\assets\templates\common-core\view_cart.html, but those changes stick and that file is not reverted like the others are.
    Last edited by MattFL; 06-04-2019, 03:47 PM.

  • #2
    The way 3dcart works is that you need to make edits in your own template folder. The common folder is always overwritten when 3dcart makes updates but files in your template folder will always override files with the same name from the common folder. Here are a few helpful articles:
    https://support.3dcart.com/Knowledge...folders-in-ftp
    https://support.3dcart.com/Knowledge...guide---part-2
    Last edited by bzeltzer; 06-04-2019, 03:57 PM.

    Comment


    • #3
      Thanks for the reply. I tried that and it wan't working, but after looking closer it's the listing.js file which is not being picked up from the template directory (burg-core in my case). Do we need to do something different with .js files?

      Edit --> Stupid error.. I neglected to update my .html files to reference the new location for the js file. I assumed it worked the same as the html files and automatically picked up the modified files.

      Thanks for the help!
      Last edited by MattFL; 06-05-2019, 11:46 AM.

      Comment

      Working...
      X