Differences between revisions 10 and 11
Revision 10 as of 2012-02-03 06:02:21
Size: 3075
Editor: clifford
Comment:
Revision 11 as of 2012-02-03 06:02:38
Size: 3319
Editor: clifford
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:

---- /!\ '''Edit conflict - other version:''' ----
 * need to delete all the image in the product/ and detailed/ if not dumping the first time

---- /!\ '''Edit conflict - your version:''' ----

---- /!\ '''End of edit conflict''' ----

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


/!\ Edit conflict - other version:


  • need to delete all the image in the product/ and detailed/ if not dumping the first time


/!\ Edit conflict - your version:



/!\ End of edit conflict


  • 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

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.

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