Displaying Product Attributes within WordPress “Product Template” Block
-
I am utilizing WordPress’s built in Product Template block to create a set of displayed products that displays product image, title, price etc as well as any extra data I want to write. (Eg. the “per head / per week” after the price)
My issue is I am trying to display the product attributes without needing to even click into the product. What I am trying to replicate is agistit.com.au where it has the four attribute names and values very prominently per product.Below is the Status report from Woocommerce
System Status Report
### WordPress Environment ### WordPress address (URL): [Redacted] Site address (URL): [Redacted] WC Version: 9.2.3 Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site. Action Scheduler Version: ? 3.8.1 Log Directory Writable: ? WP Version: 6.6.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.2.16 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.19-MariaDB Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### [REDACTED] ### Post Type Counts ### attachment: 18 bp-email: 21 buddypress: 4 custom_css: 1 customize_changeset: 15 elementor_library: 1 nav_menu_item: 4 page: 10 post: 1 product: 7 revision: 119 shop_order: 1 wp_font_face: 33 wp_font_family: 12 wp_global_styles: 1 wp_navigation: 5 wp_template: 1 wp_template_part: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (7) ### BuddyPress: by The BuddyPress Community – 14.0.0 Customize My Account for WooCommerce: by SysBasics – 2.3.4 Dokan: by weDevs – 3.12.1 Dokan Vendor Dashboard: by weDevs – 1.0.3 Order Approval for Woocommerce: by Sevengits – 2.1.9 WooPayments: by WooCommerce – 8.1.1 WooCommerce: by Automattic – 9.2.3 ### Inactive Plugins (2) ### Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3 Hello Dolly: by Matt Mullenweg – 1.7.2 ### Settings ### Legacy API Enabled: – Force SSL: – Currency: AUD ($) Currency Position: left 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) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: ? ### Logging ### Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 1 MB ### WC Pages ### Shop base: #11 - /shop/ Cart: #12 - /cart/ - Contains the woocommerce/cart block Checkout: #13 - /checkout/ - Contains the woocommerce/checkout block My account: #14 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Kadence Version: 1.2.9 Author URL: https://www.kadencewp.com/ 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: – ### WooPayments ### Version: 8.1.1 Connected to WPCOM: Yes WPCOM Blog ID: 236085221 Account ID: acct_1PoaRZFtzFPY79ha Payment Gateway: Enabled Test Mode: Enabled Enabled APMs: card WooPay: Not eligible Apple Pay / Google Pay: Disabled Fraud Protection Level: basic Multi-currency: Enabled Auth and Capture: Enabled Documents: Disabled Logging: Disabled ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks pattern-toolkit-full-composability product-custom-fields remote-inbox-notifications remote-free-extensions payment-gateway-suggestions printful shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page launch-your-store Disabled Features: experimental-blocks minified-js product-pre-publish-modal settings async-product-editor-category-field product-editor-template-system Daily Cron: ? Next scheduled: 2024-09-03 23:56:41 +00:00 Options: ? Notes: 63 Onboarding: completed ### Action Scheduler ### Complete: 104 Oldest: 2024-08-16 23:57:47 +0000 Newest: 2024-09-03 07:27:00 +0000 Failed: 6 Oldest: 2024-08-17 00:40:43 +0000 Newest: 2024-08-21 01:00:29 +0000 Pending: 2 Oldest: 2024-09-03 07:54:07 +0000 Newest: 2024-09-03 10:13:28 +0000 ### Status report information ### Generated at: 2024-09-03 07:41:38 +00:00
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.