incorrect class for add to wishlist button

Created on 31 January 2023, almost 2 years ago

Problem/Motivation

"Add to wishlist button" uses different class than the "Add to cart" button resulting in different rendering.
Note that I'm not an experienced user, and that I have close to 0 coding skills (other than Acorn Atom Basic)

Steps to reproduce

Install Wishlist on Drupal 9.5.2 with Radix 5.06 (Boostrap5). Using Layout builder, place the variations block on the layout. The button shows as a link and becomes a button on hover.

Proposed resolution

In contrib/commerce_wishlist/commerce_wishlist.module replace on line 259 'class' => ['btn-link'], with 'class' => ['btn--add-to-cart'],

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Component

Code

Created by

🇧🇪Belgium johan1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024