Edwin Hamers

My feedback

  1. 50 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    This is possible with a premium plugin or the Storefront bundle Powerpack

  2. 115 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    @james & Stuart. If this is already implemented then why is this idea still open? Or am i missing something?

  3. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    I just looked at the Storefront Bundle (https://woocommerce.com/products/storefront-extensions-bundle/). And included is a plugin called Footer Bar (https://woocommerce.com/products/storefront-footer-bar/).

    This is exactly what i need, but then for above product categories !

    Edwin Hamers commented  · 

    To further clarify, i spoke to Hari (Woo support). If you use Woocommerce, Storefront plus the PowerPack then you can set the shop to be displayed in full width. Actually there are multiple settings involved using the customizer:

    - Customizer > Layout (you can choose for right or left sidebar) - This option will be ignored once you select "Full width" on any option below
    - Power Pack > Layout (Default or Full Width)
    - Power Pack > Product details > Page Layout (Default / Full width)
    - Power Pack > Shop > Page Layout (default / Full Width)

    It is possible to have single products in full width and the product category with a sidebar.
    But what if you want to have everything set to full width? Then the sidebar will not be displayed making the nice widgets become unusable.

    So my suggestion is to create a new widget area where the filters can be added
    OR add more filter options to the default sorting pull down menu.

    Edwin Hamers commented  · 

    And here is an example of what i mean (not made by me or with storefront btw)

    https://www.yogisha.nl/en/yoga-mats/

    Edwin Hamers shared this idea  · 
  4. 238 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    40 comments  ·  WooCommerce » Category - Shipping Methods  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    /**
    * Hide shipping rates when free shipping is available.
    * Updated to support WooCommerce 2.6 Shipping Zones.
    *
    * @param array $rates Array of rates found for the package.
    * @return array
    */

    function my_hide_shipping_when_free_is_available( $rates ) {
    $free = array();
    foreach ( $rates as $rate_id => $rate ) {
    if ( 'free_shipping' === $rate->method_id ) {
    $free[ $rate_id ] = $rate;
    break;
    }
    }
    return ! empty( $free ) ? $free : $rates;
    }
    add_filter( 'woocommerce_package_rates', 'my_hide_shipping_when_free_is_available', 100 );

    Edwin Hamers commented  · 

    I didnt test this code yet, but its available on docs.woocommerce
    https://docs.woocommerce.com/document/hide-other-shipping-methods-when-free-shipping-is-available/

    Edwin Hamers supported this idea  · 
  5. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    Ok, here is the full code for functions.php AND style.css

    FUNCTIONS.PHP

    /*****************************************************************************
    * Override woocommerce product thumbnail sizes
    * For this to display properly custom css code needs to be added. See code below */

    ***********************************************************************************/
    function my_storefront_filter_image_sizes( $args ) {
    $args['single_image_width'] = 600; //default is 416px
    $args['thumbnail_image_width'] = 324; // default is 324
    return $args;
    }

    add_filter( 'storefront_woocommerce_args', 'my_storefront_filter_image_sizes' );

    CSS CODE

    /*************************************************
    * Resize product image (and product summary)
    * This will only work when a product display is set to Full Width (in PowerPack)

    Note: the percentages below are related to the image width. The default width in storefront is 416px.
    And the default corresponding width in percentage is 39.1304347826.
    For a 600px images you need to calculate the correct percentage, for example:

    Total percentage is 56.5217391304 + 39.1304347826 = 95.65217391
    The percentage for 600px is (39.1304347826/ 416) * 600 = 56.438127
    The percentage for the summary width is then 95.65217391 - 56.438127 = 39.21404691

    *************************************************/

    /* Product image size */
    @media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
    width: 56.5217391304%;
    }

    /* Product summary column size */
    .storefront-full-width-content.single-product div.product .summary {
    width: 39.1304347826%;
    }
    }

    Edwin Hamers commented  · 

    The proper css code that also work on mobile devices is:

    /*************************************************
    * Resize product image (and product summary)
    * This will only work when a product display is set to Full Width (in PowerPack)
    *************************************************/

    /* Product image size */
    @media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
    width: 56.5217391304%;
    }

    /* Product summary column size */
    .storefront-full-width-content.single-product div.product .summary {
    width: 39.1304347826%;
    }
    }

    Edwin Hamers commented  · 

    The CSS code will only work when you display products as full width! And this is only possible when you have the PowerPack enabled

    Edwin Hamers shared this idea  · 
  6. 4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    @Tamer. This can, currently, not be done in storefront settings or the woocommerce settings

  7. 34 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers supported this idea  · 
  8. 9 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    You understand that storefront, and most other responsive themes, will size according to the screensize it is being viewed on. If you would have multiple columns on a mobile device things would become too small and unreadable.
    Plus scrolling on a mobile is much easier then a mouse ;-)

  9. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    Sounds like you need a web developer....
    Grouped and other product plugins from Woo might help!

  10. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Storefront  ·  Flag idea as inappropriate…  ·  Admin →
    Edwin Hamers commented  · 

    Not sure what your question is?
    If you need translation then you might need a translate plugin

Feedback and Knowledge Base