View Single Post
Old 12-22-2011, 10:38 AM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
Join Date: Oct 2011
Posts: 4,947

Originally Posted by dcogzell View Post
Hello everyone, I am just trying to get my head around the In-line Seo. Below is how I understand it. Please can you tell me if I am on the right path and maybe correct me if I am wrong.

The current integration code is this

<div> <script type="text/javascript" src=""></script> <script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style="); </script> <noscript>Your browser does not support JavaScript. Please proceed to <a href="">HTML version of Eugene's store</a></noscript> </div>

and I need to replace it entirely with this

include "%PATH%/ecwid_catalog/ecwid_catalog.php"; $params['store_id'] = YOUR_ACTUAL_STORE_ID; $params['ecwid_show_seo_catalog'] = true;
echo show_ecwid($params);

Obviously I have to change the store id etc.

and then do I have to

extract the files from to the site directory?

Is that the job done or am I missing something?
Please refer to this post:

A question though: If I replace the integration code, this string is no longer visible ("categoriesPerRow=3","views=grid(3,3) list(10) table(20), so how do I tweak it?
You can set these parameters before calling the 'show_ecwid' function, like the store ID is set. Here is how to do it:
$params['list_of_views'] = array('list','grid','table');
$params['ecwid_pb_categoriesperrow'] = 3;
$params['ecwid_pb_productspercolumn_grid'] = 3;
$params['ecwid_pb_productsperrow_grid'] = 3;
$params['ecwid_pb_productsperpage_list'] = 10;
$params['ecwid_pb_productsperpage_table'] = 20;
echo show_ecwid($params);
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials