Home Forums Themes Support Claue problem add to cart and other

This topic contains 21 replies, has 2 voices, and was last updated by  Harry 2 months ago.

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #22287

    Hello,

    You made a great theme, but I need some help with its configuration.

    1. I have a problem with add to cart – no animation pops up as it adds to the cart or pop-up window. Products are added to the basket but the customer does not receive any information that the product has been added to the basket. The problem is caused by the probably installed Variable Tabel add-on. I have contacted the creator of the Variable Table and he has a question for you: That should work already – we use get_max_purchase_quantity?

    2. How can I edit the menu – my account in the top right corner (icon)? I would like to add or remove items from the sliding menu.

    3. Can I set the same photo in the header for all store categories?

    4. The “Remember me” checkbox does not work.

    #22292

    Hi,

    Thank you for choosing our theme.

    1. The issue because plugin Variable Tabel add-on doesn’t support Ajax Add To Cart

    2. Please add below code to claue-child > fucntions.php and add your icon

    if ( ! function_exists( 'jas_claue_wc_my_account' ) ) {
    	function jas_claue_wc_my_account() {
    		$output = '';
    
    		if ( cs_get_option( 'header-my-account-icon' ) ) {
    			$output .= '<div class="jas-my-account hidden-xs ts__05 pr">';
    				$output .= '<a class="cb chp db" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '"><i class="pe-7s-user"></i></a>';
    				$output .= '<ul class="pa tc">';
    					if ( is_user_logged_in() ) {
    						$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Dashboard', 'claue' ) . '</a></li>';
    						$output .= '<li><a class="db cg chp" href="' . esc_url( home_url( '/orders-tracking/' ) ) . '">' . esc_html__( 'Order Tracking', 'claue' ) . '</a></li>';
    						$output .= '<li><a class="db cg chp" href="' . esc_url( wp_logout_url() ) . '">' . esc_html__( 'Logout', 'claue' ) . '</a></li>';
    					} else {
    						$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Login / Register', 'claue' ) . '</a></li>';
    					}
    				$output .= '</ul>';
    			$output .= '</div>';
    		}
    
    		return apply_filters( 'jas_claue_wc_my_account', $output );
    	}
    }

    3. Yes, you can upload same image for category thumbnail

    4. Please replace code in file claue/core/libraries/vendors/woocommerce/templates/myaccount/form-login.php

    and change from

    <input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /> <span><?php esc_html_e( 'Remember me', 'claue' ); ?></span>

    to

    <input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /><label for="rememberme" class="checkbox"></label> <span><?php esc_html_e( 'Remember me', 'claue' ); ?></span>

    Best regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #22307

    ad1. Information from the creator of the table variable plugin:

    “We use the default Woo AJAX refresh like this: $( document.body ).trigger( ‘added_to_cart’, [ response.fragments, response.cart_hash, $thisbutton ] );”

    ad2.
    I did not want to change the icon in the top only its edition.
    Currently in the top right menu (Account Menu) there are three positions:
    – My account
    – Tracking orders
    – Log out
    How to add or delete an entry in this menu?

    ad 3. Where can I add a header photo to display in each category – currently adding a photo in the template settings only adds a photo in the store header – on the store page.
    from photo: http://tescik.com.pl/sklep/
    no photo: http://tescik.com.pl/kategoria/lielizna/lielizna-meska/kalesony/

    ad4. Maybe I could paste the appropriate code into the function.php file because I would have to update every woocommerce update.

    #22321

    Hi,

    1. This issue because plugin change default class of button add to cart “single_add_to_cart_button”

    2. You copy the code i suggest and remove and insert what you want

    $output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Dashboard', 'claue' ) . '</a></li>';
    $output .= '<li><a class="db cg chp" href="' . esc_url( home_url( '/orders-tracking/' ) ) . '">' . esc_html__( 'Order Tracking', 'claue' ) . '</a></li>';
    $output .= '<li><a class="db cg chp" href="' . esc_url( wp_logout_url() ) . '">' . esc_html__( 'Logout', 'claue' ) . '</a></li>';
    else {
    	$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Login / Register', 'claue' ) . '</a></li>';

    3. Please edit this category and upload thumbnail of this category for header background.

    4. This issue we will include for our next update so you can temporary edit core theme.

    Best regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #22969

    Hello,
    1. I have added the code to function.php which includes prices with tax and prices without tax in the store. Can you tell me how I can remove the price with tax, but only with category views? File: vat.jpg

    2. File: Bildschirmfoto 2018-07-09 um 13.30.41.png
    After clicking on the field “quantity” where the default is “0” it does not disappear, but you have to delete it. I would like it to disappear after zero and to enter the number / number immediately.
    The creator of the variable table plugin claims. that there is a problem in .js: http://tescik.com.pl/wp-content/themes/claue/assets/js/theme.js?ver=4.9.7

    See attached the line. This is JS protection going back to quantity 0.

    How can I fix this by the function.php file?

    For a better explanation of the problem:
    Film where zero does not disappear: https://drive.google.com/file/d/1g7QLTAQDiNLwNMeYqxTf7Je7gOZ2kJzN/view?usp=sharing
    The film where zero disappears and everything works properly: https://drive.google.com/file/d/1N6kPnImzSUFLBGpDGFWqU7-Xfi46lFGr/view?usp=sharing

    3. Where can I change the color of the text itself in the header or what style should I use to change only the color of the string in the header, and not the color of the mini-cart inscription?
    File: styl_naglowek.jpg

     

    4. Store category view.
    What style can I change the distance of products / photos from each other. I would like to have smaller spacing on the right and left between the photos.

    Attachments:
    You must be logged in to view attached files.
    #22982

    Hi,

    I open your site it now say page not found, please check again and tell me when it ready.

    Thanks

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #22984

    sorry I forgot to write that I moved my site to the vps server http://www.xyz86.pl

    #22990

    Hi,

    1. I don’t see price with tax on your site so can’t style

    2. Please download attach file, extract and put in claue-child > woocommerce > global

    3,4. Please add below code to Claue > Theme Option > General Layout > Custom CSS

    .page-head h1 {color: #0192dd;}
    @media only screen and (min-width: 62em) {
    .products .jas-col-md-3 {
    padding-left: 0.5rem;
    padding-right: 0.5rem
    }}

    Best regards

    Attachments:
    You must be logged in to view attached files.

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #23003

    ad1) I tried to create a function myself but it does not work out.
    In the store I have included prices without tax, only in the basket I have included prices with tax.
    I would like to ONLY show the price with the tax on the product page. I tried to do it and something came out to me but when the price was shown on the product page it did not include the promotional price, only the tax was calculated from the base price.

    Piżama Cornette 552/19 Travel dł/r

    ad2) The problem is that after clicking, zero does not disappear.
    I think I did something wrong. I’ve used the file to template: l/wp-content/themes/claue-child/woocommerce/templates/global
    I also overwrite the file in the location: /public_html/wp-content/plugins/woocommerce/templates/global
    but still nothing helps. I would like the price field to clear after clicking on zero.

    Piżama Cornette Kids Girl 176/102 My family dł/r

    3. I am not notified by e-mails about a new order at the store. Other information such as changing the password is provided. When someone makes an order at the store, I do not receive any information.
    What could be the reason?

    4. How can I set the character limit (size.jpg) when displaying attributes in categories? Some products have dozens of sizes, so I would like to use the limit.

     

    Thank you very much for help.

    Attachments:
    You must be logged in to view attached files.
    #23024

    Hi,

    1. You don’t need function to hide price with tax on child theme just use css code. Please show price with tax i will give you suggest code to hide on category page

    2. You want always show 0 when user delete quantity value? Could you send me link of site where it work

    3. Please go to WooCommerce > Settings > Email > New order > Manage > add your email to Recipient(s)

    4. Please add below code to Claue > Theme Option > General Layout > Custom CSS

    .product-image .product-attr p {
        overflow: hidden;
        display: inline-block;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
    }

    Best regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #23077

    ad1.
    price1.jpg – price without tax with a discount
    price2.jpg – price displayed after entering the code into function.php. The code does not include the price with a discount.
    The same situation is in the category view.

    Piżama Cornette Young Boy 966/82 Off road dł/r 136-164

    I tried to splash it on the code:

    function edit_price_display() {
    $product = new WC_Product( get_the_ID() );
    $price = $product->price;

    $price_incl_tax = $price + round($price * ( 23 / 100 ), 2);

    $price_incl_tax = number_format($price_incl_tax, 2, “,”, “.”);
    $price = number_format($price, 2, “,”, “.”);

    $display_price = ‘<span class=”price”>’;
    $display_price .= ‘<span class=”netto_p”>€ ‘ . $price .'<small class=”woocommerce-price-suffix”> netto</small></span>’;
    $display_price .= ‘<br>’;
    $display_price .= ‘<span class=”brutto_p”>€ ‘ . $price_incl_tax .'<small class=”woocommerce-price-suffix”> brutto</small></span>’;
    $display_price .= ‘</span>’;

    echo $display_price;
    }

    add_filter(‘woocommerce_price_html’, ‘edit_price_display’);
    add_filter(‘woocommerce_variable_price_html’, ‘edit_price_display’);

    Maybe to add a hook with a code that would display the price with tax only on the product description page?
    I would like the price with the tax to appear ONLY on the product description page next to the price without tax. I am asking for help because I do not advise.

    ad2. I use the variable tab to add products to the basket and the creator of this add-on claims that this is a bug in the code of the szbalonu. The idea is to click on the field “quantity” where by default after entering the page is zero – it has to disappear. You must now manually
    I showed it on a different page on the film (in the 12th note) what I mean:
    https://drive.google.com/file/d/1AEdvoQy0Mb5A3Ftc7jxxEB9H65qAjC9c/view?usp=sharing

    ad3. Unfortunately, sending emails is enabled, but only the customer gets a notification about the order. The administrator does not get any notification about the new order.

    ad4. Thank you for the code and for help in general. Quickly answer and your templates are super optimized.

    Attachments:
    You must be logged in to view attached files.
    #23080

    I have changed the e-mail address to another and e-mails come, i.e. the problem must be with the service provider.

    #23110

    Hi,

    1. You can use default function of WooCommerce https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/

    Please add below code to remove price with tax on category page

    .products .brutto_p,
    .product-extra .brutto_p {display: none;}

    2. Please copy file quantity-input.php in woocommerce > templates > global to claue-child > woocommerce > global to use default file of WooCommerce.

    Best regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #23493

    Hello,

    We are already doing some correspondence, I’m afraid to bother, but I am asking you for the last help so that I can finish my work, and my partners urge me. I am asking for your understanding and help.

    I moved the site to the domain http://www.virgotorun.pl

    The creator of Variable Table claims that this may be a problem in the template, so I am asking for help from you.

    1. I have a problem with the quantity field, it does not work properly.

    The default zero disappears when the quantity is clicked into the field.

    Video: https://drive.google.com/file/d/18UGpxnUQvm1wybpHXu_k9CasjGEojS9f/view?usp=sharing

    The time of the above movie: 00:00:00 – 00:00:12 – I would like to click on the field “quantity” when it is set to zero, it disappears and the field is empty. As it is shown here: https://drive.google.com/file/d/1R4qkrPUxgqlo6nIzdxu6h6k6FVYgvb7o/view?usp=sharing

    2. After entering a given value in the “quantity” field with the “-” button, you can not lower the value to zero, you can not simply lower it to zero by pressing the delete button and enter “0” manually.

    I showed it in the movie: https://drive.google.com/file/d/18UGpxnUQvm1wybpHXu_k9CasjGEojS9f/view?usp=sharing

    Movie time: 00:00:12 – 00:00:47

    3. How to remove “Related product” from the product description by function.php?

    4. What style do I need to add to make all photos the same height, the picture can crop. I would like the category to be all products equal horizontally and vertically.

    5. For translating I am using translation.
    e.g .: “Cart totals” http://virgotorun.pl/koszyk/ – what language file is it in?
    or for example: ‘log in’ http://virgotorun.pl/moje-konto/

    6. Some time ago, it was great for me to switch views in categories but now something is not working, the products are wrong, ugly. What may be the problem? I do not know if this has not occurred after the upgrade to the latest version of Woocommerce.
    I showed it in the movie: https://drive.google.com/file/d/1HTmVf4Bnj-o42XJPwjWXhl9kIBpLcFOB/view?usp=sharing
    I turned off the plugs, emptied the cache memory. I have cleared the style.php file and there is still a problem.

    #23496

    7. I put the code: <? Php echo do_shortcode (‘[yith_woocommerce_ajax_search]’); ?> in header-4.php file in div:

    , instead of the default search engine. How can I get the same effect but via the function.php file?
Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.