This topic has 44 replies, 3 voices, and was last updated 1 years, 1 months ago ago by Rose Tyler
Thankyou, yes those issues resolved now.
Now, please can you sort out the shopping cart translation issue. Shopping cart is still in english, while the rest is in dutch.
please see the screenshot
Regards
Hello, Theo,
We have corrected the translation of the page cards. For this, we have added the following code to the functions.php of the child theme.
add_filter('woocommerce_product_related_products_heading', function($params){
return 'Gerelateerde producten';
});
add_filter('et_ajax_cart_text', function($params){
if (get_bloginfo("language") == 'nl'){
return 'Winkelwagen';
}
});
function etheme_get_mini_cart_empty(){
if (get_bloginfo("language") == 'nl'){
?>
<div class="woocommerce-mini-cart__empty-message empty">
<p><?php esc_html_e( 'Geen producten in de kar.', 'xstore' ); ?></p>
<?php if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
<a class="btn" href="<?php echo get_permalink(wc_get_page_id('shop')); ?>"><span><?php esc_html_e('Keer terug naar de winkel', 'xstore') ?></span></a>
<?php endif; ?>
</div>
<?php
} else {
?>
<div class="woocommerce-mini-cart__empty-message empty">
<p><?php esc_html_e( 'No products in the cart.', 'xstore' ); ?></p>
<?php if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
<a class="btn" href="<?php echo get_permalink(wc_get_page_id('shop')); ?>"><span><?php esc_html_e('Return To Shop', 'xstore') ?></span></a>
<?php endif; ?>
</div>
<?php
}
}
function etheme_woocommerce_continue_shopping() {
if ( wc_get_page_id( 'shop' ) > 0 ){
if (get_bloginfo("language") == 'nl'){
echo '<a class="return-shop button btn bordered full-width" href="' . get_permalink(wc_get_page_id('shop')) . '">' . esc_html__('Doorgaan met winkelen', 'xstore') . '</a>';
} else {
echo '<a class="return-shop button btn bordered full-width" href="' . get_permalink(wc_get_page_id('shop')) . '">' . esc_html__('Continue shopping', 'xstore') . '</a>';
}
}
}
if ( ! function_exists( 'etheme_woocommerce_widget_shopping_cart_subtotal' ) ) {
function etheme_woocommerce_widget_shopping_cart_subtotal() {
if (get_bloginfo("language") == 'nl'){
echo '<span class="small-h">' . esc_html__( 'Subtotaal:', 'xstore' ) . '</span> <span class="big-coast">' . WC()->cart->get_cart_subtotal() . '</span>';
} else {
echo '<span class="small-h">' . esc_html__( 'Subtotal:', 'xstore' ) . '</span> <span class="big-coast">' . WC()->cart->get_cart_subtotal() . '</span>';
}
}
}
add_filter('et_cart-checkout-nav-texts', function($params){
if (get_bloginfo("language") == 'nl'){
$params['cart'] = 'Winkelmand';
$params['order'] = 'Bestelstatus';
$params['order_received'] = 'Bedankt. Uw bestelling is ontvangen.';
$params['checkout'] = 'Checkout';
$params['shipping'] = 'Verzenden';
$params['payment'] = 'Betaling';
}
return $params;
});
We have also rewritten the following files in the child theme.
wp-content/themes/xstore-child/woocommerce/cart/cart-empty.php
wp-content/themes/xstore-child/woocommerce/cart/cart.php
wp-content/themes/xstore-child/woocommerce/cart/proceed-to-checkout-button.php
wp-content/themes/xstore-child/woocommerce/checkout/form-checkout-default.php
wp-content/themes/xstore-child/woocommerce/checkout/form-checkout-multistep.php
wp-content/themes/xstore-child/woocommerce/checkout/form-checkout.php
wp-content/themes/xstore-child/woocommerce/checkout/review-order.php
Kind Regards,
8theme team
Thank you so much…
At the checkout page, the following words (see attachment) are still in English. Can you please take a look at this? After this, I believe everything on the website is in order.
Regards
please this given text need also be translated:
2) At the checkout page, the following is still in English: Billing Details. This may be translated to factuurgegevens
3. If you have a product in the shopping cart and want to pay for it, it says ‘check out.’ This should be translated to ‘Afrekenen’ in Dutch.
Please can it be done asap.
Regards
Hello, Theo,
Have you changed FTP access? We can’t connect.
Please provide the correct credentials.
Kind Regards,
8theme team
please test them…
Private Content
let me know if it does not work.
Regards
Hello, Theo,
BE ATTENTIVE and don’t place the private information in the general message area because all the visitors have access to that information.
We’ve edited your message and moved credentials into the Private Content area.
We can’t connect, please provide the correct credentials.
Kind Regards,
8theme team
ok thankyou
let me check them.
Regards
Hello, Theo,
Ok. Take your time.
Kind Regards,
8theme team
Please test them…
Regards
any update please….
Hello, Theo,
We are pleased to inform you that your issue has been resolved. The following code has been added to the function.php of the child theme.
function etheme_woocommerce_widget_shopping_cart_proceed_to_checkout() {
if (get_bloginfo("language") == 'nl'){
echo '<a href="' . esc_url( wc_get_checkout_url() ) . '" class="button btn-checkout wc-forward">' . esc_html__( 'Afrekenen', 'xstore' ) . '</a>';
} else {
echo '<a href="' . esc_url( wc_get_checkout_url() ) . '" class="button btn-checkout wc-forward">' . esc_html__( 'Checkout', 'xstore' ) . '</a>';
}
}
In addition, we have rewritten the following files in the child theme:
wp-content/themes/xstore-child/woocommerce/checkout/checkout/form-billing.php
We have also made changes to the parent theme file:
wp-content/themes/xstore/framework/woo.php
Please refrain from updating the theme until our next update is released. Installing version 9.1.14 is not recommended as it may cause a fatal error.
Kind Regards,
8theme team
Thank you so much for the updates,
Please here see the screenshot, this page should also be updated, needs to be changed to Dutch.
Regards
Hello, Theo,
Sorry for the delay in answering.
We can’t connect to FTP.
Please provide correct FTP access.
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up