Codeinwp / neve

A fast, lightweight, AMP ready WordPress theme built with speed and usability in mind.
https://themeisle.com/themes/neve/
GNU General Public License v2.0
263 stars 84 forks source link

WooCommerce File Upload incompatibility #4234

Closed AndreeaCristinaRadacina closed 4 months ago

AndreeaCristinaRadacina commented 7 months ago

Description

A user reported that when using Neve, the uploaded files are not visible in the order.

ref: https://secure.helpscout.net/conversation/2577119064/416412?viewId=212385

Step-by-step reproduction instructions

  1. Go to the Shop page > Personalized Mug
  2. Upload a file
  3. Fill in the details and place the order
  4. Go to Orders and check the product

Screenshots, screen recording, code snippet or Help Scout ticket

with Neve:

image

with Twenty Twenty-Three

image

Environment info

No response

Is the issue you are reporting a regression

No

Soare-Robert-Daniel commented 7 months ago

On a close inspection of the website, it seems that products are rendered on the page:

Image

I was looking through the Neve codebase, and we do not have things to limit the hooks.

Maybe the plugin has a problem, and the file might not be registered/uploaded.

AndreeaCristinaRadacina commented 7 months ago

@Soare-Robert-Daniel, the order you shared was made while the other theme was active.

Wheen you have Neve active and place an order, the file will not appear. Here is an order made when Neve was active:

image

You can also test this by placing an order with Neve active and another theme active.

zibzabzob commented 6 months ago

Hi, just wondering if this is still being looked at. Need it working ASAP

Soare-Robert-Daniel commented 6 months ago

After some intensive testing, the problem was using WooCommerce blocks for the checkout page, which does not work with Neve.

The normal WordPress theme is working because WooCommerce made the compatibility with their new approach.

Image

@AndreeaCristinaRadacina, the solution will be telling users to convert the checkout page back to the shortcode (if they do not care too much about Blocks). There is an option in the block for this (or manual introduction of the shortcode):

Image

@zibzabzob I recommend the same actions.

Soare-Robert-Daniel commented 6 months ago

I was testing with other classic themes: Kadence & OceanWP. They have the same problem as Neve.

Also found this thread: https://wordpress.org/support/topic/forced-checkout-blocks/

The block system from Woo is not an easy swap from the classical one. Since they made blocks as default, it seems that FSE themes are the way to go from now.

AndreeaCristinaRadacina commented 6 months ago

@Soare-Robert-Daniel, thank you for sharing! I let the user know, too.

Soare-Robert-Daniel commented 5 months ago

So, I also tested with Astra and Kubio, and the results were the same.