Close

is there a way to hide grouped products from showing the "from price" in search results?

chrisADK
9 years ago
#8755 Quote
Avatar
  • 19
Hi,
Asking here since I never seem to get any answers in nopcommerce' forums. Our site in development has a computer configurator that uses products attributes associated to products. Because of the limitations (bug IMHO) on how nopcommerce deals with dynamic pricing we had to make a custom Simple Product and Category template that hides the price and add to cart fields on the product categories page. This was because it was not showing dynamic price total. This was the easiest work around we found until/if Nopcommerce gets around to properly implementing grouped products and dynamic pricing. Is there a way to have instant search perhaps have the option to hide price and add to cart in the search auto complete and search results? If not is there a way to hide the price and add to cart on the search results page at least? here is a picture of how it looks now. http://1drv.ms/1MxV4uv
Thanks Chris
Deni
9 years ago
#8764 Quote
Avatar
  • Moderator
  • 389
Hi, 

In the code will be really difficult to hide the price or/and the add to cart button. But, you can easily do that via CSS. Just add this code in your theme Custom Head Styles setting:

.instant-search-item .detail .price,
.search-page .item-box .add-info {
  display: none;
}
Best Regards,
Mladen Staykov
Nop-Templates.com
chrisADK
9 years ago
#8770 Quote
Avatar
  • 19
Hi,
Oh great That's how I did it on the custom category and product template pages. Looks like the only way to do it at this point which is unfortunate. Is there any possibility of creating a plugin that can do a proper product configuration page that uses "associated products" for product attributes while properly and logically showing the dynamic price total on category and search pages?
The way is works now suck to inventory and pricing control
Chris
Deni
9 years ago
#8775 Quote
Avatar
  • Moderator
  • 389
chrisADK wrote:
Hi,
Oh great That's how I did it on the custom category and product template pages. Looks like the only way to do it at this point which is unfortunate. Is there any possibility of creating a plugin that can do a proper product configuration page that uses "associated products" for product attributes while properly and logically showing the dynamic price total on category and search pages?
The way is works now suck to inventory and pricing control
Chris


Hi, 

You can suggest these features in our User Voice portal, where all customers can vote for them.
Best Regards,
Mladen Staykov
Nop-Templates.com
chrisADK
9 years ago
#8939 Quote
Avatar
  • 19
Deni wrote:
Hi, 

In the code will be really difficult to hide the price or/and the add to cart button. But, you can easily do that via CSS. Just add this code in your theme Custom Head Styles setting:

.instant-search-item .detail .price,
.search-page .item-box .add-info {
  display: none;
}



Hi,
It seems the manufacturers search also needs to be edited to hide the price on these grouped products. What is the custom CSS for doing this? The one above worked great for instant search.

Thanks Chris
Deni
9 years ago
#8941 Quote
Avatar
  • Moderator
  • 389
Hi, 

Please clarify about which Manufacturer search you are talking about. On which page is it? Give me a hint :)
Best Regards,
Mladen Staykov
Nop-Templates.com
chrisADK
9 years ago
#8946 Quote
Avatar
  • 19
Deni wrote:
Hi, 

Please clarify about which Manufacturer search you are talking about. On which page is it? Give me a hint :)
HI, Oh Sorry. :)  When you click on the manufacturer page that shows them all and then click on the individual manufacturer and it lists all their products. Need to hide the add to cart/price there. Ideally it would be cool if that could be done per manufacturer.
Thanks Chris
Deni
9 years ago
#8948 Quote
Avatar
  • Moderator
  • 389
chrisADK wrote:
When you click on the manufacturer page that shows them all and then click on the individual manufacturer and it lists all their products. Need to hide the add to cart/price there. Ideally it would be cool if that could be done per manufacturer.
Thanks Chris


Hi, 

You can hide the add-to-cart/price by modifying the previous code like this:
.instant-search-item .detail .price,
.search-page .item-box .add-info,
.manufacturer-page .product-item .add-info {
  display: none;
}

Unfortunately, you can not do this per manufacturer.
Best Regards,
Mladen Staykov
Nop-Templates.com