HomeHome Product Discus... Product Discus...SmithCartSmithCartDirect linking to child portal portal product page gives errorDirect linking to child portal portal product page gives error
Previous
 
Next
New Post
8/30/2011 11:57 AM
 

Version 4.52

When linking to a child portal url for a product details page.

domain.com/childportal/productDetails/tabid/122/productID/9/default.aspx

yeilds error

Can't get ModuleId for given module name 'Smith.BuyNow'

 

Ultimately it looks like the problem is that the module is unable to determine the portal ID to obtain the setting in the product details for where the BuyNow cart page is.

Without further debugging the problem is linked to the session / cookies as if once you've been to the child portal and you obtain a session and then copy the same url directly in the browser it will render the page fine.

Is there a way I can patch this quickly until it is remedied in a future release?

Thanks in advance,
Jon

 
New Post
8/30/2011 12:03 PM
 

Looks like a session variable issue. Removing the ASP.NET_SessionID cookie will preproduce the problem

  1. Go to product details page normally
  2. Remove asp.net_sessionID cookie
  3. Refresh page

I haven't tested to see if this is isolated to child portals or not.

 
New Post
8/30/2011 2:35 PM
 

Hello,

Have you tried the Cross Portal Share Type feature? This enables cross portal sharing for stores, orders, products, etc. between parent and child portals. The following two options are available in the dropdown list located in the Cart Settings under General Cart Setup:

  • Master Portal – When a portal is selected as the “Master Portal it becomes the master with the ability to view and manage all orders from parent Portal and all orders from child portals defined with a “Cross Portal Share Type” of “Child Portal”.
  • Child Portal – When this option is selected on your child portal it will enable the following functionality in your child portal:
    • The child portal will share the same store (categories and products) as the parent portal defined with a Cross Portal Share Type of “Master Portal”.
    • The ability to check to see how many orders came from their portal (view only).
    • All orders in the child portal will show up in Parent Portal manage order detail screen.

Thanks,

 
New Post
8/30/2011 6:18 PM
 

Kevin,

I have not tried that. I want to be c lear though, are you suggesting this as a bandaid that may resolve this issues temporarily?

Ultimately I need to have each child portal be it's own store.

Thank you,

Jon

 

 
New Post
8/31/2011 8:09 AM
 

Kevin,

I just tried the above recommendation by setting it to both Master and Child and neither setting resolves the issues. 

Let me know if there is anything else I can do.

Jon

 
New Post
9/1/2011 11:39 PM
 
Hi Jon,

I just created a link on out parent portal to a product on the Product Details page on the Child portal and I was successfully able to be directed to the page. Screenshots below:



Thanks,
 
New Post
9/21/2011 2:15 PM
 

Kevin,

I figured out what was going on. Partly a bug and partly user error. The user error part was during the last smith cart upgrade the Module Setting for the the Mini Cart for "BuyNow Page Name" was reset to nothing.

When coming to the site with no cookies "a blank slate" and going directly to a product details page it would receive the error indicated above. However if you hit the Buy Now module page then go back to the product details it would work fine. Despite the fact that the setting was still not set.

Configuring the BuyNow Page setting for the Mini Cart located on the product details page ultimately solved the problem.

 
New Post
9/21/2011 2:51 PM
 
Hi Jon,

Thanks for posting back with the resolution to the issue you were experiencing. When upgrading, It is always a good idea to re-save your settings to initialize any new settings that may have been added to the module.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartDirect linking to child portal portal product page gives errorDirect linking to child portal portal product page gives error