• Resolved amatuer33

    (@amatuer33)


    Thanks for your great work on this plugin. I am having a similar issue with the external product on woocommerce as a previous support request. I suspect its due to an adjustment the theme makes to the class selector.

    Here is what I have as part of my external/affiliate URL button in woocommerce. I am unable to get the pop up to fire on the actual product pages. However, it works on the category pages.

    Here is the code on the button on the product pages that fails to show the pop up:

    <form class="cart" action="https://www.aberdeenhomerepair.com/store/quick_location.php?id1=1758&qty1=1&loc=https://www.aberdeenhomerepair.com/store/?tid=3" method="get">
    	
    	<button type="submit" class="single_add_to_cart_button button alt">Order Now</button>
    
    	<input type="hidden" name="id1" value="1758"><input type="hidden" name="qty1" value="1"><input type="hidden" name="loc" value="https://www.aberdeenhomerepair.com/store/?tid=3">
    	</form>

    Here is what I have for the code on the button on the category pages which works correctly:
    <a href="https://www.aberdeenhomerepair.com/store/quick_location.php?id1=1758&qty1=1&loc=https://www.aberdeenhomerepair.com/store/?tid=3" rel="nofollow">Order Now</a>

    It seems I may need to add something to the Jquery selector settings for this. I currently have this in that setting: a[href*=”.aberdeenhomerepair.com”] to only fire on a specific URL.

    Can you offer any guidance?

    • This topic was modified 5 years, 7 months ago by amatuer33.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    The issue with this is that my plugin is designed to work with <a> links. WooCommerce changes from a simple <a> link to a form for the product pages. The current version of my plugin attempts to address this, but it’s far from perfect at it. It’s a whole different context, even though it seems the same on the surface.

    Are you using the most recent version? I tried to check, but it looks like my plugin is currently disabled. If you’re using the version from the WP Plugins site right now, that’s the best I’ve got for the moment. I’ll message here again when I’ve had a chance to explore this further and update my plugin again.

    Until then, I’m afraid that if the current version isn’t working for your site, then my plugin may not be the right answer for your site right now.

    If you want to re-enable the plugin temporarily on your site, I’d be glad to take a look and see if there is anything I can help with in your specific context.

    • This reply was modified 5 years, 7 months ago by Curtis V. Schleich. Reason: The in the text was linkifying the entire comment
    Thread Starter amatuer33

    (@amatuer33)

    Thanks Curtis. I am currently running the plugin on a staging site to test before pushing it live. If that functionality isn’t there, that is ok. I just wanted to make sure I was not missing something. I look forward to giving it another look in the future when you have time to tweak the plugin. Thanks for the time you donate to the development of this kind of stuff!

    • This reply was modified 5 years, 7 months ago by amatuer33.
    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Makes sense. I’ll reply here once I’ve made the next update. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce External/Affliate Products’ is closed to new replies.