HomeHome Product Discus... Product Discus...SmithCartSmithCartShare Products Issue?Share Products Issue?
Previous
 
Next
New Post
2/2/2011 6:47 AM
 

My understanding was that "Share Products" allows to share products between catalogs WITHIN a PORTAL not WITHIN a DNN installation. Am I correct?

Here is what I'd like to do. I would like to place multiple instance of smith cart in various pages within a portal & share products with in THIS PARTICULAR portal. But I have another portal (with different domain name...and yes I have two separate licenses purchased for the smith carts) that are NOT related with the other portal. Since the two portals are not related I do not want to share products between the portals.

Is there a way to do this?

NOTE: I did notice that from backend (manage products), the products are not shared between portals even the products are marked "shared" (but they are shared among multiple modules in the same portal). The products are shown in the frontend of both portals...that is the issue I'm running.

 
New Post
2/2/2011 7:29 AM
 

In having looked at the stored procedures, this could be done with some minor modifications.

The way that DNN works is that each portal, whether it is a sub-domain or a different domain, is given a portal ID.

The logic in the cart is: "Select the products where PortalID = {portalID} OR Shared={True}"

... it's that "Or" statement that allows a shared product to be displayed ON ALL PORTALS.

However, you could use a little logic, with perhaps some case statements, to share products only between specific portals.

If this solution interests you, I'll do some further research and give an example of how you would need to modify the stored procedures.

Most of the SP's for Smith Cart are pretty straightforward; there's only one or two that get kind of hairy creating temporary tables and so forth. Most of the SP's don't even join tables; they're very basic, and therefore very easy to edit.

--Greg

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartShare Products Issue?Share Products Issue?