New Landing How can we help? Atelier Single Product Attributes and Standard Shop View

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #189470
    sharif
    Member
    Post count: 11

    Hello,

    1. Attributes on Single Product page for Simple Products

    How do I display the product attributes on a single product (without having to turn it into a variable product) underneath the title?

    The plugin https://wordpress.org/plugins/woocommerce-show-attributes/ unfortunately does not seem to work with the theme.

    2. How do I set the “list” view as default shop view rather than the gallery like view? It does not seem to be one of the options in the theme settings.

    Thank you!

    #190097
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I will break these questions up to keep us on topic:

    Question 1: This is a little beyond the scope of support but I could probably tip you in the right direction.

    Display product attributes names:you could add this to the file content-single-product.php, below the product title, categories.

    <?php
    $attributes = $product->get_attributes();
    $i = 0;
    $len = count( $attributes );
    foreach( $attributes as $attribute ) {
    	$output = $attribute['name'];
    	if ( $i == $len - 1 ) {
    	    echo ''. $output . '';
    	} else {
    		echo ''. $output . ', ';
    	}
    	$i++;
    }
    ?>
    #190329
    sharif
    Member
    Post count: 11

    Thank you – where can I find the answer to my other question?

    #190489
    David Martin – Support
    Moderator
    Post count: 20834

    Question 2) This option is not available as standard out the box. You would need to work with a developer to make this customisation.

    Thanks,
    David.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register