Forum Replies Created
-
AuthorPosts
-
November 16, 2017 at 4:08 pm in reply to: W3C Validation Issue On Social Icons, Document Uses Unicode Private Use Area #877591
Ismael
That makes sense, thanks for letting me know!
November 13, 2017 at 7:17 pm in reply to: W3C Validation Issue On Social Icons, Document Uses Unicode Private Use Area #876217Unfortunately that did not remove the above character from the line of code. Any other suggestions?
Thank you for your input on this by the way!
November 13, 2017 at 7:09 pm in reply to: Add Shop Description To Bottom Of Enfold Shop Page To Fix Text / HTML Ratio #876213Adding a container did the trick, thank you for your help on this!
November 10, 2017 at 5:58 pm in reply to: Add Shop Description To Bottom Of Enfold Shop Page To Fix Text / HTML Ratio #875257Yes, preferrably
November 9, 2017 at 6:29 pm in reply to: Add Shop Description To Bottom Of Enfold Shop Page To Fix Text / HTML Ratio #874804Perfect, just what I needed – thank you!
November 8, 2017 at 5:32 pm in reply to: W3C Validation Issue On Social Icons, Document Uses Unicode Private Use Area #874264There’s no way to edit the function in functions.php to remove the character out of compliance with W3C?
November 8, 2017 at 5:30 pm in reply to: Add Shop Description To Bottom Of Enfold Shop Page To Fix Text / HTML Ratio #874263Yes, sorry, I should’ve linked our site.
https://www.precision-elec.com
We setup a frontpage as the Woocommerce shop page. If I add any text to the frontpage it puts it at the top of the page, we’d prefer it at the bottom.
November 6, 2017 at 5:07 pm in reply to: Add Shop Description To Bottom Of Enfold Shop Page To Fix Text / HTML Ratio #873178I don’t understand. We can write up the description, that is not the problem. We also have Yoast but right now there is no place on the Enfold theme for us to actually put our description on the shop page. If I write it into the Frontpage’s content then it just pushes the entire shopping cart down. Is it possible to add a shop page description to the bottom of the shop Frontpage?
June 22, 2017 at 3:52 pm in reply to: Replace $0.00 Text On Product Listings With Custom Message #811623Found out the source of the problem… well… kind of.
Apparently when I switched over my theme it didn’t fully register the blank dollar amounts as blank dollar amounts. So setting all of my blank dollar amounts to 1 dollar and then back to blank and saving them fixed the issue. Not sure why it thought they were all zero dollars when they were blank but this must’ve been a database issue.
Thank you for your feedback on this.
June 19, 2017 at 3:55 pm in reply to: Replace $0.00 Text On Product Listings With Custom Message #809842No advice on this? It’s important that we redirect our customers to alternative products rather than display a $0.00 price.
Please let me know!
Thank you!
June 16, 2017 at 5:17 pm in reply to: Replace $0.00 Text On Product Listings With Custom Message #809011Additional Notes:
Here is the hook reference for woocommerce_empty_price_html: https://docs.woocommerce.com/wc-apidocs/source-class-WC_Product.html#1642/** * Returns the price in html format. * @return string */ public function get_price_html( $deprecated = '' ) { if ( '' === $this->get_price() ) { return apply_filters( 'woocommerce_empty_price_html', '', $this ); } if ( $this->is_on_sale() ) { $price = wc_format_sale_price( wc_get_price_to_display( $this, array( 'price' => $this->get_regular_price() ) ), wc_get_price_to_display( $this ) ) . $this->get_price_suffix(); } else { $price = wc_price( wc_get_price_to_display( $this ) ) . $this->get_price_suffix(); } return apply_filters( 'woocommerce_get_price_html', $price, $this ); }
June 16, 2017 at 5:11 pm in reply to: Replace $0.00 Text On Product Listings With Custom Message #809007John
I already added that code (along with many other customizations) to the child theme functions.php file and this specific filter does not work, all the other code customizations in functions.php transferred from our old theme are working great.
I’m not sure what Enfold does differently for displaying blank pricing but it seems to overwrite the woocommerce_empty_price_html function so this filter does not work.
Why does Enfold display $0.00 when the price field is blank? The default woocommerce behavior for this is to display the text “FREE!”
Any other suggestions would be extremely helpful.
- This reply was modified 7 years, 6 months ago by pcmichiana.
May 24, 2017 at 6:47 pm in reply to: Main Product Images Are All Really Low Resolution Until You Click On Them #799081Thank you!
This worked for the product pages but the store pages are still loading low resolution images. Any thoughts?
http://www.precision-elec.com/shop/May 19, 2017 at 6:18 pm in reply to: Main Product Images Are All Really Low Resolution Until You Click On Them #796704Ok it appears that it loads the lower resolution image until you click on the product page gallery image. After that it loads the larger one. Any way to make sure it’s loading the higher resolution image on first load?
- This reply was modified 7 years, 7 months ago by pcmichiana.
May 19, 2017 at 6:16 pm in reply to: Main Product Images Are All Really Low Resolution Until You Click On Them #796703Ok for some reason after I posted that link above now it loads the product image properly.
Store images seem to have the same issue.
http://www.precision-elec.com/shop/May 6, 2017 at 9:30 pm in reply to: Is It Possible To Have Subfolders Overwrite Parent Theme PHP In Child Theme? #788942Ismael
You nailed it!
This opens many opportunities for me. Thank you for all your help on this! I was able to use hooks to add my custom code functionality to the product page and even move content around.
Excellent theme guys, keep up the great work.May 3, 2017 at 3:10 pm in reply to: Is It Possible To Have Subfolders Overwrite Parent Theme PHP In Child Theme? #787174Ok so apparently it’s something specific with the theme or the file I am calling.
If I create a separate file in the config-woocommerce subdirectory called phpinfo.php and then run a basic phpinfo(); call then the require_once function call works if I call config-woocommerce/phpinfo.php – the issue comes back if I switch back to config-woocommerce/config.php
I also attempted to copy the entire parent theme into the child them in the hopes that other includes in those files may be picked up… but no luck.
Any other thoughts on this? I’m still plugging away at it.
As a side note, if Enfold is truly a “eCommerce” theme as advertised then there really needs to be a way to edit the product page. That is the single most important landing page for split testing / eCommerce optimization.May 3, 2017 at 2:52 pm in reply to: Is It Possible To Have Subfolders Overwrite Parent Theme PHP In Child Theme? #787167Jordan
Yes I have, that was my original strategy. Here are my file structuresParent Theme: Enfold enfold/functions.php enfold/style.css enfold/header.php enfold/config-woocommerce/config.php
File structure for the child theme
Child Theme: Enfold-Child enfold-child/functions.php enfold-child/style.css enfold-child/header.php enfold-child/config-woocommerce/config.php
The files in the root directory of the child theme work perfectly (functions.php, style.css, header.php) but any time I attempt a child theme overwrite of a subdirectory (config-woocommerce/config.php) it does not work.
- This reply was modified 7 years, 7 months ago by pcmichiana.
May 2, 2017 at 10:44 pm in reply to: Is It Possible To Have Subfolders Overwrite Parent Theme PHP In Child Theme? #786771Jordan
Thank you for your response! I saw that solution at a few other places and I’ve been trying to implement it into my Child Theme functions.php file over the past couple of hours with no luck. I keep getting an internal server error 500 when it happens. I’m assuming it’s because the function is pointing to the wrong sub-directory when it is called for some reason.Here is my code:
/* Grab Custom PHP Overwrites In Child Theme Subdirectories */ require_once( get_stylesheet_directory() . '/config-woocommerce/config.php' );
I also attempted it your way
/* Grab Custom PHP Overwrites In Child Theme Subdirectories */ require get_stylesheet_directory() . '/config-woocommerce/config.php';
I confirmed I have an exact copy of the /config-woocommerce/config.php from the parent theme in my child theme.
Any thoughts on this? I’m not sure where else the function could be pointing too other than my child theme directory for that function call.- This reply was modified 7 years, 7 months ago by pcmichiana.
April 21, 2017 at 7:25 pm in reply to: Integrating Autoposting From Zapier Into Enfold Advanced Layout Editor #781358Darn
So there’s no way to just switch on whatever changes a “standard editor” to an “advanced layout editor” post in the theme’s functions.php or style.css file?
I can have it create a draft, manually go into the post, click the “advanced layout editor” and click publish and then it works fine.
It seems that there would be a quick and dirty way to default the post to “advanced layout editor” rather than require me to go in, click the button, and then resave/publish?
Do you at least have any idea where the toggle between basic layout and advanced layout editor setting is stored in the database / theme?
Thank you for any help or direction you can give me
December 1, 2016 at 5:13 pm in reply to: Thumbnails Generated As Squares On Enfold Archive Pages #719348Ismael,
You’re the man!
I appreciate the help, above solution worked perfectly.
Keep up the great work.
November 29, 2016 at 6:07 pm in reply to: Thumbnails Generated As Squares On Enfold Archive Pages #718421Regenerating the thumbnails apparently broke the two that were working before. Now all four are showing the square thumbnail.
-
AuthorPosts