-
AuthorPosts
-
May 11, 2019 at 4:46 am #1099470
Hi,
It should be in the woocommerce plugin folder at:
\wp-content\plugins\woocommerce\templates\cart\cart-shipping.php
Enfold doesn’t overwrite that one.
The images typically open in a lightbox, unless the lightbox is disabled in the theme settings, or elsewhere.Best regards,
MikeJuly 2, 2019 at 8:35 pm #1115267Hi Mike,
Long time no see. Hope all is well and happy upcoming 4th of July!
I’m having a bit of trouble with the banner at the top of the shop page: https://www.bonjiglass.com/product/
I want to turn the text into a Testimonial Slider. I deleted the text “Bonji KITS come with: 2 Bowls, Screens, Grinder, Stickers, 4ft Hemp Wick” and replaced it with the shortcode for the slider: [sp_testimonials_slider slides_column=”1″]
For some reason the text is still showing (i deleted cache, so might just be a delay) and the slider isn’t coming up. Would the shortcode work here or is this a more complicated process?
Thanks,
-DanielJuly 5, 2019 at 12:58 am #1115943Hi,
Happy upcoming 4th of July!
I took a look at adding shortcodes there and tried a few different approaches but unfortunately, I couldn’t execute the shortcode in the Shop Description.
I was able to accomplish it by doing this, first I used the “shortcode wand” in a default post to get the “Testimonial Slider” shortcode:[av_testimonials style='slider' columns='2' grid_style='' interval='3' font_color='' custom_title='' custom_content='' av_uid='av-jxovfxx1' custom_class='' admin_preview_bg=''] [av_testimonial_single src='' name='Tom' subtitle='Happy Customer' link='http://' linktext=''] Good Times [/av_testimonial_single] [av_testimonial_single src='' name='Bob' subtitle='Happy Customer' link='http://' linktext=''] This is the best! [/av_testimonial_single] [/av_testimonials]
Then I created a “shortcode” in my child theme functions.php:
function testimonial_sc( ){ return do_shortcode("[av_testimonials style='slider' columns='2' grid_style='' interval='3' font_color='' custom_title='' custom_content='' av_uid='av-jxovfxx1' custom_class='' admin_preview_bg=''] [av_testimonial_single src='' name='Tom' subtitle='Happy Customer' link='http://' linktext=''] Good Times [/av_testimonial_single] [av_testimonial_single src='' name='Bob' subtitle='Happy Customer' link='http://' linktext=''] This is the best! [/av_testimonial_single] [/av_testimonials]"); } add_shortcode( 'short_code', 'testimonial_sc' );
This will show the Testimonial Slider when the shortcode “[short_code]” is used.
Then I edited: \enfold\config-woocommerce\config.php
on about line 1089, look for:if($description) $output .= "<h1>".$description."</h1>";
and change to:
if($description) $output .= "<h1>".do_shortcode("[short_code]")."</h1>";
and then you also have to make sure there is something in the Enfold Theme Options > Shop Options > Shop Description for this to work.
in this screenshot you can see it working, but you mat wish to use some css to adjust the Testimonial Slider colors.
Please try to follow the steps, and let us know if this helps.Best regards,
MikeJuly 9, 2019 at 1:13 am #1116823Hi Mike,
I tried following your steps above. It didn’t seem to work.
Any chance you can take a look for me? It seems like I did everything right.
Thanks,
-DanielJuly 9, 2019 at 2:24 am #1116837Hi,
I took a look at your site and saw the message that your “Disabling of template builder elements” setting was “load only used elements” so I set it to “load all elements”
Now it works, Please see the screenshot in Private Content area.
I saw your font was white on white, so I added this css:.avia-testimonial-content p { color: #000 !important; }
Please clear your browser cache and check.
Best regards,
MikeJuly 9, 2019 at 5:40 am #1116894Sweet, that seemed to do the trick. I added in my own text, but its taking a bit for the site to adjust. It should work though, thank you so much.
Another small question. Is there a way to make a category not show up in the shop (https://www.bonjiglass.com/product/). I’m looking to have the Custom category not show up when this page loads, but I can’t find the setting to control that.
Thank you so much,
-DanielJuly 10, 2019 at 8:25 am #1117324Hi,
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelJuly 12, 2019 at 10:17 pm #1118213Fair enough, though having one thread is incredibly convenient from a user point of view. That way I can keep everything in one place, but I do understand the policy as well.
Thank you for your help, you guys have the best support I’ve ever seen for any product. Appreciate yall!
July 12, 2019 at 10:44 pm #1118231Hi Dzimnikov,
Glad we could help :)
Closing this one.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Change background-image for mobile’ is closed to new replies.