Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Add-to-Cart.png (233kb) downloaded 7 time(s).Please see the enclosed picture, as you can see some of the items have "Add to Cart" and some have "View Details". Please notice that none of the items are displaying a price because the "hide my price" is checked. My understanding is that if price is not shown, it should display "view details", not "add to cart". If I refreshed the page, it will alternate back and forth between products and all of them have the "hide my price" checked. Is this a bug? -Ray
|
|
|
|
Rank: Advanced Member
Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User Joined: 7/31/2019(UTC) Posts: 77
Was thanked: 8 time(s) in 8 post(s)
|
Hi,
If for some product we select "Require user to click link to view price" then it must show a price link, on product page and for all product listings.
The Add to Cart button visibility is not effected by this. For this particular issue, I think the issue is that the "View price link" is missing.
Please confirm, and I will report this issue and get this fixed.
Thanks, Naveed Ashraf |
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Hello Naveed ,
You need to re-look at the picture, when you display products in a "feature wrapper" or even "product finder", it will NOT SHOW a price link. It will only show a price link, if you are in the detailed view of that product or you use quick view, only them.
I have gone to my default installation that has absolutely no modifications to verify this.
All these products have "Require user to click link to view price" because they are under a MAP policy. The fact that the system at random chooses to display "View Details" or "Add to Cart" randomly must be a bug.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User Joined: 7/31/2019(UTC) Posts: 77
Was thanked: 8 time(s) in 8 post(s)
|
Hi,
The "View Details" button is displayed, when the product final price can not be determined precisely. For example in following scenarios:
1. for products having different options 2. or kit products with optional components. 3. Or products with variable prices.
etc.
I have checked our AC Gold store, and there we show the "View price link" for all product listings as well. I think in your scenario you want to hide the "Add to Cart" link? If you want to hide the "Add to cart" button for such products I can help you with this.
Thanks, Naveed Ashraf |
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Okay now it makes sense, "Add to cart" will show when there are no product options, but if there are product options, than the system will show "View Details", this makes a lot of sense now.
Since all my products covered under MAP have options, with the exception of one, they will show "View Details", I guess I can have my developer make sure that when the price is hidden, always show "View Details".
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User Joined: 7/31/2019(UTC) Posts: 77
Was thanked: 8 time(s) in 8 post(s)
|
Great! you figured it out. Here is a tip for you!
Ask your developer to create a copy of the respective View file:
~/Website/Views/Shared/_ProductItemDisplay.cshtml
To the theme folder, for example:
~/Website/Themes/Sample/Views/Shared/_ProductItemDisplay.cshtml
And modify this view file, instead modifying the original view file.
The active theme view file will be picked (if exists) and original view file will be ignored. This way it will be easy for future upgrades, and you will not loose your custom changes.
Thanks Naveed Ashraf
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close