How do I modify codes in my shop backend?

In some shopping cart systems, several lines of code need to be added for the Shopgate plugin to work properly. These systems include, but may not be limited to:

Although sounds complicated, this process can actually be finished in 3 very easy steps. No technical background required!

 

Getting started

What access do I need?

You will need to have login credentials to your shop's FTP server. This include:

  • Host
  • Username
  • Password
  • Port

In addition, you should have the permissions to edit files in your shop's backend. 

Which software should I use?

You need an FTP client tool to modify codes in your shopping cart's backend files.

In our examples, an FTP program called FileZilla is used. However, any FTP program would work.

 

What are the steps?

Below is an example of how to modify codes in the osCommerce system. However, same steps apply to all the other systems. Now start to modify the codes!

Opening the files

  1. Connect the FTP program to your shop's FTP server.

  2. When connected, navigate to the file(s) in your shop's backend. In the screenshot, the FTP server is labeled as Remote site.
    To find out which files you need to modify, select your shopping cart system from this list, and refer to the instructions.
  3. Right-click on the file you need to modify, and select View/Edit.



  4. This should open a text editor like this. You will see javascript codes inside the file. In the example, the default program TextEdit is used.

Making changes

  1. Paste the codes to the file in the specified line(s).
    To find out which lines of code need to be added to which files, refer to the instructions of your shopping cart system
  2. Click Save to save the changes and close the text file. Your FTP program will auto-detect the changes.

 

Uploading the files back to server

  1. Now go back to your FTP program and wait for a pop-up window "File has changed" to open.

  2. Click Yes to confirm the changes and upload the file back to the server.

Now the changes have been successfully made for this file. Repeat the same process for other files if needed.

 

Was this article helpful?
0 out of 0 found this helpful