Open reginabally opened 3 years ago
Also reported this issue on WCiOS: https://github.com/woocommerce/woocommerce-ios/issues/4609
This issue is a bit tricky and might not be a "good first issue" until we clarify what is the expected behavior.
It seems that we have two different screens in the code (they are very very similar on the UI)
It seems that VariationDetailFragment
was added in https://github.com/woocommerce/woocommerce-android/pull/2514. The PR title says it's "read-only" screen. However, it seems it's not read-only anymore -> I'm able to change product price etc on that screen 🤷 .
@AmandaRiu @0nko do you perhaps remember history and suggest the expected behavior? We could simply add "View product on store" to the VariationDetailFragment => which would redirect the user to the product, not to that specific variation. Wdyt?
@malinajirka Hrm, it's been such a long time since I've been in the WooCommerce space that I really don't remember. I know a lot of our screens were intentionally read only because we were slowly rolling out different features so first was the ability to view and order, then later we'd add the ability to edit an order..etc. So it's likely that's what was going on here.
Describe the bug
It was reported in 4136359-zd-woothemes that since the app version 6.9, the "View product on store" option went missing when accessing the product through the order details screen.
I was able to reproduce this with a variable product.
To Reproduce Steps to reproduce the behavior:
Screen recording
https://user-images.githubusercontent.com/40906847/125565115-1f67aa29-fa9b-4709-a58c-5c64414160ab.mp4
Expected behavior
I would expect to see the "View product on store" option when I access the product details through the orders details screen.
Isolating the problem (mark completed items with an [x]):
Mobile Environment Please include:
WordPress Environment