HomeHome Product Discus... Product Discus...SmithCartSmithCartLink to Category (URL)Link to Category (URL)
Previous
 
Next
New Post
12/31/2010 2:52 PM
 

I've enabled categories in the Smith.BuyNow module. I'd like to link directly to a category from another page on my site, but it looks like the categories are JavaScript calls...how do I capture a URL or resolve the JS call to a category?

__doPostBack('dnn$ctr425$ProductsList$MenuCategories','0')

I tried tacking the JS call on the end of my store's URL, but IE gave me a "Cross-stie scripting" error:

http://mySite.com/Store.aspx? __doPostBack('dnn$ctr425$ProductsList$MenuCategories','0')

Thanking you in advance.

 
New Post
12/31/2010 3:02 PM
 

The cart has a builtin feature where you can pass the category id in the querystring to filter products by categoryid. This will enable you to link to the product listing page from another page and filter products. Here is a forum post that explains how:

https://www.smith-consulting.com/foru...

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/31/2010 6:18 PM
 

Thanks Scott...works perfectly!

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartLink to Category (URL)Link to Category (URL)