Forum Replies Created
-
AuthorPosts
-
Hi beni1880,
I'm so sorry, you can do the below:
Go to: wp-content/themes/yolo-canifa/includes/customizer/options.php
about 599-609 lines:if ( ! function_exists( 'has_site_icon' ) ) : $helper->add_control( 'yolo_custom_favicon', 'yolo_image', esc_html__( 'Custom Favicon', 'yolo-canifa' ), '', array( 'preview_type' => 'custom' ) ); endif;
Change to(comment if clause):
// if ( ! function_exists( 'has_site_icon' ) ) : $helper->add_control( 'yolo_custom_favicon', 'yolo_image', esc_html__( 'Custom Favicon', 'yolo-canifa' ), '', array( 'preview_type' => 'custom' ) ); // endif;
Please try it, if not true, please contact for us.
----------------
Best regards,
trinhnv
Hi NSS,
Please view this link
https://yolotheme.com/forums/topic/strange-url/Thank you!
Hi borge 77,
Thank your for using our product. I'm so sorry your issue.
1. prev/next
Go to: {root}/wp-content/themes/yolo-canifa/includes/woocommerce.php
Find to about:
965 lines:<?php echo esc_html($previous_thumb);?> change to <?php echo $previous_thumb;?>
and 997 lines
<?php echo esc_html($next_thumb);?> change to: <?php echo $next_thumb;?>
2. About text
- Go to: wp-content/themes/yolo-canifa/woocommerce/checkout/thankyou.php
About 49 lines:
<strong><?php echo esc_html($order->get_formatted_order_total()); ?></strong>
Change to: ( remove esc_html )
<strong><?php echo $order->get_formatted_order_total(); ?></strong>- Go to: wp-content/themes/yolo-canifa/woocommerce/order/order-details.php
About 44 lines:
<td><?php echo esc_html($total['value']); ?></td>
Change to ( remove esc_html ):
<td><?php echo $total['value']; ?></td>
If not true, please contact for us, we will check for you soon.
Best regards,
trinhnvHi beni1880,
Thank you for your feedback,
To change your favicon, you can do this:
On site: CLick Custominzer ->Header -> Logo -> Custom favicon
You can choose favicon here.If not true, please contact for us.
---------------
Best regards,
trinhnv
Hi borge77,
Thanks!
Hi Goozmo,
Thank you for feedback us.
I’m sorry for this issue, this is our mistake and we will update package soon.
So you can disable this notice by go to direction
{root}/wp-content/plugins/yolo-canifa-library/admin/importer/yolo-setup-install.php line 32
add_action( ‘admin_notices’, array( $this, ‘notice_html_install’ ) );
and comment or remove this code.This topic: https://yolotheme.com/forums/topic/canifa/
Regard,
trinhnv
Hi borge77,
Thank you for feedback.
This is struct of child-theme folder (in attachment)
You must have this files, if not yet, you must create them
Attachments:
You must be logged in to view attached files.Hi borge77,
Thank you for your feedback.
If you want to modify in child theme, you can do the following:
All attachments is in child-theme.
1. Go to
{root}/wp-content/themes/yolo-canifa/includes/woocommerce.php
find to function yolo_minicart( $content = false ){...}, about 83 lines.
You wrap it in clause if
if ( !function_exists( 'yolo_minicart' )) { function yolo_minicart( $content = false ) {...} }
or you can see attachment
2. Go to your child-theme
{root}/wp-content/themes/yolo-canifa-child/functions.php
add this code:
require_once( get_stylesheet_directory() . '/includes/woocommerce.php' );
3. Go to
{root}/wp-content/themes/yolo-canifa-child/includes/woocommerce.php
if not yet yolo-canifa-child/includes/woocommerce.php, you have to create it.
and add this code into this file:
<?php if ( class_exists( 'woocommerce' ) ) { // Menu cart if ( !function_exists( 'yolo_minicart' )) { function yolo_minicart( $content = false ) { global $woocommerce; $cart_output = ""; $cart_total = $woocommerce->cart->get_cart_total(); $cart_count = $woocommerce->cart->cart_contents_count; $cart_count_text = yolo_product_items_text( $cart_count ); $cart_has_items = ''; $cart_no_items = ''; if ( $cart_count != "0" ) { $cart_has_items = ' has-items'; } if ( $cart_count <= "0" ) { $cart_no_items = ' no-items'; } $output = ''; if ( ! $content ) { $output .= '
- . $cart_no_items . '">. esc_html__( 'View cart', 'yolo-canifa' ) . '" class="cart-button" href="' . $woocommerce->cart->get_cart_url() . '">' . '. $cart_has_items . '">'; if ( $cart_count != "0" ) { $output .= "" . $cart_count . ""; } $output .= ''; $output .= ''; $output .= '
'; } return $output; } } }'; } if ( $cart_count != "0" ) { $output .= ''. $cart_count_text . ' ' . esc_html__( 'in the shopping cart', 'yolo-canifa' ) . ''; $output .= ''; foreach ( $woocommerce->cart->cart_contents as $cart_item_key => $cart_item ) { $cart_product = $cart_item['data']; $product_title = $cart_product->get_title(); $product_short_title = ( strlen( $product_title ) > 25 ) ? substr( $product_title, 0, 22 ) . '...' : $product_title; if ( $cart_product->exists() && $cart_item['quantity'] > 0 ) { $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''. esc_html__( "Price", "woocommerce" ) . ' ' . woocommerce_price( $cart_product->get_price() ) . ''; $output .= ''. esc_html__( 'Quantity', 'yolo-canifa' ) . ' ' . $cart_item['quantity'] . ''; $output .= ''; $output .= apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '×', esc_url( $woocommerce->cart->get_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'yolo-canifa' ) ), $cart_item_key ); $output .= ''; } } $output .= ''; $output .= ''; $output .= ''. esc_html__( 'Cart Subtotal', 'yolo-canifa' ) . ' ' . $cart_total . ''; $output .= ''; if ( version_compare( WOOCOMMERCE_VERSION, "2.1.0" ) >= 0 ) { $cart_url = apply_filters( 'woocommerce_get_checkout_url', WC()->cart->get_cart_url() ); $checkout_url = apply_filters( 'woocommerce_get_checkout_url', WC()->cart->get_checkout_url() ); $output .= '. esc_url( $cart_url ) . '">' . esc_html__( 'View Cart', 'yolo-canifa' ) . ''; $output .= '. esc_url( $checkout_url ) . '">' . esc_html__( 'Checkout', 'yolo-canifa' ) . ''; } else { $output .= '. esc_url( $woocommerce->cart->get_cart_url() ) . '">' . esc_html__( 'View Cart', 'yolo-canifa' ) . ''; $output .= '. esc_url( $woocommerce->cart->get_checkout_url() ) . '">' . esc_html__( 'Checkout', 'yolo-canifa' ) . ''; } $output .= ''; $output .= ''; } else { $output .= ''. esc_html__( 'Your shopping bag is empty.', 'yolo-canifa' ) . ''; $shop_page_url = ""; if ( version_compare( WOOCOMMERCE_VERSION, "2.1.0" ) >= 0 ) { $shop_page_url = get_permalink( wc_get_page_id( 'shop' ) ); } else { $shop_page_url = get_permalink( woocommerce_get_page_id( 'shop' ) ); } $output .= ''; $output .= ''; $output .= '. esc_url( $shop_page_url ) . '">' . esc_html__( 'Go to the shop', 'yolo-canifa' ) . ''; $output .= ''; $output .= ''; } if ( ! $content ) { $output .= ''; $output .= '4. Go to
{root}/wp-content/themes/yolo-canifa-child/style.css
if not yet, you have to create it and add this code at end file.
.yolo-main-menu .navbar-nav > li.menu-item.no-items{ display: none !important; }
Please try it, if not true, contact for me.
---------------
Best regards,
trinhnv
Attachments:
You must be logged in to view attached files.Hi borge77,
Thank you for your feedback.
I feel the appearance of the minicart is familiar to users, even when no items.
But if you want to change it, you can do the following:
1. Go to
{root}/wp-content/themes/yolo-canifa/includes/woocommerce.phpabout 90 lines to 107 lines
add to code:- old code:
$cart_has_items = ''; if ( $cart_count != "0" ) { $cart_has_items = ' has-items'; } $output = ''; if ( ! $content ) { $output .= '
- . esc_html__( 'View cart', 'yolo-motor' ) . '" class="cart-button" href="' . $woocommerce->cart->get_cart_url() . '">' . '. $cart_has_items . '">'; if ( $cart_count != "0" ) { $output .= "" . $cart_count . ""; } $output .= ''; $output .= ''
; $output .= ''; }Change to:
$cart_has_items = ''; $cart_no_items = ''; if ( $cart_count != "0" ) { $cart_has_items = ' has-items'; } if ( $cart_count <= 0 ) { $cart_no_items = ' no-items'; } $output = ''; if ( ! $content ) { $output .= '
- . $cart_no_items . '">. esc_html__( 'View cart', 'yolo-canifa' ) . '" class="cart-button" href="' . $woocommerce->cart->get_cart_url() . '">' . '. $cart_has_items . '">'; if ( $cart_count != "0" ) { $output .= "" . $cart_count . ""; } $output .= ''; $output .= ''; $output .= '
'; }Or you see in attachment.
2. Go to
{root}/wp-content/themes/yolo-canifa/assets/css/yolo.css
Add this code at the end of the file:
.yolo-main-menu .navbar-nav > li.menu-item.no-items{ display: none !important; }
Please try and if not true, contact for us.
----------------
Best regards,
trinhnv
Attachments:
You must be logged in to view attached files.Hi Nick,
Thank you for feedback.
You can do the below:
Go to {root}/wp-content/themes/yolo-canifa/assets/css/yolo.css
find to:.yolo-instagram .yolo-istagram-outer .instagram-image a:hover:before, .yolo-instagram .yolo-istagram-outer .instagram-image a:hover:after { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); }
about 13494 lines,
You can change attribute: opacity : 1 to opacity: 0 or remove it.
If you have any question, please contact for us.
Best regards,
trinhnv
Hi joel,
Thank you for feedback.
My answer: It will automatically detect the minimum and maximum prices on the current page to populate the slider. Default is 10.
If you have any question, please contact for us.
best regards,
trinhnv
- . $cart_no_items . '">. esc_html__( 'View cart', 'yolo-canifa' ) . '" class="cart-button" href="' . $woocommerce->cart->get_cart_url() . '">' . '. $cart_has_items . '">'; if ( $cart_count != "0" ) { $output .= "" . $cart_count . ""; } $output .= ''; $output .= ''; $output .= '
-
AuthorPosts