How to post external product type?

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 3 replies, 2 voices, and was last updated 5 years, 2 months ago by Szabi – CodeRevolution.

Viewing 3 reply threads
  • Author
    Posts
    • #445


      nextup555
      Participant
      Post count: 4

      Hi,

      Is it possible to post external product type with the buy button linking to an external page?

    • #449


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      To be honest, I am not sure what you mean by ‘external product type’ – can you explain this, please? Maybe provide also an URL example for this.

      If I understand this correctly, you wish to create a WooCommerce product, with the Buy Now button linking to the original crawled product page?

      If this is correct, you can use the WooCommerce External Product feature, explained in this video:

      https://woocommerce.com/videos/woocommerce-external-affiliate-product-overview/

      However, to make this work also in the plugin, you will have to contact WooCommerce support and ask them how to populate the respective fields automatically, from PHP code.

      Ask them how to set the ‘Product Data’ field to ‘External Product’ and the ‘Product URL’ field to the external URL of the product, from code.

      Regards,

      Szabi – CodeRevolution.

    • #450


      nextup555
      Participant
      Post count: 4

      Thank you for your detailed reply.

      Yes, I know I have to use the external product feature of Woocommerce.

      I thought there would be an easy way to achieve this with the plugin.

      WP Content Crawler plugin makes this really easy: https://www.dropbox.com/s/ujj0tynlcaexkft/2019-09-12_17-43-51.png?dl=0

      With this I can easily use affiliate URL for the product.

    • #453


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Yes, you are right, I need to investigate more on this issue.

      Until then, I found a resource to help on settings the product automatically to external: https://stackoverflow.com/questions/21647733/woocommerce-add-product-with-external-affiliate-type

Viewing 3 reply threads

The topic ‘How to post external product type?’ is closed to new replies.