Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter mimiseku93002

    (@mimiseku93002)

    Hey thanks for your reply

    So it’s not an attribute, but “Style” is a custom taxonomy, just like Category & Tag, and minimal is one if its terms

    Best

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello thanks for your reply!

    I don’t have this editor section, I’m using a child theme of Twenty twenty, is that why?

    https://haunted-dancehall.com/wp-content/uploads/2024/03/Capture.png

    Best

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello,

    Thanks a lot for your help, however, as I have around 500 products on my website, I guesse it’s easier to wait for the developpers to fix that instead of creating a single template for each one, what do you think?

    All the best

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello

    So I tried with themes twenty two and twenty three and it didn’t work, then I tried with themes nineteen, twenty and twenty on and it worked

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hey,

    Thanks for your reply, I tried the frist two options and it didn’t work so here it is:

    WordPress Environment
    
    WordPress address (URL): https://haunted-dancehall.com
    Site address (URL): https://haunted-dancehall.com
    WC Version: 7.9.0
    REST API Version: ? 7.9.0
    WC Blocks Version: ? 10.6.1
    Action Scheduler Version: ? 3.6.1
    Log Directory Writable: ?
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.0.28
    PHP Post Max Size: 130 MB
    PHP Time Limit: 165
    PHP Max Input Vars: 16000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.42-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    Database
    
    WC Database Version: 7.9.0
    WC Database Prefix: mod16_
    Total Database Size: 258.37MB
    Database Data Size: 239.49MB
    Database Index Size: 18.88MB
    mod16_woocommerce_sessions: Data: 4.02MB + Index: 1.02MB + Engine InnoDB
    mod16_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    mod16_woocommerce_order_items: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    mod16_woocommerce_order_itemmeta: Data: 0.50MB + Index: 0.47MB + Engine InnoDB
    mod16_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    mod16_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_actionscheduler_actions: Data: 0.22MB + Index: 0.19MB + Engine InnoDB
    mod16_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_actionscheduler_logs: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
    mod16_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    mod16_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    mod16_gla_merchant_issues: Data: 1.02MB + Index: 0.00MB + Engine InnoDB
    mod16_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_options: Data: 5.02MB + Index: 0.17MB + Engine InnoDB
    mod16_postmeta: Data: 6.39MB + Index: 5.78MB + Engine InnoDB
    mod16_posts: Data: 10.48MB + Index: 0.70MB + Engine InnoDB
    mod16_relevanssi: Data: 4.44MB + Index: 6.66MB + Engine InnoDB
    mod16_relevanssi_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_termmeta: Data: 0.13MB + Index: 0.17MB + Engine InnoDB
    mod16_terms: Data: 0.20MB + Index: 0.28MB + Engine InnoDB
    mod16_term_relationships: Data: 0.38MB + Index: 0.22MB + Engine InnoDB
    mod16_term_taxonomy: Data: 0.20MB + Index: 0.23MB + Engine InnoDB
    mod16_ups_shipping_accessorial: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_account: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_delivery_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_fallback_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_license: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_logs_api: Data: 202.20MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_log_frontend: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_package_default: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_product_dimension: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_retry_api: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_services: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_shipments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_ups_shipping_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_usermeta: Data: 0.17MB + Index: 0.06MB + Engine InnoDB
    mod16_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mod16_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    mod16_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    mod16_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    mod16_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mod16_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_wc_product_meta_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    mod16_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_woobe_history: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mod16_woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mod16_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mod16_yoast_indexable: Data: 1.52MB + Index: 0.95MB + Engine InnoDB
    mod16_yoast_indexable_hierarchy: Data: 0.19MB + Index: 0.22MB + Engine InnoDB
    mod16_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mod16_yoast_primary_term: Data: 0.25MB + Index: 0.23MB + Engine InnoDB
    mod16_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 2497
    custom_css: 2
    customize_changeset: 30
    elementor_library: 1
    nav_menu_item: 34
    page: 16
    post: 1
    product: 615
    revision: 1290
    shop_coupon: 1
    shop_order: 110
    wp_global_styles: 2
    wp_navigation: 2
    wp_template: 11
    wp_template_part: 5
    yith_wcan_preset: 1
    
    Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    Active Plugins (19)
    
    Akismet Anti-Spam: Spam Protection: by Automattic - Anti Spam Team – 5.2
    Custom Post Type UI: by WebDevStudios – 1.13.7
    Flexible Shipping: by Octolize – 4.21.5
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.17
    Jetpack Boost: by Automattic - Jetpack Site Speed team – 1.9.4
    Jetpack: by Automattic – 12.3
    Relevanssi: by Mikko Saari – 4.20.0
    Side Cart WooCommerce: by XootiX – 2.3
    Sticky Menu (or Anything!) on Scroll: by WebFactory Ltd – 2.32
    SVG Support: by Benbodhi – 2.5.5
    WooCommerce Blocks: by Automattic – 10.6.1
    Table Rate Shipping for WooCommerce: by JEM Plugins – 2.28
    WooCommerce Stripe Gateway: by WooCommerce – 7.4.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.5.6
    WooCommerce Shipping & Tax: by WooCommerce – 2.3.1
    WooCommerce: by Automattic – 7.9.0
    Yoast SEO: by Team Yoast – 20.11
    WP File Manager: by mndpsingh287 – 7.1.9
    LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: by Themeisle – 2.6.8
    
    Inactive Plugins (5)
    
    Archive Control: by SwitchWP – 1.3.4
    Boxtal Connect: by API Boxtal – 1.2.16
    Relevanssi Live Ajax Search: by Mikko Saari – 2.2
    UPS Shipping and UPS Access Point? : Official Plugin: by UPS – 3.8.0
    YITH WooCommerce Ajax Product Filter: by YITH – 4.19.0
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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 screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    WC Pages
    
    Shop base: #22 - /shop/
    Basket: #23 - /basket/
    Checkout: #24 - /checkout/
    My account: #25 - /my-account/
    Terms and conditions: ? Page not set
    
    Theme
    
    Name: twentytwentytwo-child
    Version: 0.1.0
    Author URL: https://none
    Child Theme: ?
    Parent Theme Name: Twenty Twenty-Two
    Parent Theme Version: 1.4
    Parent Theme Author URL: https://en-gb.www.ads-software.com/
    WooCommerce Support: ?
    
    Templates
    
    Overrides: twentytwentytwo-child/woocommerce/content-product.php
    twentytwentytwo-child/woocommerce/content-single-product.php
    /home/hauntes/www/wp-content/plugins/woo-gutenberg-products-block/templates/notices/error.php
    /home/hauntes/www/wp-content/plugins/woo-gutenberg-products-block/templates/notices/notice.php
    /home/hauntes/www/wp-content/plugins/woo-gutenberg-products-block/templates/notices/success.php
    twentytwentytwo-child/woocommerce/single-product/meta.php
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    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
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    product-variation-management
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2023-07-19 09:37:13 +01:00
    Options: ?
    Notes: 132
    Onboarding: completed
    
    Action Scheduler
    
    Canceled: 1
    Oldest: 2023-07-06 18:04:52 +0000
    Newest: 2023-07-06 18:04:52 +0000
    
    Complete: 628
    Oldest: 2023-06-17 14:27:21 +0000
    Newest: 2023-07-18 14:06:04 +0000
    
    Failed: 9
    Oldest: 2023-03-02 00:48:44 +0000
    Newest: 2023-07-07 22:48:25 +0000
    
    Pending: 3
    Oldest: 2023-07-18 14:06:05 +0000
    Newest: 2023-07-19 11:36:22 +0000
    
    Status report information
    
    Generated at: 2023-07-18 15:06:15 +01:00
    `

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello,

    Thanks for your help and really sorry for my late reply, somehow I was sure I had already replied…

    So I did what you said, but it didn’t work, don’t know why. Here’s a screenshot of my archive’s list view: https://haunted-dancehall.com/wp-content/uploads/2023/02/Capture.png

    Thanks

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello,

    I’ve tried to contact the woocommerce support service, but they re-transfered me to you

    So here’s my taxonomies settings, maybe something’s wrong with them?

    function cptui_register_my_taxes_artist() {
    
    	/**
    	 * Taxonomy: Artists.
    	 */
    
    	$labels = [
    		"name" => esc_html__( "Artists", "custom-post-type-ui" ),
    		"singular_name" => esc_html__( "Artist", "custom-post-type-ui" ),
    		"menu_name" => esc_html__( "Artist", "custom-post-type-ui" ),
    		"all_items" => esc_html__( "All Artists", "custom-post-type-ui" ),
    		"edit_item" => esc_html__( "Edit Artist", "custom-post-type-ui" ),
    		"view_item" => esc_html__( "View Artist", "custom-post-type-ui" ),
    		"update_item" => esc_html__( "Update Artist", "custom-post-type-ui" ),
    		"add_new_item" => esc_html__( "Add New Artist", "custom-post-type-ui" ),
    		"new_item_name" => esc_html__( "New Artist Name", "custom-post-type-ui" ),
    		"parent_item" => esc_html__( "Parent Artist", "custom-post-type-ui" ),
    		"parent_item_colon" => esc_html__( "Parent Artist:", "custom-post-type-ui" ),
    		"search_items" => esc_html__( "Search Artists", "custom-post-type-ui" ),
    		"popular_items" => esc_html__( "Popular Artists", "custom-post-type-ui" ),
    		"separate_items_with_commas" => esc_html__( "Separate Artists wth Commas", "custom-post-type-ui" ),
    		"add_or_remove_items" => esc_html__( "Add or Remove Artists", "custom-post-type-ui" ),
    		"choose_from_most_used" => esc_html__( "Choose From Most Used Artist", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => esc_html__( "Artists", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'artist', 'with_front' => true,  'hierarchical' => true, ],
    		"show_admin_column" => true,
    		"show_in_rest" => true,
    		"show_tagcloud" => false,
    		"rest_base" => "artist",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"rest_namespace" => "wp/v2",
    		"show_in_quick_edit" => true,
    		"sort" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "artist", [ "post", "product" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_artist' );

    Thanks

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello,

    I actually did it but we couldn’t find a solution for that

    https://www.ads-software.com/support/topic/product-taxonomy-archive/

    Best

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello Pepe,

    Thanks for your reply

    Yes I used this plug in to create these taxonomy.

    What changes do I need to include in my child theme?

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hey,

    I actually managed to get this result by customing the woocommerce_template_loop_product_title like this

    function woocommerce_template_loop_product_title() {
    
    		$terms_artist = get_the_terms( $post->ID , 'artist' ); 
    	foreach ( $terms_artist as $term_artist ) {
    		$term_link_artist = get_term_link( $term_artist, 'artist' );
    		if( is_wp_error( $term_link_artist ) )
    		continue;
    	}
    	$terms_label = get_the_terms( $post->ID , 'label' ); 
    	foreach ( $terms_label as $term_label ) {
    		$term_link_label = get_term_link( $term_label, 'label' );
    		if( is_wp_error( $term_link_label ) )
    		continue;
    	} 
    		echo '<h2 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h2>
    		<p class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '"><a href="' . $term_link_artist . '">' . $term_artist->name. ' </a><br>
    		<a href="' . $term_link_label . '">' . $term_label->name. ' </a></p>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    	}
    }

    But I’d like to have this change in my child theme so it won’t be overide with the next Woocommerce Update. Any ideas?

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hello @xue28

    No worries thanks for your reply, here’s how I’d like to have the product displayed.

    https://snipboard.io/IomPr7.jpg

    Thanks

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Yes I’ve tried this option but it doesn’t work neither

    So these are the taxonomies I added and their Slug
    Artist / artist
    Label / label
    Style / styles
    Country / countries
    Distros / distro

    According to the doc you sent me (thanks for that) it should be taxonomy-artist.php, isn’t it? But this option doesnt work. Is it because it is for product and not for post?

    Thread Starter mimiseku93002

    (@mimiseku93002)

    Hey Michael, thanks for your reply.

    I’vre tried what you said: copy the code of basic woocommerce category found in taxonomy-product-cat.php and paste it in my child theme/woocommerce/archive-styles.php but without success.
    I also tried to name the file archive-product-styles.php, archive-product_styles, taxonomy-styles.php and taxonomy-product-styles.php, none of them is working.

    • This reply was modified 1 year, 11 months ago by mimiseku93002.
    Thread Starter mimiseku93002

    (@mimiseku93002)

    Thanks a lot for your help Wes, I changed the padding and now it looks great ??

    Thread Starter mimiseku93002

    (@mimiseku93002)

    It seems that it works when you’re not logged in, but then the footer is in the middle of the page.

    I’ve managed to fix this issue on almost all pages by removing some additional css but the issue still happens on my account pages once logged in

Viewing 15 replies - 1 through 15 (of 16 total)