Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter veneetsayyer11

    (@veneetsayyer11)

    Full page looks like this- https://nimb.ws/0Id3Zu

    Hi, veneetsayyer11, I’m another WooCommerce user.

    If you feel comfortable enough with PHP, you could override the template for woocommerce/templates/order/order-details.php through your theme.

    See https://docs.woocommerce.com/document/template-structure/ for additional information about templating.

    By overriding the template, you could display a message if the product is no longer available in your store.

    You could modify the code to include a check as to whether the product in the order exists, using this StackOverflow topic answer as inspiration: https://stackoverflow.com/a/55910156/4372244

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    The error that you are seeing seems to be coming from your theme and not from WooCommerce core itself. As mentioned by @plantprogrammer, this would require quite a bit of additional coding. Please kindly note that this requires some custom coding – which goes beyond the scope of support we are able to provide in this forum.

    I’d recommend you to reach out to your theme provider as they are better equipped to help you out.

    If you do require more help with the actual coding, we’d recommend you hire a developer who can take a look at this, quote you for their services and help you add this feature to your site. We’d recommend getting in touch with a web developer or one of the customization experts listed at https://woocommerce.com/customizations/.

    Cheers.

    Mirko P.

    (@rainfallnixfig)

    Hi @veneetsayyer11,

    It’s been a while since we last heard from you. I’m going to mark this thread as resolved.

    Hopefully, the above information helped you out! If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘critical error on view-order page’ is closed to new replies.