Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2010-06-24 04:33:04
Size: 1894
Editor: clifford
Comment:
Revision 9 as of 2012-02-03 06:01:15
Size: 2982
Editor: clifford
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
 * Don't forget to set the internet location (in gencont last time it moved)
Line 20: Line 21:
 * {{{
run fdb2log -i -B [INTERNETLOCATION] -a 9 -a 65}}}
 * {{{
then run log2cscart -I
 * 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 8 -a 9 -a 65}}}
 * then run
 {{{
 log2cscart -I
Line 27: Line 31:
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
 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.

= 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.

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 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)