Support may delay or unavailable from 30-03-2025 to 10-04-2025 due to Eid Holyday break.

Custom Layout element with 2nd product image

0
Custom Layout element with 2nd product image 1
Jan
Apr 23, 2025 03:19 AM 0 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hi, I want to make an effect when user hover over product image in my carousel -> show 2nd product image with slow zoom animation. But how can I add for example custom Layout element with 2nd image url? I found this code but I dont know how to modify it to work well with your amazing plugin:

function wcps_layout_elements_20200516($layout_elements) {


    $layout_elements['custom'] = array('name' =>__('Custom','woocommerce-products-slider'));

    return $layout_elements;
}

add_filter('wcps_layout_elements', 'wcps_layout_elements_20200516', 99);

Thanks for help.
Best Regards, Jan

0 Subscribers
Submit Answer
Please login to submit answer.
0 Answers
Sort By: