Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The 'add to wishlist' button only appeared with 'buy it now' form on product page. In the products list page, the form is 'add to cart'. I think detail and list page both should add wishlist button. So i modified the code:
if (strpos($form_id, 'uc_product_add_to_cart_form_') === 0 || strpos($form_id, 'uc_catalog_buy_it_now_form_') === 0)
If 'add to wishlist' button is intergrated in views, it will be flexible to use.
Comments
Comment #1
naveenvalechaClosing because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.