Thanks!
And how can I modify this cart here? http://pho.to/AY4C0
I need to translate it and to erase Cart or in this case Korpa word.
Hi there, here are credentials.
Thanks!
And how can I modify this cart here? http://pho.to/AY4C0
I need to translate it and to erase Cart or in this case Korpa word.
All done, but still it is not working as good.
Hi Eva,
You can replicate that by changing few time quantity of item in cart and refreshing.
Hi there,
I paste this code in function.php in child
// **********************************************************************//
// ! Top Cart Widget
// **********************************************************************//
if(!function_exists(‘etheme_top_cart’)) {
function etheme_top_cart() {
global $woocommerce;
?>
<div class=”shopping-cart-widget a-right” <?php if(etheme_get_option(‘favicon_badge’)) echo ‘data-fav-badge=”enable”‘ ?>>
<div class=”cart-summ” data-items-count=”<?php echo $woocommerce->cart->cart_contents_count; ?>”>
cart->cart_contents_count; ?>”>
<div class=”cart-bag”>
<?php _e(‘Cart’, ETHEME_DOMAIN); ?>
<?php etheme_cart_number(); ?>
<?php etheme_cart_totals(); ?>
</div>
</div>
<div class=”widget_shopping_cart_content”>
<?php
woocommerce_mini_cart();
?>
</div>
</div>
<?php
}
}
but nothings happened. Link is still there.
Hi Eva,
I remove that code but it still have the link. you can check on http://www.maminaprodavnica.cia.rs. I removed the link in the child file: /wp-content/themes/legenda-child/framework/woo.php
Thanks!
Hi Rose,
It is still below revolution slider now.
And is it possible to cancel link when somebody click on cart. It immediately send me to cart without ability to check to dropdown first.
Thanks Eva!!!
And likn for login
Here are credentials.
Dear Eva,
Thanks for quick replay.
I am using products element in VC but I do not have option order by. I have just sorting. I am sending you screenshot https://postimg.org/image/9eghrzfz3/
How can I get that order by option.
I have also products widget by woocommerce, but, it is not displaying 4 colomns.
Excellent,
May I ask one more thing regarding brand. I want to add brand name next to category name in product list page. How can I achieve that?
Great Eva, Thanks!!!
And is there a possibility to remove from that brand description page sidebar and sorting toolkit that is above brand description? Now it pulls me on this page sidebar from shop page.
And also, how can I create page with all of the brands?
I forgot to mansion that I made changes as you suggested to one of the users here how to change archive-product.php to display Brand description on products page.
I want to to bi white number and currency formatted first number then space and then currency.
Just to specify when will be next update? Do you have any idea?
I have not insert it yet. I am waiting for your response if that is possible so I can add.
Thanks!!!
Hi Eva,
It is not ok, now I have two switcher in desktop version look at it on this screen shot: https://postimg.org/image/whgj2z3tn/
Also, now in menu that opens in mobile version I do not have switcher, and I need that one.
Sorry for all of this,
No, I did not edited theme files to add switcher in mobile version.
I edited files by your guidelines to add switcher in top menu.
Ok, look at the cart now. It removes items from cart when I try to add another one.
I am sending you preview of notification http://pho.to/AMyqh
Here are credentials.
Also did you done something with site? Now cart works, but site do not look like it look previous. Look at this two:
https://postimg.org/image/g95jji1vx/
https://postimg.org/image/3ufjl6vc9/
It seems like my child css suddenly do not work.
Ok how about this, I am asking you to help me with finding out where did I get wrong? It should work when I add it to function.php, but it does not. Do you maybe know where is the mistake?
Sorry but my budget is quite low and I can not take custom support. 🙁
<?php
add_filter( ‘wp_nav_menu_items’, ‘my_wp_nav_menu_items’, 10, 2 );
function my_wp_nav_menu_items( $items, $args, $ajax = false ) {
// Top Navigation Area Only
if ( ( isset( $ajax ) && $ajax ) || ( property_exists( $args, ‘theme_location’ ) && $args->theme_location === ‘top_nav’ ) ) {
// WooCommerce
if ( class_exists( ‘woocommerce’ ) ) {
$css_class = ‘menu-item menu-item-type-cart menu-item-type-woocommerce-cart’;
// Is this the cart page?
if ( is_cart() )
$css_class .= ‘ current-menu-item’;
$items .= ‘<li class=”‘ . esc_attr( $css_class ) . ‘”>’;
$items .= ‘cart->get_cart_url() ) . ‘”>’;
$items .= wp_kses_data( WC()->cart->get_cart_total() ) . ‘ – <span class=”count”>’ . wp_kses_data( sprintf( _n( ‘%d item’, ‘%d items’, WC()->cart->get_cart_contents_count(), ‘simple-shop’ ), WC()->cart->get_cart_contents_count() ) ) . ‘</span>’;
$items .= ‘‘;
$items .= ‘‘;
}
// Easy Digital Downloads
else if ( class_exists( ‘Easy_Digital_Downloads’ ) ) {
$css_class = ‘menu-item menu-item-type-cart menu-item-type-edd-cart’;
// Is this the cart page?
if ( edd_is_checkout() )
$css_class .= ‘ current-menu-item’;
$items .= ‘<li class=”‘ . esc_attr( $css_class ) . ‘”>’;
$items .= ‘‘;
$items .= wp_kses_data( edd_cart_subtotal() ) . ‘ – <span class=”count”>’ . wp_kses_data( sprintf( _n( ‘%d item’, ‘%d items’, edd_get_cart_quantity(), ‘simple-shop’ ), edd_get_cart_quantity() ) ) . ‘</span>’;
$items .= ‘‘;
$items .= ‘‘;
}
}
return $items;
}
/**
* This function updates the Top Navigation WooCommerce cart link contents when an item is added via AJAX.
*/
add_filter( ‘woocommerce_add_to_cart_fragments’, ‘my_woocommerce_add_to_cart_fragments’ );
function my_woocommerce_add_to_cart_fragments( $fragments ) {
// Add our fragment
$fragments[‘li.menu-item-type-woocommerce-cart’] = my_wp_nav_menu_items( ”, new stdClass(), true );
return $fragments;
}
You did not understood me, I do not want to use that plugin at all. I just want to move cart that is integral part of Legenda theme inside main menu.
So I want to erase plugin, and not to use it.
Guys, you are the best support that I ever encountered!!!!
Thanks!!!!
I will recommend your theme always!
Thank you very much for this.
Can I ask one last thing, regarding this? I am trying to put all of this in line, not to be in two line in top bar, but whole day can not succeed. Can you help me, how to set up language to be before my account, or “PRIJAVI SE” link.
Thanks once again!!!
Hi there,
When I edited this file, language switcher added itself in top left cornet, and I can not move it to the right side, next to my account section.
Do you know how can I do this?
Thanks very much!
Petar
Ok, then, please can you help me with adding cart inside main menu without using additional plugin?
Thanks!!!
Hi there,
Thanks for a quick replay!
I already use WPML so that is done.
Regarding theme-functions.php file, do I copy folder framework and theme-functions.oho file in child theme and then edit it, or do I just copy file there?
Also, If you have done, do you have part of the code whic can I enter there?
Yes, hover effect with description and slider effect works fine, but tooltip and swap do not work. I do not know what swap does also. Is there a way to feature image of the product have effect of changed image from gallery or anything else?
I used ID shortcode to call product on my homepage. I set now swap for you to see.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Transportation and LogisticsCars & bikes
(live demo, opens in a new tab)
Dokan Multivendor MarketplaceFood & drinks
(live demo, opens in a new tab)
Sport StoreSports & travel
(live demo, opens in a new tab)
Purely HandmadeHandmade & Crafts
(live demo, opens in a new tab)
Hipster StoreFashion
(live demo, opens in a new tab)
Organic Store 02Food & drinks
(live demo, opens in a new tab)
ChurchBusiness
(live demo, opens in a new tab)
Jewelry StoreJewellery
(live demo, opens in a new tab)
DesignersBusiness
(live demo, opens in a new tab)
Spice StoreFood & drinks
(live demo, opens in a new tab)
Artmaxy StoreBooks & art
(live demo, opens in a new tab)
Wedding StoreFashion
(live demo, opens in a new tab)
GamingToys & games
(live demo, opens in a new tab)
Jewellery Niche MarketMarketplace
(live demo, opens in a new tab)
Furniture Store 03Furniture
(live demo, opens in a new tab)
CorporateBusiness
(live demo, opens in a new tab)