Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-09-2012, 04:28 PM
msrrautela's Avatar
msrrautela msrrautela is offline
Member
 
Join Date: Jan 2012
Posts: 37
Default Default category page doesn't open. Urgent!

I had implemented the following code 2 months back so that when anybody landups on www.aristotleprep.com/products , the "GMAT Verbal" category opens by default.I checked today and saw that when you go to www.aristotleprep.com/products now, the default category does not open. Can you please help me out with this urgently as this could be one of the reasons why our sale has dipped badly in the last few weeks

xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style=","defaultCategoryId=2640002");
// ]]></script></div>
Reply With Quote
  #2  
Old 07-09-2012, 04:40 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

Quote:
Originally Posted by msrrautela View Post
I had implemented the following code 2 months back so that when anybody landups on www.aristotleprep.com/products , the "GMAT Verbal" category opens by default.I checked today and saw that when you go to www.aristotleprep.com/products now, the default category does not open. Can you please help me out with this urgently as this could be one of the reasons why our sale has dipped badly in the last few weeks

xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style=","defaultCategoryId=2640002");
// ]]></script></div>
Hi,
Please check the source of your page. It has two different "Product Browser" widgets installed.

The first one with the default category assigned:

HTML Code:
<div><script type="text/javascript" src="http://app.ecwid.com/script.js?926016"></script><script type="text/javascript">// <![CDATA[</p>
<p> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","style=","defaultCategoryId=2640002");
// ]]&gt;</script></div>

and the second one without default category:

HTML Code:
<div> <script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","style=");</script></div>
That's why the default category does not open.


Do you use our WordPress plugin? Did you modify the "Store" WordPress page? What code does it have now?
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
  #3  
Old 07-09-2012, 06:15 PM
msrrautela's Avatar
msrrautela msrrautela is offline
Member
 
Join Date: Jan 2012
Posts: 37
Default

Thank you very much for the quick response. I do not know how is the code for "without default category" appearing in the source code. I have the following code in my "products"(using it in place of the store page) page that i am using for the storefront. And yeah, I am using the wordpress plugin

<div><script type="text/javascript" src="http://app.ecwid.com/script.js?926016"></script><script type="text/javascript">// <![CDATA[
xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style=","defaultCategoryId=2640002");
// ]]></script></div>
[ecwid_script] [ecwid_minicart] [ecwid_searchbox] [ecwid_categories] [ecwid_productbrowser] <!-- Ecwid code end -->
Reply With Quote
  #4  
Old 07-09-2012, 06:23 PM
msrrautela's Avatar
msrrautela msrrautela is offline
Member
 
Join Date: Jan 2012
Posts: 37
Default

Just figured out an alternate solution. Updated the "Default Category ID" in the Ecwid settings page in the wordpress backend and voila! the problem is fixed.
Was wondering that when the default category id can be set this easily, what is the need to put that piece of code ?
Reply With Quote
  #5  
Old 07-09-2012, 08:09 PM
Qetzal's Avatar
Qetzal Qetzal is offline
Ecwid Team
 
Join Date: Sep 2009
Posts: 11,009
Default

Quote:
Originally Posted by msrrautela View Post
Just figured out an alternate solution. Updated the "Default Category ID" in the Ecwid settings page in the wordpress backend and voila! the problem is fixed.
Was wondering that when the default category id can be set this easily, what is the need to put that piece of code ?

If you use our WordPress plugin, then you don't need to modify any code to set a default category - just use the the "Default Category ID" option in the WordPress plugin's settings page. The code editing is necessary if only Ecwid is inserted manually without our plugins.


Quote:
Originally Posted by msrrautela View Post
Thank you very much for the quick response. I do not know how is the code for "without default category" appearing in the source code. I have the following code in my "products"(using it in place of the store page) page that i am using for the storefront. And yeah, I am using the wordpress plugin

<div><script type="text/javascript" src="http://app.ecwid.com/script.js?926016"></script><script type="text/javascript">// <![CDATA[
xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style=","defaultCategoryId=2640002");
// ]]></script></div>
[ecwid_script] [ecwid_minicart] [ecwid_searchbox] [ecwid_categories] [ecwid_productbrowser] <!-- Ecwid code end -->
If you use our WP plugin, then the correct code is as follows:

HTML Code:
[ecwid_script] [ecwid_minicart] [ecwid_searchbox] [ecwid_categories] [ecwid_productbrowser] <!-- Ecwid code end -->
__________________
Eugene Kaznacheev
Ecwid Team

@ecwid | Facebook Page | Ecwid Knowledge Base
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:30 AM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.