• Resolved morphy01

    (@morphy01)


    Hi guys

    Thanks for the PlugIn.

    Unfortunately, I have the following problem:

    I would like to give my customers the possibility to search and register or transfer a domain. For this I use WooCommerce with the plugin WooCommerce Subscriptions, so that they can set up periodic subscriptions such as the annual fees for the domain. I have now set up Domain Registration and Domain Transfer under Products as variable I have made an entry for each TLD with the annual price. In your plugin, under the WooCommerce tab, I have linked to Purchase Product and Transfer Product on the respective product. Now, when I search for a domain and then click register, I am automatically redirected to the shopping cart, however, the shopping cart is empty.

    What am I doing wrong?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author WP24

    (@wp24dotorg)

    This is caused by the variation (“Domainendung”) of your product. The add to cart link is only generated with the product (/cart/?add-to-cart=PRODUCT_ID&domain=DOMAIN), but the variation has to be added (/cart/?add-to-cart=PRODUCT_ID&domain=DOMAIN&variation_id=VARIATION_ID).

    Do you really need the TLD as a variation?

    Thread Starter morphy01

    (@morphy01)

    Yes I need that, because I have different prices for the different TLDs. Or would you have another solution?

    Plugin Author WP24

    (@wp24dotorg)

    You could set up a product for each TLD, but that would lead to many products in your shop.

    An other solution could be to use the Prices & Links instead of WooCommerce. You would just need to find out the IDs of your products an variations. For example the purchase link for a .ch TLD should be:

    https://www.simplaydigital.com/cart/?add-to-cart=9404&domain=[domain].[tld]&variation_id=9413
    • This reply was modified 1 year, 8 months ago by WP24.
    Thread Starter morphy01

    (@morphy01)

    Thank you for your answer.

    Yes that’s right, there would be many products, that’s why I work with variations, which will also give many variations there. I do not work with all TLDs but only a few. If someone needs a TLD which I don’t have in the catalog, he can ask for it separately.
    Your solution what you have given, will this work even if I have other products? The customer should be able to search and register a domain and additionally a hosting package which I also have in the offer.

    Plugin Author WP24

    (@wp24dotorg)

    Using Prices & Links does not really differ from the WooCommerce integration, both result in an add to cart link. You only need to find out the corresponding IDs for defining the links.

    Thread Starter morphy01

    (@morphy01)

    Thank you very much for your help.

    Now, as you described on the top, if I change the link to “(/cart/?add-to-cart=PRODUCT_ID&domain=DOMAIN&variation_id=VARIATION_ID)”, where do I need to do it or in which file I need to modify it?

    Plugin Author WP24

    (@wp24dotorg)

    You need to disable the WooCommerce integration and enable the purchase/transfer prices and links in the corresponding tab.

    At the bottom you enter the prices and links for the individual TLDs. For each TLD you have to replace “PRODUCT_ID” and “VARIATION_ID” by the proper number (help).

    Thread Starter morphy01

    (@morphy01)

    Great, it works. But unfortunately I don’t see in the shopping cart which domain the customer orders. Only the extension TLD

    In additional I have folowing question: for the transfer, I need the transfer code and would like to give the customer the option to enter this when ordering. Do you have any idea how I could do this?

    • This reply was modified 1 year, 8 months ago by morphy01.
    • This reply was modified 1 year, 8 months ago by morphy01.
    Plugin Author WP24

    (@wp24dotorg)

    I have released an update for the plugin. In the advanced settings you can now enable “WooCommerce hooks”. After that the domain name should be added again.

    For the transfer code I would recommend to try some plugins with custom checkout fields for WooCommerce. Maybe you could provide an input field for the code then.

    Thread Starter morphy01

    (@morphy01)

    It works now. You are the best. Regarding the transfer code, I will use plugings. Thanks again for your help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Domain Check WooCommerce integration’ is closed to new replies.