Wishlist buttons and acl on grouped products?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 anos atrás
Hi!

I have to launch a site for a customer but I have some weird problems with grouped products in lists. "Add to cart" and wishlist button are always visible on them and I have disabled wishlist completely in admin.
In ACL settings I've disabled viewing of prices for guest users so only registered user would see the price and buy button. I've even updated the table and set "DisableWishlistButton" to true for all products, but it's still there.

Is there a bug/problem with grouped product templates or what? How do I get rid of those buttons?

I've attached a screenshot from start page.

http://dev.migrax.se/grouped-buttons.png

Thanx for any help.
8 anos atrás
I have tested .. I also experienced this error. I think it is a bug for group product. DefaultClean theme Nop 3.70
8 anos atrás
I checked the source code, I was wondering there is no maping priceModel.DisableWishlistButton
for group product

IEnumerable<ProductOverviewModel> PrepareProductOverviewModels in public static class ControllerExtensions

I expect explanation from Nop Team.
8 anos atrás
As a last resort I chose to hide wishlist buttons with css, but can't really do the same with add to cart button. Those are to be hidden based on ACL settings, which is also ignored.
8 anos atrás
Do you product or category details page?

P.S. The screenshot is not visible
8 anos atrás
Oh, sorry about that, I've closed the dev site today, we've published the production version. It's back online now.

The screenshot is from front page (http://dev.migrax.se/se/). You can see that all grouped products have "Add to cart" button (in Swedish). Other products are as they should be, without prices or any other buttons.

There is also an "Add to wishlist" button under all grouped products. Wishlist is disabled in admin.

It's on category/list pages it is this way. On detail page it's OK, no buttons. See for example the http://dev.migrax.se/se/ethernet-router page. There is one grouped product, Vigor2925-serien. Add to cart and wishlist buttons are both there, no buttons on detail page.

Hope it helps.
8 anos atrás
Hi Damir,

Thanks!

In some previous versions we always hide these buttons for grouped buttons. Then we decided to always display them. Anyway when a customer clicks "Add to cart" or "Add to wishlist" buttons (of a grouped product) he/she always was redirected to a product details page.

But you're right. We should count ACL permissions. I've just fixed it.
8 anos atrás
Thanks for such a quick fix Andrei, I appreciate it.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.