no pages besides main shop page are displayed
-
The point is that my cart page and the other pages in woocommerce (excluding main shop page) are not using the default woocommerce templates. they use page.php. if I delete page.php, they use index.php. I get the order of the pages in wordpress but what I don’t understand is why are these pages not using the right templates. If there is further information that might be helpful, please tell me, I am new to wordpress. Thanks a lot!
-
This topic was modified 6 years ago by
rares1.
The page I need help with: [log in to see the link]
-
This topic was modified 6 years ago by
-
Hi there,
Thanks for reaching out!
The point is that my cart page and the other pages in woocommerce (excluding main shop page) are not using the default woocommerce templates. they use page.php. if I delete page.php, they use index.php. I get the order of the pages in wordpress but what I don’t understand is why are these pages not using the right templates. If there is further information that might be helpful, please tell me, I am new to wordpress.
This sounds interesting! Were any code modifications made to the site?
I’d recommend checking whether the default WooCommerce pages are created and set in WooCommerce >> Settings >> Advanced and whether the Cart and Checkout pages include the necessary shortcodes.
If that doesn’t help – please head to WooCommerce >> Status in wp-admin, copy the System Status Report and paste it here.
Thank you!
Thanks a lot for the reply!
I checked whether my pages are set and whether their shortcodes are correct and they are.
I’ve already tried to solve the problem before asking but didn’t find the answer. Here is my status report:### WordPress Environment ### Home URL: https://rares.wecode.ro Site URL: https://rares.wecode.ro WC Version: 3.5.5 Log Directory Writable: ? WP Version: 5.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: nginx/1.10.3 PHP Version: 7.0.33-0+deb9u1 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.37-MariaDB-0+deb9u1 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.5.5 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Total Database Size: 4.92MB Database Data Size: 4.09MB Database Index Size: 0.83MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB wp_commentmeta: Data: 0.00MB + Index: 0.00MB wp_comments: Data: 0.00MB + Index: 0.00MB wp_ewwwio_images: Data: 0.05MB + Index: 0.03MB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB wp_links: Data: 0.00MB + Index: 0.00MB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB wp_nextend2_section_storage: Data: 0.06MB + Index: 0.03MB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB wp_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.00MB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.00MB wp_nextend2_smartslider3_slides: Data: 0.08MB + Index: 0.00MB wp_options: Data: 3.14MB + Index: 0.13MB wp_postmeta: Data: 0.16MB + Index: 0.09MB wp_posts: Data: 0.08MB + Index: 0.04MB wp_queue: Data: 0.02MB + Index: 0.00MB wp_termmeta: Data: 0.00MB + Index: 0.01MB wp_terms: Data: 0.00MB + Index: 0.01MB wp_term_relationships: Data: 0.00MB + Index: 0.01MB wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB wp_usermeta: Data: 0.01MB + Index: 0.01MB wp_users: Data: 0.00MB + Index: 0.01MB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB ### Post Type Counts ### attachment: 34 customize_changeset: 17 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 nav_menu_item: 11 page: 11 post: 8 product: 19 product_variation: 7 revision: 39 sp_calendar: 1 sp_column: 11 sp_event: 2 sp_list: 1 sp_metric: 2 sp_outcome: 2 sp_performance: 18 sp_player: 7 sp_result: 6 sp_spec: 1 sp_staff: 2 sp_statistic: 11 sp_table: 2 sp_team: 4 wpcm_club: 4 wpcm_staff: 1 ### Security ### Secure connection (HTTPS): ? Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ?Error messages should not be shown to visitors. ### Active Plugins (12) ### Health Check & Troubleshooting: by The www.ads-software.com community – 1.2.5 Jetpack by WordPress.com: by Automattic – 7.0.1 Mailchimp for WooCommerce: by Mailchimp – 2.1.13 – Not tested with the active version of WooCommerce Menu Icons: by ThemeIsle – 0.11.4 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.0 Server IP & Memory Usage Display: by Apasionados Apasionados del Marketing – 2.1.0 SportsPress for Basketball: by ThemeBoy – 0.9.1 SportsPress: by ThemeBoy – 2.6.14 WooCommerce Blocks: by Automattic – 1.4.0 WooCommerce Services: by Automattic – 1.19.0 WooCommerce: by Automattic – 3.5.5 WP Responsive Recent Post Slider: by WP OnlineSupport – 2.0.2 ### Settings ### API Enabled: – Force SSL: – Currency: RON (lei) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #231 - /shop/ Cart: #346 - /cos/ Checkout: #348 - /check-out/ My account: #234 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Wildcats Version: 0.0.1 Author URL: Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: wildcats/woocommerce/archive-product.php wildcats/woocommerce/loop/result-count.php
-
This reply was modified 6 years ago by
rares1.
Thanks a lot for the reply! I checked the shortcodes and the pages an they are fine. (I’ve tried to solve this myself before asking.)
### WordPress Environment ### Home URL: https://rares.wecode.ro Site URL: https://rares.wecode.ro WC Version: 3.5.5 Log Directory Writable: ? WP Version: 5.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: nginx/1.10.3 PHP Version: 7.0.33-0+deb9u1 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.37-MariaDB-0+deb9u1 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.5.5 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Total Database Size: 4.92MB Database Data Size: 4.09MB Database Index Size: 0.83MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB wp_commentmeta: Data: 0.00MB + Index: 0.00MB wp_comments: Data: 0.00MB + Index: 0.00MB wp_ewwwio_images: Data: 0.05MB + Index: 0.03MB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB wp_links: Data: 0.00MB + Index: 0.00MB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB wp_nextend2_section_storage: Data: 0.06MB + Index: 0.03MB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB wp_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.00MB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.00MB wp_nextend2_smartslider3_slides: Data: 0.08MB + Index: 0.00MB wp_options: Data: 3.14MB + Index: 0.13MB wp_postmeta: Data: 0.16MB + Index: 0.09MB wp_posts: Data: 0.08MB + Index: 0.04MB wp_queue: Data: 0.02MB + Index: 0.00MB wp_termmeta: Data: 0.00MB + Index: 0.01MB wp_terms: Data: 0.00MB + Index: 0.01MB wp_term_relationships: Data: 0.00MB + Index: 0.01MB wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB wp_usermeta: Data: 0.01MB + Index: 0.01MB wp_users: Data: 0.00MB + Index: 0.01MB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB ### Post Type Counts ### attachment: 34 customize_changeset: 17 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 nav_menu_item: 11 page: 11 post: 8 product: 19 product_variation: 7 revision: 39 sp_calendar: 1 sp_column: 11 sp_event: 2 sp_list: 1 sp_metric: 2 sp_outcome: 2 sp_performance: 18 sp_player: 7 sp_result: 6 sp_spec: 1 sp_staff: 2 sp_statistic: 11 sp_table: 2 sp_team: 4 wpcm_club: 4 wpcm_staff: 1 ### Security ### Secure connection (HTTPS): ? Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ?Error messages should not be shown to visitors. ### Active Plugins (12) ### Health Check & Troubleshooting: by The www.ads-software.com community – 1.2.5 Jetpack by WordPress.com: by Automattic – 7.0.1 Mailchimp for WooCommerce: by Mailchimp – 2.1.13 – Not tested with the active version of WooCommerce Menu Icons: by ThemeIsle – 0.11.4 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.0 Server IP & Memory Usage Display: by Apasionados Apasionados del Marketing – 2.1.0 SportsPress for Basketball: by ThemeBoy – 0.9.1 SportsPress: by ThemeBoy – 2.6.14 WooCommerce Blocks: by Automattic – 1.4.0 WooCommerce Services: by Automattic – 1.19.0 WooCommerce: by Automattic – 3.5.5 WP Responsive Recent Post Slider: by WP OnlineSupport – 2.0.2 ### Settings ### API Enabled: – Force SSL: – Currency: RON (lei) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #231 - /shop/ Cart: #346 - /cos/ Checkout: #348 - /check-out/ My account: #234 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Wildcats Version: 0.0.1 Author URL: Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: wildcats/woocommerce/archive-product.php wildcats/woocommerce/loop/result-count.php
And one more thing- the cart page and all the other pages are working if I use other themes like Storefront for eg.
Hi there,
Thank you for posting the System Status Report!
And one more thing- the cart page and all the other pages are working if I use other themes like Storefront for eg.
That was the next thing I was going to ask you to do. Now we know that this behaviour is caused by your theme.
This means you’d have to dive into the code of your theme in order to find out why the default WooCommerce templates aren’t used.
Since this is not something caused by WooCommerce plugin itself – please reach out to the support of your theme. Not sure if it’s this one.
I hope this helps!
The thing is that I am creating the theme myself. Anyways thanks for everything. It must be something with my code as you said.
-
This reply was modified 6 years ago by
- The topic ‘no pages besides main shop page are displayed’ is closed to new replies.