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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a generic function for determining if URL is a store page so that we can keep store pages in “Coming Soon” mode while keeping the rest of the site live.
Accept criteria
function should return true if URL is a store page, return false, otherwise
Store pages are defined as:
Shop Page
Cart Page
Checkout Page
My Account Page
Terms and Conditions Page
Privacy Policy Page
(the above page IDs can be determined from WooCommerce Settings)
Additionally, the following autogenerated pages should be included:
Product Categories (taxonomy=product_cat)
Product Tags (taxonomy=product_tag)
The text was updated successfully, but these errors were encountered:
chihsuan
changed the title
Add generic function to determine if URL is a store page
[Launch Your Store] Add generic function to determine if URL is a store page
Feb 26, 2024
Issue description
Add a generic function for determining if URL is a store page so that we can keep store pages in “Coming Soon” mode while keeping the rest of the site live.
Accept criteria
Store pages are defined as:
(the above page IDs can be determined from WooCommerce Settings)
Additionally, the following autogenerated pages should be included:
The text was updated successfully, but these errors were encountered: