re mini-shopping cart

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 14 ans
nice little feature but for some reason products are not listing in it - cart qty, yes; subtotal, yes; checkout button, yes

but no products are listed  - the code seems to be there in MiniShoppingCartBox.ascx




EDIT- March 28, 2010 11:37 AM

setting is not in the upgrade scripts

go to admin --> configuration -->  add new


Name:     Display.ItemsInMiniShoppingCart

Value:     true (or false if you prefer )
Il y a 14 ans
Sorry, not sure what you mean?

This feature works it can be seen working in the NopCommerce demo store?

mike..
Il y a 14 ans
hi mike

i looked at the demo site too - should the products which are in the cart (eg 1 phone, 1 book) be listed in the mini cart?

all i see is eg

There are 2 items in your cart.
Subtotal: $345.00 (USD)
                      checkout button

the code and codebehind looked as though it was designed to list products as hyperlinks and with quantities

- hayden
Il y a 14 ans
Hi Hayden,

Sorry, did not look into the code.. Now looking at it yes they can be shown if you require, you need to enable this by going to Administration section

Configuration > All settings > Then goto page 3 and find Display.ItemsInMiniShoppingCart and then click edit and change value from false to True and save.

Then it should now work..

mike..
Il y a 14 ans
I cannot find this "Display.ItemsInMiniShoppingCart"

I am running 1.5 and am getting an error

Front End:
We're sorry, an internal error occurred that prevents the request to complete.
Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.

backend:
Log type:  Unknown  
Severity:  11  
Message:  Exception of type 'System.Web.HttpUnhandledException' was thrown.  
Exception:  System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Picture picture, Int32 TargetSize, Boolean showDefaultPicture) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:line 357 at NopSolutions.NopCommerce.Web.Modules.OrderSummaryControl.GetProductVariantImageUrl(ShoppingCartItem shoppingCartItem) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\NopCommerceStore\Modules\OrderSummary.ascx.cs:line 296 at ASP.modules_ordersummary_ascx.__DataBinding__control4(Object sender, EventArgs e) in c:\inetpub\vhosts\maxz.ca\httpdocs\Modules\OrderSummary.ascx:line 94 at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.Repeater.DataBind() at NopSolutions.NopCommerce.Web.Modules.OrderSummaryControl.BindData() in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\NopCommerceStore\Modules\OrderSummary.ascx.cs:line 65 at NopSolutions.NopCommerce.Web.Modules.OrderSummaryControl.OnInit(EventArgs e) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\NopCommerceStore\Modules\OrderSummary.ascx.cs:line 52 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.checkoutonepage_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bcafd511\32ad7788\App_Web_miu1a1_v.16.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  
IP address:  00.52.170.000
Customer:  [email protected]  
Page URL:  http://www.xxxx.ca/CheckoutOnepage.aspx  
Referrer:  http://www.xxxx.ca/Products/33506-zebra-2824-dt-printer.aspx  
Created on:  3/28/2010 12:31:24 AM
Il y a 14 ans
i couldn't find the setting - so i checked the upgrade scripts and it not there !

if you upgraded rather than installed new, you need to :

go to admin --> configuration -->  add new

Name:     Display.ItemsInMiniShoppingCart

Value:     true (or false if you prefer )


maxz - looks like a permission error - give write permission to images folder (and its subfolders)
Il y a 14 ans
This works for me: (Configuration > All settings > Then goto page 3 and find Display.ItemsInMiniShoppingCart  and then click edit and change value from false to True and save.)

See My Mini-Shopping Cart (It includes the list of products)
Il y a 14 ans
Yes, permission error on folder, resolved

Same with mini-cart issue, added and tested OK

:)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.