Permalink
Switch branches/tags
add/skip-activate-if-connected-to-jetpack
add/twentyseventeen-support
add/19748-filter-orders-between-dates
cart-session-class
concept/edit-product-ui
discount-calculation
feature-13189
feature/api-keys-crud
feature/custom-shipping-calc-data
feature/display-menu
feature/import-merges
feature/product-category-select
feature/product-custom-tables-supporting-changes
feature/products-block
fix-12955
fix-13671
fix-13677
fix-15563
fix-helper-multilicense
fix/add-payment-method.js-formatting
fix/checkout-box
fix/issue-20044
fix/jetpack-activation-setup-wizard
fix/jetpack-tos-acceptance
fix/long-table-names
fix/meta-notice
fix/missing-drag-handles
fix/no-js-login-checkout
fix/theme-compat
fix/wizard-class
fix/14317
fix/14985
fix/15274
fix/15617
fix/16496-extension-permissions
fix/17047
fix/17582
fix/17969
fix/17970
fix/18023
fix/18736-show-product-id
fix/18995
fix/19036-order-date
fix/19429
fix/19717
fix/19765-missing-coupon-box-checkout
fix/19815-hook-sniffer-excluding-some-dynamic-hooks
fix/19889
fix/19959
fix/19997
fix/20039
fix/20042
fix/20044
fix/20051
fix/20057
fix/20058
fix/20070
fix/20081
gh-pages
hyperlinks-mention-of-woocommerce-in-email-footer
improve/cart-tests
master
payment-request-api
product-data-store
products-block-specific-select
release/3.2
release/3.3
release/3.4
revert-17396-fix/17379
tests/coupon-rounding-issue
try/core-personal-data-exporter
try/hosted-nux
try/new-wizard-shipping-page
tweak/associative-array-gdpr-registration
tweak/coupon-hide-logic
tweak/rounding-precision-totals
ui/gallery-markup
update-chromedriver
update/abstract-privacy-class
update/conditional-functions-phpcs
update/data-store-meta-input
update/extras-obw-tab
update/gdpr-checkout
update/order-functions-phpcs
update/setup-wizard-activate-step-when-jetpack-connected
update/setup-wizard-paypal-currency-check
update/setup-wizard-smart-defaults-with-jetpack-backup
update/use-post-author-for-customer-id
update/wc-tracker-data
update/widget-functions-phpcs
update/woo-services-presentation
update/13624
update/15780-locking-mechinism
update/17555
update/19176
update/19745
update/19961
update/19983
wip/shopify-mappings
Nothing to show
v2.2.3
v2.2.2
v2.2.1
v2.2.0-RC1
v2.2-beta-3
v2.2-beta-2
v2.2-beta-1
v2.1.12
v2.1.11
v2.1.10
v2.1.9
v2.1.8
v2.1.7
v2.1.6
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.1.0-beta-3
v2.1.0-beta-2
v2.1.0-beta-1
v2.1.0-RC2
v2.1.0-RC1
v2.0.20
v2.0.19
v2.0.18
v2.0.17
v2.0.16
v2.0.15
v2.0.14
v2.0.13
v2.0.12
v2.0.11
v2.0.10
v2.0.9
v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-beta3
v2.0.0-beta2
v2.0.0-beta1
v2.0.0-RC3
v2.0.0-RC2
v2.0.0-RC1
v2.0-beta-0
v1.6.6
v1.6.5.2
v1.6.5.1
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.6-beta-1
v1.5.8
v1.5.7.1
v1.5.7
v1.5.6
v1.5.5
v1.5.4
v1.5.3
v1.5.2.1
v1.5.2
v1.5.1
v1.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4
v1.3.2
v1.3.1
v1.3
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2
v1.1.3
v1.1.2
v1.1.1
v1.1
v1.0.3
v1.0.2
v1.0.1
v1.0
3.4.0-rc.1
3.4.0-beta.2
3.4.0-beta.1
3.3.5
3.3.4
Nothing to show
Find file
Copy path
Fetching contributors…
Cannot retrieve contributors at this time
<?php | |
/** | |
* Empty cart page | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/cart/cart-empty.php. | |
* | |
* HOWEVER, on occasion WooCommerce will need to update template files and you | |
* (the theme developer) will need to copy the new files to your theme to | |
* maintain compatibility. We try to do this as little as possible, but it does | |
* happen. When this occurs the version of the template file will be bumped and | |
* the readme will list any important changes. | |
* | |
* @see https://docs.woocommerce.com/document/template-structure/ | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 3.1.0 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly | |
} | |
wc_print_notices(); | |
/** | |
* @hooked wc_empty_cart_message - 10 | |
*/ | |
do_action( 'woocommerce_cart_is_empty' ); | |
if ( wc_get_page_id( 'shop' ) > 0 ) : ?> | |
<p class="return-to-shop"> | |
<a class="button wc-backward" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>"> | |
<?php _e( 'Return to shop', 'woocommerce' ) ?> | |
</a> | |
</p> | |
<?php endif; ?> |
Copy lines Copy permalink - View git blame
- Open new issue
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.