Tagged: x
-
AuthorPosts
-
January 25, 2017 at 5:56 am #1344550
tiagosgdParticipantHello
I am trying to use WooCommerce… but the images are so big on my website!
And, how can I add the cart in the pages of the shop?
http://www.passionistas.pt then menu “LOJA”.
Thanks
TiagoJanuary 25, 2017 at 9:17 am #1344762
ChristianModeratorHey Tiago,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
January 25, 2017 at 12:46 pm #1345082
tiagosgdParticipantThis reply has been marked as private.January 25, 2017 at 5:12 pm #1345412
Rue NelModeratorHello There,
Thank you for the clarifications. The recent articles is a sidebar widget added in your main sidebar. If you do not want to see the recent articles widget in your shop and other woocommerce pages, you can make use of the custom sidebar. All you need to do is to create a custom sidebar and insert different sidebar widgets to be display on the sidebar. For more information, please check out these articles: https://community.theme.co/kb/unlimited-sidebars/, https://community.theme.co/kb/wordpress-adding-widgets/
And to make sure that the cart menu will only be in WooCommerce pages, please add the following code in your child theme’s functions.php file
// // Custom Cart // ============================================================================= if ( ! function_exists( 'x_woocommerce_navbar_cart' ) ) : function x_woocommerce_navbar_cart() { if ( is_woocommerce() || is_cart() || is_checkout() ) { $cart_info = x_get_option( 'x_woocommerce_header_cart_info' ); $cart_layout = x_get_option( 'x_woocommerce_header_cart_layout' ); $cart_style = x_get_option( 'x_woocommerce_header_cart_style' ); $cart_outer = x_get_option( 'x_woocommerce_header_cart_content_outer' ); $cart_inner = x_get_option( 'x_woocommerce_header_cart_content_inner' ); $data = array( 'icon' => '<i class="x-icon-shopping-cart" data-x-icon="" aria-hidden="true"></i>', 'total' => WC()->cart->get_cart_total(), 'count' => sprintf( _n( '%d Item', '%d Items', WC()->cart->cart_contents_count, '__x__' ), WC()->cart->cart_contents_count ) ); $modifiers = array( $cart_info, strpos( $cart_info, '-' ) === false ? 'inline' : $cart_layout, $cart_style ); $cart_output = '<div class="x-cart ' . implode( ' ', $modifiers ) . '">'; foreach ( explode( '-', $cart_info ) as $info ) { $key = ( $info == 'outer' ) ? $cart_outer : $cart_inner; $cart_output .= '<span class="' . $info . '">' . $data[$key] . '</span>'; } $cart_output .= '</div>'; return $cart_output; } else { return ''; } } endif; // =============================================================================Please copy the raw code from here (http://pastebin.com/hCx4NP09) to preserve the unicode html entities or the data-x-icon values.
Hope this helps.
January 27, 2017 at 8:51 am #1347801
tiagosgdParticipantAmazing! Thank you 🙂
January 27, 2017 at 9:26 am #1347829
RahulModeratorGlad we were able to help you out!
Let us know if we can help with anything else.
January 27, 2017 at 9:26 am #1347830
RahulModeratorGlad we were able to help you out!
Let us know if we can help with anything else.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1344550 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
