Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
-wir wollen, im Shop (Woocommerce) bei der Produkteingabe mit Affiliate Programm im “kaufen”-Button der Link ein Neues Fenster öffnet. Wie lässt sich das einstellen? (damit sich der Kunde nicht auf der fremden Shopseite verliert)
-we want, in Shop (WooCommerce) “Buy” at the input product with an affiliate program in the Link button opens a new window. How can this be set? (so that the customer does not lose at the strange Store page)
Hey Luxususer!
Can you please post temporary admin logins or post direct link to your page so we can see the content? :)
Cheers!
Yigit
Hi!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_target(){
?>
<script>
jQuery(window).load(function(){
jQuery('.single .cart a').attr('target','_blank');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_target');
Best regards,
Yigit