Forum Replies Created
-
AuthorPosts
-
Great thanks Ismael I didn’t suss out how the “Configure post options worked. Now sorted.
Many thanks
RobThanks Ismael,
Unfortunately it is not working. I added the custom field in the product then added [meta:custom_price] to the dynamic content area (Grab: https://pageshot.net/RrmwM8d3qHQE25aX/46.32.240.35.sure-clip.co.uk) but the layers slider price is blank.
Login below if you need it.
I have done this on the fifth product in the slideshow. Here is a link to the edit product page:
http://46.32.240.35.sure-clip.co.uk/wp-admin/post.php?post=875&action=editThanks
RobHi Basilis,
This is the slideshow:
I want the big green price to update automatically when the product price changes.
In LayerSlider content I have gone into the “Dynamic content from posts” selected products under “Configure post options”. It lists all products but doesn’t let you select them or anything.Thanks
RobPlease close it
thanksNice one Nikko! Works a treat.
For anyone else I changed:
$content_output .= '<img src="'. $image['sizes']['thumbnail'].'" alt="'. $image['alt'].'" />';
to
$content_output .= '<img src="'. $image['sizes']['thumbnail'].'" alt="'. $image['alt'].'" title="'. $image['title'].'" />';
Thanks
RobDoh!
Here is a link to a custom post type (story) with 3 images:
http://shaftesbury-remembers.goldhillmuseum.org.uk/story/frederick-john-ford/
Thanks NikkoBrilliant! Thanks Ismael. That works great.
Are you sure? At the beginning of this thread you said it WAS possible. I then followed a load of instructions from you. If it isn’t possible why didn’t you say that at the start and save us both a load of time.
I’ll ask the question again. Perhaps one of your colleagues might have an idea:
On a mobile device in the catalogue (tractor) page the sidebar shows at the bottom after you scroll through all the products for that category. I need it to show the sidebar or a widget at the top so they can select an attribute (parts type) from the Woocommerce Layered Nav widget first. (I cannot envisage a scenario where having the sidebar after scrolling through all the products would be of any use on mobile devices.)
Thanks
RobHi Andy,
Okay I now have content-product.php in a woocommerce folder in my child theme. What edit do I make to this document to achieve your suggestion:
“Instead you could try to work with a widget element from ALB, which you show on mobile devices only.”
ThanksSorry Andy. I am being dense. How do I add a color section to the default products page.This is an example of the page it needs to be on: http://fordtractorsales.co.uk/product-category/10-series/2610/
It is not editable under Pages it is generated when you click a category (tractor). Also I don’t want it to appear on the parent category page (/10-series/ in the url above).
Thanks
RobHi Andy,
How do I add the widget to the top of the default products page? If you remember it is there that I need to show a widget with the same content as the sidebar. Your CSS code will only work on the test page you asked me to create.
Thanks
RobHi Andy I have changed the password. See below.
Thanks
RobHi Andy
I have created a page with a widget in a color section at the top and given it an ID of ‘mobilemenu’. The color section below has an ID of ‘conent’ for testing purposes.
http://fordtractorsales.co.uk/robs-mobile-test-page/
The widget is a copy of the Shop Overview Page sidebar so alongside a search box and a back button it has 6 Woocommerce Layered Nav widgets with the 6 Attributes. The Attributes menu does not show any content on the test page because it only shows attributes available for the category (tractor) page it is on. (e.g. http://fordtractorsales.co.uk/product-category/1000-series/2000/)
I have enabled sidebar on the page but it is showing below the content for some reason.
I have disabled the Sidebar on Smartphones In the Theme Options.Many thanks
RobYes good idea! A widget at the top of the page with the same as the sidebar would work as long as it only shows when the sidebar gets hidden. Can you advise the procedure for that?
Thanks
RobGreat thanks Yigit. I noticed it seemed to be the Layerslider.
Cheers
RobHi I just noticed that I had not responded to Yigit’s question. I always keep my theme up to date so the latest version currently 3.8.4. I just ran it again and got a similar result.
This is the site I ran it on http://www.consolite.co.uk/
This is the new report:
FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
——————————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–January 25, 2017 at 2:04 pm in reply to: Remove large Category image at the top of products and sub cats #738360Wow that was fast!
Perfect thanks.
RobJanuary 25, 2017 at 1:57 pm in reply to: Remove large Category image at the top of products and sub cats #738353Sorry Yigit here you go:
January 19, 2017 at 6:44 pm in reply to: Shop Categories plugin that works with Enfold & Woo #736020Thanks Andy I think you are right. Woocommerce recommend using one of their own plugins called Brands and make each tractor a brand. I am going to give it a go next.
Thanks for your help.
RobJanuary 13, 2017 at 5:39 pm in reply to: Shop Categories plugin that works with Enfold & Woo #733243Sorry ignore last post. I don’t think it has anything to do with the theme.
January 13, 2017 at 5:31 pm in reply to: Shop Categories plugin that works with Enfold & Woo #733235Unfortunately Basilis’ suggestion is not sufficient on its own. I need to use a product filter.
The plugin I mentioned before looks like it will do what I need but for some reason it only shows the widget title in the sidebar not the categories below. I have put the widget in a page and it works fine. Is the Enfold theme blocking the content in the sidebar or something?
Plugin – https://wordpress.org/plugins/woocommerce-products-filter/
Page where widget works – http://fordtractorsales.co.uk/robs-test-page/
Sidebar where it doesn’t – http://fordtractorsales.co.uk/product-category/10-series/2610/
WOOF page – http://fordtractorsales.co.uk/wp-admin/admin.php?page=wc-settings&tab=woof
login below
Thanks
RobJanuary 13, 2017 at 4:09 pm in reply to: Shop Categories plugin that works with Enfold & Woo #733173Thanks Basilis Will do.
I think I also have a similar problem.
Could you please write your domain?Emrah – I would need to give you a login as it is behind a maintenance page. Also there is nothing to see yet. I will post the url when it is live.
January 12, 2017 at 7:11 pm in reply to: Shop Categories plugin that works with Enfold & Woo #732789I have been recommended this plugin:
https://wordpress.org/plugins/woocommerce-products-filter/
Do you know if it works okay with Enfold?
Thanks
RobThanks Rikard! Works a treat. Very useful trick to know.
RobNice one Rikard! It didn’t work but I rejigged it to the following and it works great:
#top .widget_nav_menu ul ul li a { padding: 2px 1px 2px 8px; } #top .widget_nav_menu ul ul li { display:inline-block !important; }
My faith also restored in you guys.
RobVERY disappointed with this answer Basilis. I was only asking for a little help or pointing in the correct solution. Enfold as a shop does not function as well as your competitors and doesn’t allow a lot of plugins that might have helped with custom menus. After purchasing this theme a dozen or so times, if this is what your support has come to, I doubt I will be buying it again.
RobThanks a lot Nikko. That got rid of the color as well so I cobbled both together and this works:
@media only screen and (max-width:767px) { .header_color .header_bg { background: #006598 !important; } }
Thanks again for your helpHi Viney,
Many thanks but as per 3rd post I gave up on the idea of a striped background. The client wanted a picture of a tractor instead. What I am trying to do is hide that background picture of a tractor on small screens as it gets overlapped by the logo. I tried this code but it didn’t work:
@media only screen and (max-width: 767px) { .header_color { background: #006598 !important; }}
Thanks
RobHi Basilis,
I have tried a few different ways but none work. This is what I expected to work:@media only screen and (max-width: 767px) { .header_color { background: #006598 !important; }}
Can you see what I have done wrong?
Thanks
RobOkay thanks. What is the best css to use to hide the background header image on mobile? This is the css that adds it:
.header_color .header_bg { background: #006699 url(//fordtractorsales.co.uk/wp-content/uploads/2016/11/Ford-Tractor-Spares-Header-Tractor-88.png) bottom center no-repeat scroll; }
Ta
Rob -
AuthorPosts