Commit Graph

12412 Commits

Author SHA1 Message Date
raicem 36a4e5fc3c Marketplace: update no results screen for search 2023-11-22 13:37:37 +00:00
And Finally 3f6fd2c273
My Subscriptions: link product icon and product name to Woo.com product page (#41634) 2023-11-22 13:32:13 +00:00
berislav grgičak bfaceac842
Add Woo button to plugins list (#41633)
* Add Woo tab to the plugins screen

* Remove comment

* Update plugins/woocommerce/src/Internal/Admin/Marketplace.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update name

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-22 14:21:22 +01:00
And Finally 7ec9d60d8a Makes product icon and product name in My Subscriptions list link to Woo.com product page. 2023-11-22 13:05:10 +00:00
And Finally 6e124264be Addressing linter errors. 2023-11-22 13:00:20 +00:00
And Finally c336475d8e Addressing linter errors. 2023-11-22 12:43:49 +00:00
Cem Ünalan 9a7a7e7f9c
Marketplace: Add Tracks events to My Subscriptions page (#41455)
* Marketplace: add Tracks events for the subscription page

Added events for:
- marketplace_product_installed
- marketplace_product_install_failed
- marketplace_renew_button_clicked
- marketplace_subscribe_button_clicked
- marketplace_product_updated
- marketplace_product_update_failed

* Marketplace: update Tracks properties

We used to reference product slug only. But may change and if the store
is rate limited, that information is missing. This commit switches
using "product_zip_slug" and "product_id".

* Marketplace: add product version info to update and install Tracks events
2023-11-22 09:40:18 +03:00
berislav grgičak 4c19b12c68
Add Marketplace readme (#41600)
* Marketplace readme

* Add structure and development

* Linter fix

* linter

* Tweaks to the In-App Marketplace README.

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-22 07:03:37 +01:00
berislav grgičak 6f58b003a5
Marketplace subscriptions mobile fixes (#41597)
* Gradient fixes

* Responsive header
2023-11-21 12:43:06 +01:00
Bero 7a2aaac112 Remove changelogs 2023-11-21 08:35:00 +01:00
berislav grgičak ab400a4128
Unconnected subscription improvements (#41468)
* Don't show a My Subscriptions group if it's empty

* Hide expiry if installed but has no subscription

* Show subscription status labels in a column

* Add changefile(s) from automation for the following project(s): woocommerce

* Show only one badge

* Show installed header if no installed items

* Remove test code

* Show entire installed section

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 08:33:06 +01:00
Kyle Nel 53b8933e7c
Merge Marketplace subscriptions changelogs (#41575)
* Merge changelogs into one
* Update plugins/woocommerce/changelog/feature-marketplace-subscriptions

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-21 09:15:29 +02:00
berislav grgičak 48d7490c2a
Marketplace design improvements (#41505)
* Not connected screen fixes

* Table improvements

* Success notice icon

* Use the same layout of columns for both tables

* Popover

* Add changefile(s) from automation for the following project(s): woocommerce

* CSS lint fixes

* Styling tweaks. Changed font-weight of `.woocommerce-marketplace__product-list-title` to 400, to correspond with the correct weight of the titles like "Installed on this store" in the My Subscriptions section.

* Undo refresh move

* Fix subgrid max widths

* Fic status height

* Update collaborate link

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-21 08:08:26 +01:00
Kyle Nel 5fe2e401f0
Marketplace - tracking enhancements (#41365)
* Add discover products to page view event

* Initial implementation of beacon REST API (WIP)

* Discover page - products viewed

* Product card clicked event (WIP)

This takes data from various sources and sends it based on the different places that product cards could appear.

Data included:
- position
- vendor
- product type
- label - indicates if "promoted" if applicable
- group - the discover page group if applicable
- search_term - the search term if applicable
- category - the product category clicked from

The data is essentially complete. The beacon API needs finalising still though. Also, the vendor name click event will need to be updated with the same data.

* See more button & Category dropdown "more" events

* Marketplace: remove custom Beacon and use "queueRecordEvent"

* Marketplace: reenable product card links

This was disabled temporarily while we tested tracks on click

* Marketplace: Add position to tracks event

Co-authored-by: Kyle Nel <22053773+kdevnel@users.noreply.github.com>

* Marketplace: move Tracks data to a different prop and type

* Marketplace: refactor Tracks calls in product card

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: Cem Ünalan <raicem@users.noreply.github.com>
2023-11-21 09:48:59 +03:00
berislav grgičak b3d24ef7d1
Update refresh button to use API (#41397)
* Add refresh to subscription context

* Add refresh button

* Prevent multiple clicks

* Add changefile(s) from automation for the following project(s): woocommerce

* Fix notices

* Refresh notices

* Trigger Build

* Add spacing and fix class name

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-16 11:51:30 +01:00
berislav grgičak 495475db13
Marketplace connection deny redirect (#41398)
* Redirect connect deny to correct subscriptions page

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-15 11:30:12 +01:00
raicem 2a1e4a8874 Merge branch 'trunk' into feature/marketplace-subscriptions 2023-11-15 10:08:22 +03:00
Kyle Nel f22f2fe3cf
Marketplace - Update empty state for installed subscriptions table (#41267)
* Add empty state for installed subscriptions table

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: mlaetitia <30905719+mlaetitia@users.noreply.github.com>
2023-11-15 09:06:54 +02:00
berislav grgičak d4bcae78f9
Fix snackbar icon position (#41399)
* Fix snackbar icon position

* Add changefile(s) from automation for the following project(s): woocommerce

* Remove absolute positioning

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-15 07:18:40 +01:00
Moon 5d192d5ed6
CYS - Add AI disclaimer copy (#41414)
* Add AI disclaimer

* Add changefile(s) from automation for the following project(s): woocommerce

* Move .ai-disclaime to inside the .woocommerce-customize-store-banner-content p rule

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-11-15 12:39:51 +08:00
nigeljamesstevenson d8dc064f62
Prevent possible activation notice due to early initialization of feature settings (#41434) 2023-11-15 01:29:37 +00:00
Chi-Hsuan Huang 3e1ee8e089
[CYS] Preload fonts in preview frame (#41421)
* Preload fonts in preview iframe

* Add changelog
2023-11-15 09:20:56 +08:00
Chi-Hsuan Huang 1c4f91ebd3
[CYS] Add the possibility to remove the logo (#41393)
* Add the possibility to remove the logo

* Add changelog
2023-11-15 09:20:42 +08:00
Corey McKrill aabee87c67
Update "Add to cart" aria-label value so it matches the visible text pattern (#41389)
Fixes #41368
2023-11-14 13:17:12 -08:00
Matt Sherman 7b2767aa57
Template API: Only generate templates on WCA routes (#41410) 2023-11-14 15:47:20 -05:00
Žiga Sancin 62d21cc03d
Check if $data['billing_email'] is set (#41098)
* Check if $data['billing_email'] is set

Checks if $data['billing_email'] is set in the create_order function. Fixes #41097

* Add changelog entry

Adds the changelog entry for #41097
2023-11-14 19:18:42 +00:00
Jorge Torres 4ab3d82c6b Add changelog 2023-11-14 16:38:18 +00:00
Jorge Torres 2963731d2d Prevent possible activation error in `FeaturesController` 2023-11-14 16:36:39 +00:00
Nathan Silveira 55766ac140
Template API: Conditional disabling support (#41307)
* Add disable conditions functionality to back-end

* Evaluate _templateBlockDisableConditions in registerWooBlockType

* Add 'disabled' support for number, pricing, and text

* Add disabled support for checkbox

* Add disabled for taxonomy block

* Add changelogs

* Update documentation

* Add unit tests

* Augment attribute with disabled in back-end

* Fix disabled styling

* Remove disabled from toggle since it's being added for all blocks

* Improve CSS for disabled fields

* Only add disabled attribute when it's not added on the block json and refactor

* Allow adding disable conditions in the constructor

* Fix lint issue

* Fix test

* Add disableConditions to dependencies
2023-11-14 13:17:34 -03:00
Joni Erkkilä 48978ff8b2 Added ':' between static translation and dyanmic product name 2023-11-14 17:55:13 +02:00
Sagar Tamang 7ec5a88573
[Enhancement]: Added a new parameter $status_transition to the woocommerce_order_status_$status_transition["to"] hook. (#41051)
* Added a new parameter $status_transition to the woocommerce_order_status_$status_transition["to"] hook.

* Added changelog

* fix - phpcs errors

* Added version to the hook
2023-11-14 12:06:30 +00:00
github-actions[bot] 8f819f60ae
Delete changelog files based on PR 41409 (#41428)
Delete changelog files for 41409

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-14 18:30:16 +08:00
jonathansadowski e5cbf82781
Update/wp 6.4 (#41409)
* Update woocommerce.php required WP version for 6.4 release

* Update readme.txt for WP 6.4 release

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-14 18:10:30 +08:00
Eason efd2ae7e0a
Fix the slides overlapping on the Marketing > Coupon page (#41155)
* Fix the slides overlapping on the Marketing > Coupon page.

* Add changelog
2023-11-14 10:23:08 +08:00
Matt Sherman 48f0e14ba4 Changelog 2023-11-13 15:05:03 -05:00
Matt Sherman 4b3ee3c13d Move creation and registration of templates to only WCA admin pages, right before sent to client 2023-11-13 15:03:52 -05:00
Matt Sherman 3dbd06ef1b Remove setting template on productBlockEditorSettings 2023-11-13 14:43:57 -05:00
Maikel David Pérez Gómez fac0669fc8
Hide virtual & downloadable sections when the product type is 'variable' (#41331)
* Show virtual and downloadable features in simple product and variations only

* Add changelog file

* Fix php linter errors
2023-11-13 14:00:24 -05:00
Matt Sherman a8e996a0ff Refactor editor settings to separate function 2023-11-13 13:38:59 -05:00
Matt Sherman 9e292485c3 Refactor and remove unused init code 2023-11-13 13:32:47 -05:00
Mike Jolley 4e31ee605b Changelog 2023-11-13 14:52:51 +00:00
Mike Jolley 795117f711 Bump version in composer.json 2023-11-13 14:51:49 +00:00
nigeljamesstevenson 86a0e26f07
Add filter to remove some of the `order-received` page protections (#41347) 2023-11-13 10:14:34 +00:00
Joni Erkkilä bb9bc8ebee Added changelog 2023-11-12 14:11:46 +02:00
Joni Erkkilä 4e626ec331 Updated add to cart aria-label value so it matches the visible text pattern 2023-11-12 14:01:55 +02:00
Barry Hughes 70154d5476
Reduce risk of accessing a property on a non-object while disabling autosave. 2023-11-10 16:32:41 -08:00
barryhughes 6f5708b396 Changelog. 2023-11-10 15:40:14 -08:00
Corey McKrill 5b9231edce
Fix typographic quotes used in HTML attributes (#41320)
Fixes #41179
2023-11-10 12:21:54 -08:00
Leif Singer be76c3c341
update references to woocommerce.com to now reference woo.com (#41241) 2023-11-10 20:47:58 +01:00
Barry Hughes 8134a9237c
Use consistent sanitization on tax classes (#41220) 2023-11-10 11:40:18 -08:00