Differences between revisions 6 and 7
Revision 6 as of 2011-10-28 00:00:28
Size: 2241
Editor: JonCo
Comment:
Revision 7 as of 2011-11-30 01:40:39
Size: 2803
Editor: JonCo
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:

= To use parent image when child has no image: =
 1. login to cscart admin page
 1. Select Design tab
 1. select skin-selector sub-tab and check what skin they currently use
 1. select template editor sub-tab
 1. follow these folders: <skin_name> -> customer -> views -> products -> components
 1. 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.

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.
  • run

fdb2log -i -B [INTERNETLOCATION] -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.

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