Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.January 17, 2018 at 3:57 am in reply to: Product Add to Cart Button (hover over button) – External Link #16206
It seems that the themes external button is not allowing the external link opening plugin to change the button ?
January 17, 2018 at 2:30 am in reply to: Product Add to Cart Button (hover over button) – External Link #16204This reply has been marked as private.January 17, 2018 at 2:29 am in reply to: Product Add to Cart Button (hover over button) – External Link #16203This reply has been marked as private.January 16, 2018 at 1:45 am in reply to: Product Add to Cart Button (hover over button) – External Link #16156Hi,
So i removed this codes and file and it seems to work again now. I am still trying to get the title to open in external URL link when clicked, the image I can stop going through by adding a simple…
.products .product-type-external .db {pointer-events: none;}
But I need to have the titles open for external links for external products..
thank you
January 15, 2018 at 8:31 am in reply to: Product Add to Cart Button (hover over button) – External Link #16112Hi,
1. Please add code i suggested in functions.php in claue-child to click on title open on new tab
Is this possible to adapt this code to just do this on external products product-type-external?
2. Please download file and put claue > core > libraries > vendors > WooCommerce to click on image open in new tab
This does not seem to be working? Is this possible to also adapt this code to just do this on external products product-type-external?
3. the plugin i suggest when click on add to cart button open on new tab
This does work fine, but hopefully If I can get images and titles of product-type-external to open in new tab with EXTERNAL URL then this will be great.
4. It canโt the only way to hide search function in Theme Option > Header.
Ok, but this is not the issue here. The issue here is after i made the changes you made it no longer on the product page opens the add to card as an external URL, instead it tries to add to cart like a normal product, so the buttom seems to work only now in the archeive hover over button but now not on the product page. This is wrong af the products are registered as external products and the plugin is active and the external url works elsewhere for the products..?
Best regards
January 14, 2018 at 2:47 am in reply to: Product Add to Cart Button (hover over button) – External Link #16066Also one other issue I have noticed after implementing this, is when the actual external button on the product page is clicked it opens the cart instead of opening in a new tab as well now ??
I think we are nearly there, so thank you so much, but I will just summarise things to make it easier to help you help me finish this… ๐ As the code you sent nearly does this, but this is what I am after…
1) External products on the shop (only external products)
- All titles when clicked open the external url in a new tab
- All images when clicked open the external url in a new tab
- Add to cart button when clicks open the external url in a new tab
2) Product Pages (only external products)
- If user searches they can find product and when they click on button it opens the external url in a new tab
January 14, 2018 at 12:32 am in reply to: Product Add to Cart Button (hover over button) – External Link #16065It also seems to get the title link, but not the link in the image to open in external url link ?
January 14, 2018 at 12:24 am in reply to: Product Add to Cart Button (hover over button) – External Link #16064So this code and file you added seems to open in a new tab, and thats great. Thank you very much. However, if this could bypass the product page and when user clicks on the title (for external product) for it to open the external url in a new tab without going to product page this would be great.
Also as mentioned above,ย For this attached file, could I not bring this folder to the child theme to not lose it when updating theme ? Is this possible ?
Many thanks ๐
January 14, 2018 at 12:10 am in reply to: Product Add to Cart Button (hover over button) – External Link #16063Thank you very much.
For this attached file, could I not bring this folder to the child theme to not lose it when updating theme ? Is this possible ?
-
AuthorPosts