Differences between revisions 14 and 15
Revision 14 as of 2012-02-23 01:13:36
Size: 3561
Editor: JonCo
Comment:
Revision 15 as of 2012-03-29 03:07:12
Size: 3779
Editor: JonCo
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
----
----
 * need to delete all the image in the product/ and detailed/ if not dumping the first time
----
----

----
----
Line 32: Line 24:
{{{  {{{
Line 42: Line 34:
= If thumbnails do not update =

 1. ssh into the web server and cd into their skins directory
 {{{
 #cd /var/www/html/cscart/skins
}}}
 1. You can edit a list of files that use show_thumbnail using the command.
 {{{
 #vi `grep -r show_thumbnail * | cut -d\: -f1 | sort | uniq | xargs`
}}}
 You want to change "Y" to "N" in those lines.

Intall cscart intergration with control

1. only work on rel 12 or later version

step needed for setting up cscart integration with control

  • install cscart 2.0.14 , any other version is used , update needed to be done on the cscart_patch-2.0.14.tgz to work with a new version.
  • configure gencont so we write allow update the dblog, we need the log for the update process,
  • input internet location in gencont
  • configure coaad to allow update of cscart
  • configure coaad put the database , login and password for the cscart database in to control
  • make sure the user on control machine can login to the mysqld on the cscart machine,
  • patch the cscart source directory by untar cscart_patch-2.0.14.tgz under the source directory the cscart version need to be 2.0.14
  • after untar make sure the order_sh and user_sh is executable by apache the order directory is readable and writable by apache
  • change order_sh and user_sh so they use the correct CCDIR server related env, COMPANY and BRANCH and terminal ID
  • setup the terminal ID which used by the script in control to use the correct COMPANY and BRANCH
  • set up control category so it use the alphabetical order to determine sub directory
  • create three directory category/ detailed/ product/ under $CCDIR/COMPANY/images/csc_images/
  • if cscart installed on the same server with control link these three directory with ones in cscart_source/images/
  • Don't forget to set the internet location (in gencont last time it moved)
  • if not on the same server setup cron job to rsync the thrss directories from control machine to cscart server machine
  • If on 3.x and up, make sure to disable_block_cache=true. The default is false and this would make changing the "show on web" option on categories have no effect on the site.
  • need to delete all the image in the product/ and detailed/ if not dumping the first time
  • run
    fdb2log -i -B [INTERNETLOCATION] -a 8 -a 9 -a 65
  • then run
     log2cscart -I
  • done , cscart should work and is intergrated with control , check by changing stock desc on an item and the same produce's name on the cscart should change as well
  • if any process not working, check error.log for hints.

If your captcha is not working make sure you have gd, php-gd, and freetype installed

If thumbnails do not update

  1. ssh into the web server and cd into their skins directory
     #cd /var/www/html/cscart/skins
  2. You can edit a list of files that use show_thumbnail using the command.
     #vi `grep -r show_thumbnail * | cut -d\: -f1 | sort | uniq | xargs`
    You want to change "Y" to "N" in those lines.

To use parent image when child has no image:

  1. login to cscart admin page
  2. Select Design tab
  3. select skin-selector sub-tab and check what skin they currently use
  4. select template editor sub-tab
  5. follow these folders: <skin_name> -> customer -> views -> products -> components

  6. double click product_options.tpl

Replace the line

'src': '{config.no_image_path}',

with

'src': '{$image_pair_var.icon.image_path}',

Note that zoomifier (3rd party add-on) will always use the parent image as it is not child-aware.

To remove the Simbirsk Technologies details

Go to Admin -> Company. Set this up with proper details for the company. This is used in numerous parts of the program.

To make the left column show level 1 and level 2 categories simultaneously on the left column

Go to Admin Page -> Design -> Blocks. On the left column expand the "Categories" field and click on "edit". Choose Plain in the Filling field then save.

Don't forget to create a new default online debtor from scratch so that all the owings are 0

cscart.html (last edited 2018-08-01 00:24:30 by fuzzy)