Commit Graph

85 Commits

Author SHA1 Message Date
raicem eb3ba820da Use "wp_safe_remote_get" for sending search requests 2021-01-13 23:53:53 +03:00
raicem f0166fcc56 Fix indentation errors as per WordPress code style guides 2021-01-07 15:14:38 +03:00
raicem 7b67977a31 Reduce "wc_addons_featured" transient cache duration
The featured extension list was static but now it's fetched from
WooCommerce.com and may change more frequently. Reducing the
cache duration to allow users to see changes much more quickly.
2021-01-05 17:45:34 +03:00
raicem c70eee2a0a Send auth token when sending search and featured extension requests 2021-01-05 17:40:58 +03:00
raicem c628c15ac6 Update featured products endpoint
WooCommerce.com will provide this list of products.
2021-01-05 12:43:17 +03:00
Gerhard Potgieter 6832dc96a4 Make wc shipping button also purple 2020-11-10 19:43:11 +02:00
Gerhard Potgieter 3c1352d36c Remember to break 2020-11-10 19:36:34 +02:00
Gerhard Potgieter caf2ea99fa Shorten title as per feedback 2020-11-10 19:26:44 +02:00
Gerhard Potgieter a0812d5009 Remove redirect as it does not work with the background installer 2020-11-10 18:28:47 +02:00
Gerhard Potgieter b5fb7c0104 Add purple woo button 2020-11-10 18:26:59 +02:00
Gerhard Potgieter b5a4a1597f Fix current section check, phpcs linting errors. 2020-11-10 16:48:11 +02:00
Gerhard Potgieter 692dfa7fec Update banner copy 2020-11-09 15:21:38 +02:00
Gerhard Potgieter 8af8554770 Add functionality to handle woocommerce payments install 2020-11-09 14:48:49 +02:00
Gerhard Potgieter 7d33488d6b WooCommerce Services to WooCommerce Shipping 2020-11-09 14:22:20 +02:00
Gerhard Potgieter b1d9363918 Add wc payments to extensions addons page. 2020-11-09 14:19:11 +02:00
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Jason 8ae5b4d5a6
Update class-wc-admin-addons.php
Fix variable name typo. `$parameters`
2020-05-07 16:19:31 -07:00
Christopher Allford 1d1413b4ee Replaced direct access of many constants with the Constants library 2020-01-31 22:18:47 -08:00
Rodrigo Primo 62d6b05b58 Fix Generic.Formatting.MultipleStatementAlignment violations
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Denis Dvali 0810c4a027 Url encode value of "wccom-back" GET param in product links on in-app marketplace. 2019-11-22 15:02:58 +03:00
Claudio Sanches d13d6543f7
Merge pull request #24451 from woocommerce/add/in-app-connect
Add support to allow connect and install for in-app purchase flow.
2019-09-03 21:33:39 -03:00
Yash Kapoor 84d2fb7df5
Update class-wc-admin-addons.php
Fixed escaping function for attribute value.
2019-08-28 19:31:58 +05:30
Akeda Bagus 62b42893b2
Rename URL param from wccom-helper-nonce to wccom-connect-nonce. 2019-08-17 22:37:02 +07:00
Akeda Bagus aae802f319
Add support to allow in-app purchase installation after connected. 2019-08-17 00:36:28 +07:00
haszari 8c5eb16c78 shorten in-app-purchase url param keys 2019-07-16 08:30:19 +12:00
haszari dab7cb328a use add_query_arg to determine current page url 2019-07-15 18:07:57 +12:00
haszari f97fa34c01 rename button style param/variable for clarity 2019-07-15 08:50:08 +12:00
haszari 8c6a09e7e4 pass current wp-admin path to WCCOM as url param (for "back" link) 2019-07-12 14:50:14 +12:00
haszari 46f2b98bca add in-app-purchase url params to marketplace suggestions buttons 2019-07-12 13:42:35 +12:00
haszari 9652d8f42c add in-app-purchase url params to addons screen cards (in category tabs) 2019-07-12 13:42:35 +12:00
haszari b597ff067a add in-app-purchase url params to addons screen button 2019-07-12 13:42:33 +12:00
haszari 6f29905ece fix phpcs errors (4 phpcbf, 40 manual) 2019-07-12 13:42:33 +12:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Jonathan Belcher f4d6b6f68f Merge Commit 2017-12-07 12:10:00 -05:00
Jonathan Belcher 9695bc4183 Small code review changes 2017-12-07 11:47:33 -05:00
Jonathan Belcher bbaabb5b80 Remove unused function 2017-12-06 12:03:50 -05:00
Jonathan Belcher b5c1025621 Fixes from code review 2017-12-06 12:02:09 -05:00
Jonathan Belcher f05ed543fa Fix css and add search query header 2017-12-05 11:15:09 -05:00
Jonathan Belcher 66dbcdead6 Update for API changes 2017-12-05 10:06:58 -05:00
Jonathan Belcher 7296f69e54 Fix comments to follow standard 2017-11-29 13:03:22 -05:00
Jonathan Belcher 3d86535c6d Adds geo and install plugin control to extensions featured page 2017-11-29 12:41:08 -05:00
Jonathan Belcher 01ed1bea76 Remove testing code 2017-11-29 10:25:34 -05:00
Jonathan Belcher a549133a2e [WIP] Adds search functionality to extensions page 2017-11-27 16:11:55 -05:00
Mike Jolley 2beddc59a7 docblocks 2017-08-23 14:38:00 +01:00
Valerie K 66259ebff1 Update WooCommerce Services copy (#15598)
* Remove excess explanation from wizard shipping step

* Remove distracting link from shipping wizard page

* Update copy on extensions WCS banner

* Update copy on WCS extensions banner for Canada

* Fix extensions WCS banner when read from json

* Add Canada copy on wizard shipping step

* Use strict array comparison in WCS shipping tout

* Add service logos to WCS extension banner

* Use strict array comparison in WCS banner

* Remove related extensions when showing WCS banner

- when store is based in Canada remove Canada Post
extension from shipping page
- when store is based in US remove USPS
extension from shipping page

* Add image alt for logos on WCS banners

* Update WCS banner and wizard content
2017-06-14 11:24:45 +01:00
Valerie 70570f3745 Update WCS banner style 2017-06-05 11:30:42 -04:00
Valerie baf405fdcf Update WCS banner image 2017-06-05 11:28:37 -04:00
Valerie 8939dfc1a5 Update WCS banner text 2017-06-05 11:28:37 -04:00
Jeff Stieler c212725053 Use WC_Install class to install/activate WooCommerce services from the Extensions page. 2017-05-31 09:27:19 -06:00
Jeff Stieler d8e508842d Allow all aspects of the WCS banner block to be overwritten by JSON data. 2017-05-31 09:27:18 -06:00