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.
Installed the 'Product Detail' module in Commerce Kickstart 2.0 and can't seem to get the Colorbox feature working. The image field under 'Manage Display' of the 'Product Detail' content type shows that it is linked to Colorbox, but no luck.
Comments
Comment #1
michfuer CreditAttribution: michfuer commentedThe problem appears to be that the class "colorbox-load" is being assigned to all the images, but unless the 'Enable Colorbox Load' checkbox (in config settings) is checked, then the required colorbox_load.js file isn't being added to the page. I'm not familiar enough with Colorbox to know if this is an issue with the Colorbox module improperly adding that class, or if SF Product Detail is setup in such a way that it requires that setting to be checked. I added the colorbox_load variable (default value = checked) to the sf_product_detail feature via Strongarm, and it appears to work as expected now.