Forum Replies Created
-
AuthorPosts
-
Sure, is it enough if I show you a screencast of how it looks at the moment when you have two full width submenu underneath one another? Here it is http://www.screencast.com/t/GDItao62
As you can see the second one hides the first one as they have the same top value when scrolled and position becomes fixed.
If this is not enough let me know. ThanksI have worked out a solution for anyone else experiencing this issue.
@media only screen and (max-width: 767px) { .responsive #top .cart_dropdown { z-index : 20; } }
have you had a chance to look at the site and identify the underlying problem? Thank you
Hi again, in the private section you can find the url for the site.
September 5, 2016 at 7:21 pm in reply to: BMS "Please match the requested format qty" WooCommerce Measurement $ Calculator #682315I have some custom code on woocommerce-mod.js that I use in the child theme so I cannot take this out as it will not work as expected. It is strange that this “Please match the requested format qty” only appears in Chrome and not in Safari for example. Is there a way to include the “novalidate” attribute in the add-to-cart button? Or any other solution as this is driving me crazy?
ThanksHi. Did you solve this issue as I am having the same problem? Thanks
Found it…
.cart-collaterals .cart_totals { margin: 0px 0 0 0; clear:both; float:right; } .cart-collaterals .cart_totals a.button.alt{float:right;}
Regards
November 27, 2015 at 10:25 am in reply to: sort categories on woocommerce single product page #543512Hi Elliot
just thought I post a solution that I figured out myself.
The below code needs to be pasted in woocommerce/templates/single-product/meta.php and delete or comment the following line
echo $product->get_categories( ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', $cat_count, 'woocommerce' ) . ' ', '</span>' );
$terms = get_the_terms( $post->ID, 'product_cat' ); $args = array( 'type' => 'product', 'child_of' => 0, 'parent' => '', 'orderby' => 'term_group', 'order' => 'ASC', 'hide_empty' => false, 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'number' => '', 'taxonomy' => 'product_cat', 'pad_counts' => false ); $categories = get_categories( $args ); $category_list_Names = array(); $category_list_Slugs = array(); foreach($categories as $cat ){ foreach ($terms as $term ) { if ($cat->name == $term->name && !in_array($cat->name, $category_list_Names)) { $category_list_Names[] = $cat->name; $category_list_Slugs[] = get_term_link($cat->slug, 'product_cat'); break; } } } $category_list = array(); for ($x = 0; $x <= count($category_list_Names); $x++) { $category_list[] = '<a href="'. $category_list_Slugs[$x] .'">'. $category_list_Names[$x] .'</a>'; } if( ! empty( $category_list ) ) { echo '<span class="posted_in">'; echo _n( 'Category: ', 'Categories: ', sizeof( $category_list ) ); echo implode( ',', $category_list ); echo '</span>'; }
Regards
Kos- This reply was modified 9 years ago by koszachos.
November 26, 2015 at 6:58 pm in reply to: sort categories on woocommerce single product page #543347Thanks Elliot, but what i mean is something else, see image https://www.dropbox.com/s/l0hgmcmazj42jht/Screenshot%202015-11-26%2018.49.29.png?dl=0
basically I have categories (e.g. Car), sub-categories (e.g. Audi and VW) as well as sub-sub-categories (e.g. S4 and Q5). At the moment the order in which the categories are shown on the product page is alphabetical, e.g. if a product was related to Q5 then it would showCategories: Audi, Car, Q5
whereas I want to have it based on hierarchy
Categories: Car, Audi, Q5
Does it makes sense?
Regards
KosNovember 9, 2015 at 4:55 pm in reply to: add text between quantity and add to cart button – product page #532739Perfect! thats works great
Much appreciated!November 9, 2015 at 4:21 pm in reply to: add text between quantity and add to cart button – product page #532712Thanks Yigit, but the text appears below the quantity area – see here https://www.dropbox.com/s/y2ke0s15acvpnqu/Screenshot%202015-11-09%2016.19.34.png?dl=0
It is possible to have it exactly between the quantity area and the cart button?
Thanks againNovember 9, 2015 at 9:21 am in reply to: add text between quantity and add to cart button – product page #532429Hi Rikard, the ‘m’ in the quantity text box is currently not functioning properly because when the user deletes the content and enters a number, the ‘m’ disappears. So, I will probably get rid of the ‘m’ and rather have a label called ‘Meter’ in between to simplify matters, similar to how it is shown here https://www.dropbox.com/s/v5lcm5eunglyvrm/Screenshot%202015-11-09%2009.20.23.png?dl=0
Thats what I am trying to figure out
ThanksNovember 7, 2015 at 3:17 pm in reply to: add text between quantity and add to cart button – product page #531863see private message. Thanks
Ok thanks for getting on this.
November 5, 2015 at 7:26 pm in reply to: add text between quantity and add to cart button – product page #531135Thanks Yigit, but what I meant is a bit different – between the plus sign and the ‘Add to Cart’ button i need to squeeze in some text such as ‘meter’. Does this make sense?
I have but no reply yet. I’ll wait then.
Thanks anywayAlas, still not working.
Thanks for your reply Rikard, but this didn’t work. It looks like the correct code, my widget is called ‘header’. Have you got another idea what could work?
ThanksHi Rikard,
I followed the above instructions and works well. In fact as I needed to add an image rather than text I used the text widget and added the following in the Content area:
<img src="http://domainname/locationoffile.jpg" />
Anyway, what I would like to ask you is how to make it disappear when scrolling OR make it smaller similar to how the logo and menu work while scrolling down.Thanks
-
AuthorPosts