Forum Replies Created
-
AuthorPosts
-
October 26, 2017 at 2:28 pm in reply to: Change Search results to products search results (Woocommerce) #869204
yes, that was what I wanted, just the products showing, nothing else
- This reply was modified 7 years, 2 months ago by mrb1972.
October 26, 2017 at 2:14 pm in reply to: Change Search results to products search results (Woocommerce) #869195No problem, im not really a coder as such so got it working buy trial and error,, it seems to work so I guess the code is ok :)
That worked, thank you
looks like enfold has some css that hides the woocommerce shop page h1 tag , if anyone knows how to “unhide” it that would be great.. thanks
My site if offline but it happens on the enfold shop demo too, https://kriesi.at/themes/enfold-shop/shop/
if you looks at the source code you will see the same h1 code i posted above, I guess its a woo commerce thing- This reply was modified 7 years, 2 months ago by mrb1972.
October 23, 2017 at 11:22 am in reply to: Change Search results to products search results (Woocommerce) #867558Thanks, that didn’t work quite how I wanted but I did manage to create a new searchform.php file in the child theme and change the form code to this
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>"> <div> <input type="text" id="s" name="s" value="<?php if(!empty($_GET['s'])) echo get_search_query(); ?>" placeholder='<?php echo $search_params['placeholder']; ?>'> <input type="submit" value="<?php echo $icon; ?>" id="searchsubmit" class="button <?php echo $class; ?>" /> <input type="hidden" name="post_type" value="product"> </div> </form>
I works with Relevanssi but i’m not sure if code is technically correct , im not a coder, but it seems to work..
- This reply was modified 7 years, 2 months ago by mrb1972.
October 18, 2017 at 5:27 pm in reply to: Change Search results to products search results (Woocommerce) #865845Because it shows the results as a text list rather than a product list in the shop
- This reply was modified 7 years, 2 months ago by mrb1972.
Ok I have got it working, all a bit odd
The file “product_snippet_button.php” had the code “$output .= ‘<p class=”price”>’ . $product->get_price_html() . ‘</p>’;” already in it but it wasnt working.
Then I noticed another file called “product_snippet_button_orig.php”, which didn’t have the code so I added it and it worked
So for some reason product_snippet_button_orig.php is the file theme (shop demo) seems to use
October 17, 2017 at 11:58 am in reply to: Show Price on Advanced Layout Builder for products #865247Thanks, however that code is already there, but the price isn’t showing for some reason
October 17, 2017 at 11:53 am in reply to: Change Search results to products search results (Woocommerce) #865244Sorry let me try and explain better, I would like the main search function to work in the same way as the “Product Search” widget does, so it only shows products (nothing else) in the gird shop layout!
I have used Relevanssi to only show products but I want the results to show the same way as the “product search” widget does
Hope that makes sense
October 16, 2017 at 10:33 am in reply to: Show Price on Advanced Layout Builder for products #864736Thanks, however the Product Purchase Button doesn’t seem to show the product price (unless I’m doing something wrong) and manually adding the prices isn’t really practical if you have many products
October 10, 2017 at 10:26 am in reply to: Drop down "Heading Font" and "body font" list is different? #862395OK thanks, I just didn’t understand why the heading list has many more font’s ready to use than the body list, for example I can choose the roboto font for the heading but not the body
Sorry, yes that is correct
for example images in grid 1,2,3,4 would be 400px x 400px each and image 5 would be 400px x 800px
Thanks
Thanks, I can’t post a link as the site is running on a localhost as it’s still being developed, all it is is when you type something into the “Ajax Search” bar on in the navbar a box drops down with the search results, I want to change the hover colour of the links in the drop down box, I just can’t seem to fine the CSS for it.
Thanks but that didn’t see to work unfortunately
Unfortunately I can’t provide a link as it’s being developed offline on a localhost machine
Thank you, that work’s to some extent as the image shows ok on the first menu item but knocks out the text alignment on the other menu items (only the first one needs to have an image)
Hi, Unfortunately the site is being designed on a localhost web-server so I cannot post a link , i was just the “Full width submenu” element I wanted to add a small image at the front of it.
Actually don’t worry, I think it works as intended by using the to mailto feature,
-
AuthorPosts