
04-11-2013, 10:31 AM
|
 |
Ecwid Team
|
|
Join Date: Oct 2011
Posts: 4,947
|
|
Hi,
Please find my comments below.
Quote:
Originally Posted by KineretT
1. In your instructions, you write
"Add the following code in the head section of the file (between the <head> and </head> tags) before title and description tags:"
Can you clarify - which file does this refer to? Should it be added to the ecwid_ajax_indexing.php file which was uploaded to my site's directory in the previous step, or are you referring to some other file it should be added to, and if so, which?
|
It refers to the file which is responsible for displaying the store page on your site - all the necessary changes are to be done in that file.
Quote:
2. You also write
" Find the Ecwid widgets integration code and add the following code after it"
I assume you mean the product browser widget code which is placed on my index/shop page?
Should I insert the additional code in the header or the body?
|
Right, it is about Ecwid product browser integration code. Add the mentioned code after your product browser integration code. Please also mind that the file should have 'php' extension, not 'html'.
Quote:
3. Does the PHP script come in the same directory as my html pages?
|
It is up to you where you place the 'ecwid_ajax_indexing.php' file. Please do not forget to specify the valid path in the 'include' statement in the code from the step 2:
Code:
include_once "PATH/ecwid_ajax_indexing.php";
There, you will need to put the exact path to 'ecwid_ajax_indexing.php' on your web server instead of PATH.
|