WooPress: Suggestions and proposals - by Olga Barlow

This topic has 37 replies, 1 voice, and was last updated 1 year, 8 months ago ago by Jack Richardson

  • Avatar: Valli
    Valli
    Participant
    April 28, 2016 at 15:19

    Hi,

    If i may make an suggestion; when i make a variation in my shop, i put pictures to the variations which change the main photo for the product as you browse through the variations but, the customer has no way of seeing that there are other styles to browse there other than choosing from the fall down menu (variation list), it would be very good if the pictures of the variations would appear under the main main photo and as the customer chooses them, they would in fact be choosing that variation. As it is now, they can either choose to browse through the additional product images which doesn´t do anything other than changing the picture and then they would have to choose from the variation list for the product they want, it´s just one to many steps for the customer.

    Ypu can see what i mean by going here; http://alfapeysa.is/shop/blomey/

    Thank you

    Avatar: TonyBahama
    TonyBahama
    Participant
    September 25, 2016 at 10:11

    Hi!

    Please add support for PHP7. All bigger premium themes have it now and it is necessary to exploit a WP Host’s possibilities.

    When do you plan to implement it?

    Avatar: JEWeb
    JEWeb
    Participant
    September 27, 2016 at 15:55

    Please give us more control over the default sorting options which controls the order in which products are presented on the Shop page. The default of product name within product category order does not work for us, and most popular may not apply at all to one’s product line. The current default sort order and options are not how many of us want to display our products. We’d much prefer displaying them based on some other product attribute or combination of attributes and product categories. For example, we may wish to display them in product name within color, or product SKU within some category.

    Avatar: queenb123
    queenb123
    Participant
    December 18, 2016 at 02:53

    Can we have more header options please.

    for example:

    the two row headers – but with the ajax search!

    Avatar: Jimbo
    Jimbo
    Participant
    February 18, 2017 at 18:19

    Can we have an option in woopress to turn off included plugins such as “Testimonials” and “Portfolio”

    I know your new theme X Store has this option, would be great for your existing themes also.

    Thank you guys! 🙂

    Avatar: murmoon
    murmoon
    Participant
    April 2, 2018 at 01:48

    // Show price near variation

    add_filter( 'woocommerce_variation_option_name', 'display_price_in_variation_option_name' );
    function display_price_in_variation_option_name( $term ) {
     
    global $wpdb, $product;
    if ( empty( $term ) ) return $term;
     
    if ( empty( $product->id ) ) return $term;
    $result = $wpdb->get_col( "SELECT slug FROM {$wpdb->prefix}terms WHERE name = '$term'" );
    $term_slug = ( !empty( $result ) ) ? $result[0] : $term;
    $query = "SELECT postmeta.post_id AS product_id
     
    FROM {$wpdb->prefix}postmeta AS postmeta
     
    LEFT JOIN {$wpdb->prefix}posts AS products ON ( products.ID = postmeta.post_id )
     
    WHERE postmeta.meta_key LIKE 'attribute_%'
     
    AND postmeta.meta_value = '$term_slug'
     
    AND products.post_parent = $product->id";
    $variation_id = $wpdb->get_col( $query );
    $parent = wp_get_post_parent_id( $variation_id[0] );
    if ( $parent > 0 ) {
     
    $_product = new WC_Product_Variation( $variation_id[0] );
     
    return $term . ' (' . wp_kses( woocommerce_price( $_product->get_price() ), array() ) . ')';
     
    }
     
    return $term;
    }
    
    //Replace the Variable Price range by the chosen variation price in WooCommerce 3
        add_action( 'woocommerce_before_single_product', 'check_if_variable_first' );
    function check_if_variable_first(){
        if ( is_product() ) {
            global $post;
            $product = wc_get_product( $post->ID );
            if ( $product->is_type( 'variable' ) ) {
                // removing the price of variable products
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
    
    // Change location of
    add_action( 'woocommerce_single_product_summary', 'custom_wc_template_single_price', 10 );
    function custom_wc_template_single_price(){
        global $product;
    
    // Variable product only
    if($product->is_type('variable')):
    
        // Main Price
        $prices = array( $product->get_variation_price( 'min', true ), $product->get_variation_price( 'max', true ) );
        $price = $prices[0] !== $prices[1] ? sprintf( __( 'от: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );
    
        // Sale Price
        $prices = array( $product->get_variation_regular_price( 'min', true ), $product->get_variation_regular_price( 'max', true ) );
        sort( $prices );
        $saleprice = $prices[0] !== $prices[1] ? sprintf( __( 'от: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );
    
        if ( $price !== $saleprice && $product->is_on_sale() ) {
            $price = '<del>' . $saleprice . $product->get_price_suffix() . '</del> <ins>' . $price . $product->get_price_suffix() . '</ins>';
        }
    
        ?>
        <style>
            div.woocommerce-variation-price,
            div.woocommerce-variation-availability,
            div.hidden-variable-price {
                height: 0px !important;
                overflow:hidden;
                position:relative;
                line-height: 0px !important;
                font-size: 0% !important;
            }
        </style>
        <script>
        jQuery(document).ready(function($) {
            $('select').blur( function(){
                if( '' != $('input.variation_id').val() ){
                    $('p.price').html($('div.woocommerce-variation-price > span.price').html()).append('<p class="availability">'+$('div.woocommerce-variation-availability').html()+'</p>');
                    console.log($('input.variation_id').val());
                } else {
                    $('p.price').html($('div.hidden-variable-price').html());
                    if($('p.availability'))
                        $('p.availability').remove();
                    console.log('NULL');
                }
            });
        });
        </script>
        <?php
    
        echo '<p class="price">'.$price.'</p>
        <div class="hidden-variable-price" >'.$price.'</div>';
    
    endif;
    }
    
            }
        }
    }
    
    /**
     * Copy from here to your (child) themes functions.php
     * Recommended to do so via FTP.
     */
    /**
     * Hide all but the free shipping options when free is available.
     *
     * Shows ALL free options when available.
     * Does NOT take in account local pickup as free shipping - It does show local pickup rates in the list of free shipping rates
     * DOES consider non-'free_shipping' rates that have 0 cost as free shipping.
     */
    function custom_hide_all_shipping_when_free_is_available( $shipping_rates) {
    	$free_rates = array();
    	$free_shipping_available = false;
    	foreach ( $shipping_rates as $key => $rate ) {
    		// Check for free rates / don't take in account local pickup
    		if ( 0 == $rate->cost && $rate->method_id != 'local_pickup' ) {
    			$free_shipping_available = true;
    		}
    		if ( 0 == $rate->cost ) {
    			$free_rates[ $key ] = $rate;
    		}
    	}
    	// Show all free rates
    	if ( $free_shipping_available ) {
    		return $free_rates;
    	}
    	return $shipping_rates;
    }
    add_filter( 'woocommerce_package_rates', 'custom_hide_all_shipping_when_free_is_available' );
    Avatar: cassim
    cassim
    Participant
    March 12, 2019 at 10:59

    https://www.joybuggy.dk
    Can you add a more gaming theme feeling for your woopress theme ?
    It will be great to have a gaming theme

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 12, 2019 at 12:55

    Hello, @ cassim

    Thank you for your suggestion but unfortunately, we don’t plan new WooPress versions in the nearest future. If you are looking for the game version I would like to draw your attention to XStore theme https://xstore.8theme.com/demos/games/

    Regards

    Avatar: designerobot
    designerobot
    Participant
    September 15, 2019 at 02:59

    Hello, I have three suggestions:

    1)
    Can you add the option to choose with which button (already active) opening the Portfolio page? I mean one my own category button instead of the “Show All” button now shown by default

    2)
    Can you add the possibility to insert multiple portfolio pages on the same website? Now we can have only one portfolio page

    3)
    Can you add the possibility to insert multiple portfolio pages that work with only one category of the main portfolio page? Namely no more button on these sub-pages

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 16, 2019 at 15:45

    Hello, @designerobot

    Thank you for your suggestion.
    1) I have passed your request to our developers. But I have to say that they are working on header builder for the XStore theme and won’t be able to start improvements of the WordPress before finish the builder.

    2), 3) Why don’t you add the portfolio category to menu http://prntscr.com/p6u60h ? Why do you need the separate pages?

    Regards

    Avatar: designerobot
    designerobot
    Participant
    September 16, 2019 at 16:49

    Thanks for the reply.

    1) Ok, I’ll wait.

    2) 3) Because in this way I don’t get the same thing. 2. and 3. are two completely different things and in any case they cannot be obtained by adding an item in the menu (you would get something vaguely similar to the 3. but with many limitations with respect to the solution I proposed).
    For some websites I would need the 2. and for others I would need the 3.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 16, 2019 at 17:16

    Hello, @designerobot

    Portfolio page is the archive page like Shop page of the WooCommerce plugin and there is no way to create few portfolio pages. We could try to add the WPBakery element that will show the Portfolio projects by categories. Will it be suitable for you?

    Regards

    Avatar: designerobot
    designerobot
    Participant
    September 17, 2019 at 15:51

    Hello Olga,

    Yes, it might be interesting to have the portfolio categories within WP Bakery.

    By the way, I tried to create a link in the menu with a portfolio category like you suggested, but it doesn’t work. See screenshots in PVT.

    Regards

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 18, 2019 at 16:04

    Hello,

    Ok, I created new element requests to create Portfolio element with option to choose the category to show.
    Problem with the portfolio category was related to permalink settings. You used the category slug for the portfolio categories but this is slug for the post categories and can’t be used for the portfolio. We changed it to media-category http://prntscr.com/p7tbd2 and everything works fine.

    Regards

    Avatar: designerobot
    designerobot
    Participant
    September 28, 2019 at 03:41

    Hello Olga,

    Now the portfolio categories in the menu work well, thanks.

    At this point please ask only to add the first request, namely the option to choose with which category button (already active) opening the portfolio page by default instead of the “Show All” button now shown.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 1, 2019 at 12:02

    Hello,

    Ok. Added your request to the features list.

    Regards

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 5, 2022 at 10:38

    Thanks for the details !

  • 1 2
    Viewing 37 results - 21 through 37 (of 37 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.