Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Shop / WooCommerce
  3. WooCommerce issues

WooCommerce issues

Scheduled Pinned Locked Moved Shop / WooCommerce
14 Posts 4 Posters 371 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arminunruhA Offline
    arminunruhA Offline
    arminunruh
    Global Moderator
    wrote on last edited by
    #4

    Hey sorry for the late reply!Please always post questions in the forum, don't email them to me!

    1. the setting is only for desktop. for phone i think it always defaults to a slideshow
    2. what do you mean? a product thumbnail is a product image. could you explain it in a different way?
    3. oh i see!
      When you use "desktop" style for your mobile menu style, the cart icon is placed within the rightpart of the mobile menu bar:

    Screenshot 2023-03-29 at 13.33.21.png

    However, you have also disabled the menubar and probably dont want the cart icon to be there.
    At the moment there are no settings for the placement of the cart icon.However, you can use css:

    .lay-mobile-icons-wrap{top: 20px!important;right: 20px!important;}
    

    4.

    In the billing details page I've set the type to default but it’s not changing.

    Which type, what do you mean?

    Also how do I change/ customise the card number filling box?

    I just checked the code. It seems its an iframe, which means you can't change the way it looks I think. I think there are other payment method plugins available that might look better.
    Go to WooCommerce -> Extensions -> Browse Extensions -> Payments

    Try Stripe

    G 1 Reply Last reply
    0
    • arminunruhA arminunruh

      Hey sorry for the late reply!Please always post questions in the forum, don't email them to me!

      1. the setting is only for desktop. for phone i think it always defaults to a slideshow
      2. what do you mean? a product thumbnail is a product image. could you explain it in a different way?
      3. oh i see!
        When you use "desktop" style for your mobile menu style, the cart icon is placed within the rightpart of the mobile menu bar:

      Screenshot 2023-03-29 at 13.33.21.png

      However, you have also disabled the menubar and probably dont want the cart icon to be there.
      At the moment there are no settings for the placement of the cart icon.However, you can use css:

      .lay-mobile-icons-wrap{top: 20px!important;right: 20px!important;}
      

      4.

      In the billing details page I've set the type to default but it’s not changing.

      Which type, what do you mean?

      Also how do I change/ customise the card number filling box?

      I just checked the code. It seems its an iframe, which means you can't change the way it looks I think. I think there are other payment method plugins available that might look better.
      Go to WooCommerce -> Extensions -> Browse Extensions -> Payments

      Try Stripe

      G Offline
      G Offline
      gd_mrsn
      wrote on last edited by
      #5

      Hello @arminunruh !
      Thanks for the reply!
      Sorry about the email I didn’t know – I posted here straight away after getting the automatic response :))

      1. Ok I see! Would be great to have the option to just have single or double images on the phone version too!
      2. Sorry, I’ll try explain better – is there a way to have just the “product gallery images” on the single product page? Basically, as the product image is displayed as a thumbnail image on the shop page/homepage (and I’m using two different image styles between the product image and the product gallery images), I’m trying not to have them both on the single product page. https://glassa.studio/prodotto/a2-medium-bowl/
      3. Ok! When using the desktop menu style can I get rid of the cart icon at all and just have the cart as “Cart (0)” as it is on the desktop?
      4. On the payment page https://glassa.studio/payment/ some of the type in the billing details form (such as “Fist name”) before clicking on it is bigger the the rest of the type (which is my default type) and I don’t know how to change that.
      5. Ok I’ll try that!

      A couple of other things :))

      • In the shop page - in the “Edit Product Thumbnail Grid” – the products are “Top aligned”. It works fine on the shop page/homepage but when I go in the menu in the single categories (“cups” “bowls”) they are not aligned – how can I edit that? https://glassa.studio/bowls/
      • In the “Edit Product Thumbnail Grid” the “Desktop Column Gutter” “Desktop Row Gutter” are in only in % – is the there a way to have them in px as I’ve set up my grid etc in px?
      • In the single page product the writing “out of stock” is in a different font – how can I change that? https://glassa.studio/prodotto/coffee-cup/

      Thank you so much again for your help!!

      benjaminmugnierB 1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #6

        i see i see

        let me work on this gimme some time

        G 1 Reply Last reply
        0
        • arminunruhA arminunruh

          i see i see

          let me work on this gimme some time

          G Offline
          G Offline
          gd_mrsn
          wrote on last edited by
          #7

          @arminunruh great! Thank youu

          1 Reply Last reply
          0
          • G gd_mrsn

            Hello @arminunruh !
            Thanks for the reply!
            Sorry about the email I didn’t know – I posted here straight away after getting the automatic response :))

            1. Ok I see! Would be great to have the option to just have single or double images on the phone version too!
            2. Sorry, I’ll try explain better – is there a way to have just the “product gallery images” on the single product page? Basically, as the product image is displayed as a thumbnail image on the shop page/homepage (and I’m using two different image styles between the product image and the product gallery images), I’m trying not to have them both on the single product page. https://glassa.studio/prodotto/a2-medium-bowl/
            3. Ok! When using the desktop menu style can I get rid of the cart icon at all and just have the cart as “Cart (0)” as it is on the desktop?
            4. On the payment page https://glassa.studio/payment/ some of the type in the billing details form (such as “Fist name”) before clicking on it is bigger the the rest of the type (which is my default type) and I don’t know how to change that.
            5. Ok I’ll try that!

            A couple of other things :))

            • In the shop page - in the “Edit Product Thumbnail Grid” – the products are “Top aligned”. It works fine on the shop page/homepage but when I go in the menu in the single categories (“cups” “bowls”) they are not aligned – how can I edit that? https://glassa.studio/bowls/
            • In the “Edit Product Thumbnail Grid” the “Desktop Column Gutter” “Desktop Row Gutter” are in only in % – is the there a way to have them in px as I’ve set up my grid etc in px?
            • In the single page product the writing “out of stock” is in a different font – how can I change that? https://glassa.studio/prodotto/coffee-cup/

            Thank you so much again for your help!!

            benjaminmugnierB Offline
            benjaminmugnierB Offline
            benjaminmugnier
            wrote on last edited by
            #8

            @gd_mrsn hello I'm trying to remove the thumbnail product image of the gallery single product page too. your Second (2) point !

            I found something on the web to add an action in the function.php page without good result. I tried to ask at chat GPT (lol) and I had different options :

            1. take the plugin https://wordpress.org/plugins/woo-variation-gallery/ but it's not compatible with lay theme (for the design).
            2. Add code in function.php of the laytheme as :
            add_action( 'woocommerce_product_thumbnails', 'remove_featured_image_from_gallery', 9 );
            function remove_featured_image_from_gallery() {
                global $product;
            
                $attachment_ids = $product->get_gallery_image_ids();
                $featured_image_id = $product->get_image_id();
            
                if ( $attachment_ids ) {
                    $gallery_html = '<div class="woocommerce-product-gallery__wrapper">';
                    $gallery_html .= '<div class="woocommerce-product-gallery__image">';
                    $gallery_html .= wp_get_attachment_image( $featured_image_id, 'woocommerce_single' );
                    $gallery_html .= '</div>';
                    foreach ( $attachment_ids as $attachment_id ) {
                        $gallery_html .= '<div class="woocommerce-product-gallery__image">';
                        $gallery_html .= wp_get_attachment_image( $attachment_id, 'woocommerce_single' );
                        $gallery_html .= '</div>';
                    }
                    $gallery_html .= '</div>';
                    echo $gallery_html;
                }
            }
            

            and others solutions, but I achieved anything.

            So if someone have a solution, I will take it ;)
            Cheers.
            B.

            G 1 Reply Last reply
            0
            • benjaminmugnierB benjaminmugnier

              @gd_mrsn hello I'm trying to remove the thumbnail product image of the gallery single product page too. your Second (2) point !

              I found something on the web to add an action in the function.php page without good result. I tried to ask at chat GPT (lol) and I had different options :

              1. take the plugin https://wordpress.org/plugins/woo-variation-gallery/ but it's not compatible with lay theme (for the design).
              2. Add code in function.php of the laytheme as :
              add_action( 'woocommerce_product_thumbnails', 'remove_featured_image_from_gallery', 9 );
              function remove_featured_image_from_gallery() {
                  global $product;
              
                  $attachment_ids = $product->get_gallery_image_ids();
                  $featured_image_id = $product->get_image_id();
              
                  if ( $attachment_ids ) {
                      $gallery_html = '<div class="woocommerce-product-gallery__wrapper">';
                      $gallery_html .= '<div class="woocommerce-product-gallery__image">';
                      $gallery_html .= wp_get_attachment_image( $featured_image_id, 'woocommerce_single' );
                      $gallery_html .= '</div>';
                      foreach ( $attachment_ids as $attachment_id ) {
                          $gallery_html .= '<div class="woocommerce-product-gallery__image">';
                          $gallery_html .= wp_get_attachment_image( $attachment_id, 'woocommerce_single' );
                          $gallery_html .= '</div>';
                      }
                      $gallery_html .= '</div>';
                      echo $gallery_html;
                  }
              }
              

              and others solutions, but I achieved anything.

              So if someone have a solution, I will take it ;)
              Cheers.
              B.

              G Offline
              G Offline
              gd_mrsn
              wrote on last edited by
              #9

              Hey @benjaminmugnier
              Happy to know I’m not the only one trying to work this out!
              I’ve actually thought about asking chat GPT as well lol

              benjaminmugnierB 1 Reply Last reply
              0
              • G gd_mrsn

                Hey @benjaminmugnier
                Happy to know I’m not the only one trying to work this out!
                I’ve actually thought about asking chat GPT as well lol

                benjaminmugnierB Offline
                benjaminmugnierB Offline
                benjaminmugnier
                wrote on last edited by
                #10

                @gd_mrsn GPT give me a working code to remove the image, but the layout is broken, I have images of the gallery one below the other without margin.

                1 Reply Last reply
                0
                • arminunruhA Offline
                  arminunruhA Offline
                  arminunruh
                  Global Moderator
                  wrote on last edited by
                  #11

                  Screenshot 2023-04-26 at 17.48.02.png

                  i will release an update later today that contains the setting "show first image" in customize → woocommerce → single product

                  aha nice try chatgpt :D

                  G benjaminmugnierB 2 Replies Last reply
                  0
                  • arminunruhA arminunruh

                    Screenshot 2023-04-26 at 17.48.02.png

                    i will release an update later today that contains the setting "show first image" in customize → woocommerce → single product

                    aha nice try chatgpt :D

                    G Offline
                    G Offline
                    gd_mrsn
                    wrote on last edited by
                    #12

                    @arminunruh That's amazing! Thank you!

                    1 Reply Last reply
                    0
                    • arminunruhA Offline
                      arminunruhA Offline
                      arminunruh
                      Global Moderator
                      wrote on last edited by
                      #13

                      sure sure!!
                      just published the update!

                      1 Reply Last reply
                      0
                      • arminunruhA arminunruh

                        Screenshot 2023-04-26 at 17.48.02.png

                        i will release an update later today that contains the setting "show first image" in customize → woocommerce → single product

                        aha nice try chatgpt :D

                        benjaminmugnierB Offline
                        benjaminmugnierB Offline
                        benjaminmugnier
                        wrote on last edited by
                        #14

                        @arminunruh omg thank you Armin !! u rock ! Cheers

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        I also code custom websites or custom Lay features.
                        💿 Email me here: 💿
                        info@laytheme.com

                        Before you post:
                        1. When using a WordPress Cache plugin, disable it or clear your cache.
                        2. Update Lay Theme and all Lay Theme Addons
                        3. Disable all Plugins
                        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                        This often solves issues you might run into

                        When you post:
                        1. Post a link to where the problem is
                        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                        Online Users
                        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                        laytheme.com
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Search