Close

Product Box Add To Cart button change to Got To Product

haik
10 years ago
#7423 Quote
Avatar
  • 3
Hello,

Use case: My products are too complicated to buy without seeing the Product Page.

Is it possible to have the Product Box "Add To Cart" button be swapped out for a "Go To Product (page)" button?

I realize that just clicking the Product Box does this already, but I'd like the UX to be a click-thru to the Product Page using the button too.

Thanks!
haik
10 years ago
#7424 Quote
Avatar
  • 3
Nevermind! :-)
I just found that you've already considered this need/want. In ....\Presentation\Nop.Web\Themes\Lighthouse\Views\Catalog\_ProductBox.cshtml
I simply uncommented the button on LN:68 and commented below button (and arg) to swap "add to cart" for "details"

Piece of cake... thanks to your good work!!!
Deni
10 years ago
#7430 Quote
Avatar
  • Moderator
  • 389
haik wrote:
Nevermind! :-)
I just found that you've already considered this need/want. In ....\Presentation\Nop.Web\Themes\Lighthouse\Views\Catalog\_ProductBox.cshtml
I simply uncommented the button on LN:68 and commented below button (and arg) to swap "add to cart" for "details"

Piece of cake... thanks to your good work!!!



Hello,

We are glad that you have found a solution. That is the right way to do it !

Regards!
Best Regards,
Mladen Staykov
Nop-Templates.com