Hello,
Thanks for the feedback but I’m not sure that understand well.
All my products are translated ( and connected ).
When I use smart bundle, I choose for each languages, the translated product. When you try this :
https://montvel.com/product/pack-decouverte/. you can see the french products
and here : https://montvel.com/de/product/entdeckungspaket/. the german products.
everything is connected, but when you add, for example, the bundle product in french and change language, go to the minicart, and you will juste see dicount price, so I can buy a product for free..
I tried to use a default theme, it doesn’t work.
Have you check that ?
Thanks
Thanks for your reply.
It works, but as I do a query in ajax so is_admin() return true ..
I added a test for checking if I use admin-ajax.php :
function detecting_is_front_ajax()
{
$test_url = basename($_SERVER['REQUEST_URI']);
return str_contains($test_url, 'admin-ajax.php');
}