Product Image - by luckyboy - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Olga Barlow

  • Avatar: luckyboy
    luckyboy
    Participant
    April 29, 2017 at 01:10

    I want for all my product images on homepage and shop as well, when i click the image it should take me to the product page, how to do that?

    Please see the screenshot:

    http://prnt.sc/f1wbz1

    Thanks

    6 Answers
    Avatar: luckyboy
    luckyboy
    Participant
    May 1, 2017 at 23:34

    almost 3 days now and nobody replied.

    Anyway, i got another problem where i need help, i get error in order page under shipping:

    http://prnt.sc/f31h82

    this is the code:

    ‘public static function get_product_id( $product ){
    if( self::is_deprecated() ){
    return $product->id;
    }else{
    return $product->get_id(); <<<<< this is line 19
    }
    }’

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 2, 2017 at 13:36

    Hello,

    1) Add the following code in custom CSS (Theme Options > Styling)

    .product-view-default .footer-product {
        top: inherit;
        height: auto;
    }

    2) Install and activate Storefront theme and check if you have this error with default WC theme. In case problem persists even with default WC theme then contact with WPML support because we won’t be able to help you. In case, problem appears only if our theme is activated then provide me admin panel and FTP access to your site.

    Regards

    Avatar: luckyboy
    luckyboy
    Participant
    May 2, 2017 at 22:40

    Thanks alot Olga, u’r the best 🙂

    i found 1 more problem and it’s a big one, please help me with this as well:

    1 is the Checkout form field for “First Name” and 1 is for “Last Name”, for English its ok but in Arabic you read from right side, so it asks for “Last Name” first and then “First Name”. i want to change their positions for Arabic only.

    http://prnt.sc/f3edpp

    Same is the case here. 1 is for “Email Address” and 2 is for “Password” on Checkout Page when click on “Returning Customer Login”. in Arabic, it asks for Password first and then Email, i am getting many complains for this and i want to change the positions of 1 and 2 for Arabic only.

    http://prnt.sc/f3eees

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 3, 2017 at 16:31

    Hello,

    Add the following code

    .woocommerce-checkout .form-row.form-row-last {
        float: left;
        padding-left: 0;
    }
    .woocommerce-checkout .form-row.form-row-first {
        float: right;
        padding-right: 0;
        padding-left: 10px;
        }

    We’ll also fix it in next theme update.

    Regards

    Avatar: luckyboy
    luckyboy
    Participant
    May 3, 2017 at 20:13

    Thanks for the help olga. My website is in English and Arabic. English is fine. I want the change only in Arabic,if i add the above code in global custom css will it change in English version as well (which i don’t want)?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 4, 2017 at 11:06

    Hello,

    Add the code in xstore/rtl.css

    Regards

  • Viewing 7 results - 1 through 7 (of 7 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.