recent product shortcode doesn't show recent products
-
Hi, I’m using the 2.4.12 version of woocommerce.
I added three new products but my shortcode just shows one of them as you can see in my page http://www.tarka.it (the shortcode is: [recent_products per_page=”9″ columns=”3″ orderby=”date” order=”desc”]In this page you can see my recent products orderd fine http://www.tarka.it/?s=&post_type=product
Can anyone help me (I prefer not to update anything) ?
Thx
-
recent_products shortcode does not show pagination if thats what you’re referring to.
I don’t want pagination on my homepage http://www.tarka.it . I just want to show 9 products on 3 columns. I’ve shown you the second page just for saying that my products are well set. (you can see in this page that the first three products are the newest, not like in homepage)
I don’t understand why in my homepage it’s showing just one of my three new products
It may be because the dates are the same. The shop page uses something slightly different; date ID, so if dates are the same, it falls back to ID. Recent shortcode does not.
Ok, I’ve changed the publishing dates, so now the first one (the only that’s shown in homepage) is 22-05-2016, the second one is 23-05-2016 and the third one is 24-05-2016
All the dates are different now, but nothing changed
I’m sorry, I don’t know what “caching plugin” means..
Do you want me to post my system status report?Yes.
I think you may be running a cache plugin.
### WordPress Environment ### Home URL: http://www.tarka.it Site URL: http://www.tarka.it WC Version: 2.4.12 Log Directory Writable: ✔ /var/www/clients/client1/web6/web/wp-content/uploads/wc-logs/ WP Version: 4.4.2 WP Multisite: – WP Memory Limit: 40 MB - Raccomandiamo di impostare almeno 64MB di memoria. Come aumentare la memoria allocata di PHP (in inglese) WP Debug Mode: – Language: it_IT ### Server Environment ### Server Info: Apache/2.2.15 (CentOS) PHP Version: 5.3.3 - Raccomandiamo di usare la versione 5.4 o successiva di PHP. Come aggiornare la vostra versione di PHP (in inglese) PHP Post Max Size: 20 MB PHP Time Limit: 600 PHP Max Input Vars: 1000 SUHOSIN Installed: – MySQL Version: 5.1.73 Max Upload Size: 20 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ POST remoto: ✔ GET remoto: ✔ ### Database ### WC Database Version: 2.4.12 : woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_termmeta: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ ### Active Plugins (27) ### WooCommerce Back In Stock Notifier: by Fantastic Plugins – 5.8 Child Theme Configurator: by Lilaea Media – 1.7.9.1 Contact Form 7: by Takayuki Miyoshi – 4.3.1 Notifica Cookie: by dFactory – 1.2.33 Custom Sidebars: by WPMU DEV – 2.1.0.2 Display Posts Shortcode: by Bill Erickson – 2.5.1 () Exquisite - Shortcodes & Widgets: by fuelthemes – 1.0.0 AVH Extended Categories Widgets: by Peter van der Does – 4.0.1 Google Doc Embedder: by Kevin Davis – 2.5.19 Jetpack by WordPress.com: by Automattic – 3.8.1 Latest Tweets Widget: by Tim Whitlock – 1.1.3 myStickymenu: by m.r.d.a – 1.8.2 Post Types Order: by Nsp Code – 1.8.5 Postcode Shipping: by Rizwan Ahammad – 2.1.2 Really Simple CAPTCHA: by Takayuki Miyoshi – 1.8.0.1 Shareaholic | bottoni di condivisione, di analisi, contenuti correlati: by Shareaholic – 7.8.0.1 SI CAPTCHA Anti-Spam: by Mike Challis – 2.7.7.5 Simple Local Avatars: by Jake Goldman 10up – 2.0 SimpleJPEGQuality: by Christian Wagner – 1.0 Ultimate Tag Cloud Widget: by Rickard Andersson – 2.7.2 WooCommerce Widget Product Slider LITE: by A3 Revolution – 1.2.5 WooCommerce Custom Product Tabs Lite: by SkyVerge – 1.3.1 WooCommerce Grid / List toggle: by James Koster – 1.0.0 WooCommerce Social Media Share Buttons: by Toastie Studio – 1.2.1 WooCommerce: by WooThemes – 2.4.12 Yoast SEO: by Team Yoast – 3.0.6 MailPoet Newsletters: by MailPoet – 2.6.19 ### Settings ### Force SSL: – Currency: EUR (€) Currency Position: left_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 ### API ### API Enabled: ✔ API Version: 3.0.0 ### WC Pages ### Shop Base: #88 - /tarka-shop/ Carrello: #89 - /carrello/ Cassa: #90 - /checkout/ Il mio account: #91 - /mio-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: () Exquisite Child Version: 1.0.1448549090 Author URL: Child Theme: ✔ Parent Theme Name: () Exquisite Parent Theme Version: 1.3.3 Parent Theme Author URL: http://themeforest.net/user/fuelthemes WooCommerce Support: Non Dichiarato ### Templates ### Overrides: exquisite-wp/woocommerce/archive-product.php exquisite-wp/woocommerce/single-product/tabs/tabs.php versione 2.0.0 il file non è aggiornato. La versione di base è 2.4.0 exquisite-wp/woocommerce/single-product.php exquisite-wp/woocommerce/taxonomy-product_cat.php : Impara come aggiornare i template scaduti
Have you done a test with a default WP theme and all other plugins OFF?
This is an old version and I cannot replicate with the latest. https://github.com/woothemes/woocommerce/commit/75d10abd1675712627ce58b5c2c392cdd163c0b9 was the change I mentioned to do with the dates but you said you tried changing them so it may not be related.
- The topic ‘recent product shortcode doesn't show recent products’ is closed to new replies.