Hello,
I am using the following shortcode included in royal theme:
[etheme_products order=”rand” product_img_hover=”slider” desktop=”5″ notebook=”4″ tablet=”3″ phones=”2″ categories=”90″]
This shortcode shows the resulting products in owl carousel.
I am using this shortcode on single product pages and my goal is to exclude the current product from the results like its done with related products. I think that I will have to edit theme-functions.php with something like 'post__not_in' => array($postId) but I dont know exactely where to put this code snippet. I guess its somewhere around line 2610 but I dont get it to work.
Any help would be really appreciated!
Many thanks in advance and best wishes!