• Hey,

    So I am following the tutorial from WooCommerce: https://developer.woocommerce.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/.

    Now I want to simply add a block into my checkout, which if a WooCommerce Subscription Product is purchased, it also asks for a few extra information fields, such as prefered language, and other fields.

    When I followed the tutorial (Got the newest NPM version installed, got a local hosted WordPress Website setup). Now when I run their first command to install the template plugin: npx @wordpress/create-block -t wceu23-shipping-workshop shipping-workshop. It starts downloading the template, installing packages etc all fine. (If I install block without using the -t wceu23-shipping-workshop it works fine). I get an error on the end when it compiles the block: https://pastebin.com/C0e3J7QA.

    Anyone that can help solving this issue? Since its failing on building the template :3 If there is another way todo it or a tutorial to be followed or documentation for it. All is welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @sadavinci ??

    Helping out with custom coding of this nature is outside the scope of support that our support staff can help out with here, although I would recommend the following:

    • Running the exact question you’re asking, along with the code provided, through an AI platform like ChatGPT for recommendations/changes to your code;
    • Joining our WooCommerce Slack community (it does have a developer channel where you can ask coding questions):?https://woo.com/community-slack/

    Hope it helps!

    Thread Starter sadavinci

    (@sadavinci)

    Hey, sadly ChatGPT cant resolve the issue to why the template isnt working.
    Sad that you guys dont provide support on your own developer resource tutorials, where a given template has become unusable it seems.

    However thanks for the suggestion of joining the Slack Community. Ill give it a shot!

    • This reply was modified 4 months, 1 week ago by sadavinci.

    Hey, @sadavinci!

    The members of the Slack community are very helpful, I’m sure they will be happy to help you ??

    I hope you find the solution soon.

    I’ll close this thread now, okay?

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.