Home › Forums › Themes Support › Pricom › Mini cart Error
- This topic has 9 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
admin.
-
AuthorPosts
-
October 3, 2023 at 12:00 pm #12211
I have a display problem in the mini cart: although the title of my product is only TENDONI, an error appears in the mini cart because I see the words span. How can I solve it?
Attachments:
You must be logged in to view attached files.October 3, 2023 at 1:56 pm #12219Hi,
Thanks for contacting us and choosing our product!
First of all your support has been expired and you need renew it then update new purchase code in our profile to continue get support in the future:
https://harutheme.com/forums/users/luca/edit/
About this issue it may happen when you install extra plugin. We need to login to your site to check the issue. So please send us your site URL & an WordPress admin account (Private Reply)
Also please make sure you update theme & plugins to the latest version by follow this topic:
Hope this helps!****
Regards,
HaruThemeOctober 3, 2023 at 3:30 pm #12220This reply has been marked as private.October 4, 2023 at 2:20 am #12223Hi,
Sorry but you forgot to send us your site URL.
Please send it to us then we can check your site for you.****
Regards,
HaruThemeOctober 4, 2023 at 7:06 am #12224You’re right, sorry.
the site is https://www.printist.it/
I know that my support license has expired but unfortunately my client stopped his project and I only started working on it a few days ago.
If I can ask you one last thing, on the product page where there is the space dedicated to the size guide I have replaced it with a button for downloading a template: would it be possible to open the download in a new browser tab?
thank you so much in advance.
Greetings
October 4, 2023 at 4:04 pm #12228Hi,
About the issue with HTML tag on Mini Cart you can go to:
wp-content/themes/pricom/woocommerce/cart/ then open file mini-cart.php
Change the code on line 74 from:<?php echo esc_html($product_name); ?>
to:
<?php echo wp_strip_all_tags( $product_name ); ?>
You may need clear cookie to see changes.
About link on new tab please follow this:
https://www.w3schools.com/tags/att_target.asp
user target is _blank
You can renew your support or buy a new license.
Hope this helps!****
Regards,
HaruThemeOctober 5, 2023 at 8:17 am #12229A thousand thanks! you were really very kind!
I solved the cart display problem.
But I didn’t understand where I have to insert is_blank to open the size guide link in a new browser tab.
it’s the last thing I ask you, after which if I still need it I will certainly purchase the renewal for support.
thanks again and good work!
October 5, 2023 at 9:42 am #12230Hi,
In this case you need go to wp-content/themes/pricom/framework/includes/ then open file woocommerece-hooks.php
Go to line 518 and change the code from:echo '<div class="product-size-guide"><a href="'. esc_url( $haru_product_size_guide ) .'" data-fancybox="product-guide" data-elementor-open-lightbox="no" class="product-size-guide-link">' . esc_html__( 'Product Guide', 'pricom' ) .'</a></div>';
to
echo '<div class="product-size-guide"><a href="'. esc_url( $haru_product_size_guide ) .'" target="_blank" data-fancybox="product-guide" data-elementor-open-lightbox="no" class="product-size-guide-link">' . esc_html__( 'Product Guide', 'pricom' ) .'</a></div>';
You also can use child theme to override this function haru_woocommerce_template_single_size_guide() in functions.php of the child theme
Please renew support if you need resolve other issues.
October 5, 2023 at 12:19 pm #12231Thank you so much!!!
October 5, 2023 at 2:43 pm #12237Thanks for your feedback!
***
Regards,
HaruTheme -
AuthorPosts
You must be logged in to reply to this topic.