Closed suatsuphi closed 3 months ago
See CustomerSettings.HideDownloadableProductsTab
and CustomerSettings.HideBackInStockSubscriptionsTab
. The order list cannot be hidden by setting. To do this, you must write an event handler for the MenuBuiltEvent
event and remove it using TreeNodeBase.Remove
.
thank you.
Could a similar parameter be added for Orders and My Orders?
@mgesing
When I close the shopping cart, the price on the product detail page also closes.... can we make the price section close only when the price is hidden?
thank you @mgesing
Could a similar parameter be added for Orders and My Orders?
Did you mean customer settings? I wouldn't do that for an online store. We also have to think about reducing and the sense of so many settings. You can use the MenuBuiltEvent
to hide it.
Did you mean customer settings?
yes. I think this setting, which is there for others, should be there for this one too. like CustomerSettings.HideOrdersTabs
or could you add parametre in permission.
I can even close wishlist but not orders.
https://github.com/smartstore/Smartstore/pull/1034
access orders >
If a parameter like here is not desired, can it be ensured that these three menus do not appear if the user does not have an order, downloadable and in stock subscription? I can destroy two of them with parameter but not possible for orders...
orders.count > 0
https://github.com/smartstore/Smartstore/issues/1150
similar topic
Hi, I wanna close some customer menu. these are Orders, Downloadable products, Back in stock subscriptions and My Orders
Could a parameter be added to close these menus or can it be linked to an existing parameter?