This topic has 6 replies, 3 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp
Best Mr/Mrs,
In the webshop:
– I click on a product
– In the product I click ‘add to cart’
The following screen appears:
How can I change the red button ‘Proceed to checkout’ (dutch: Naar de kassa) to ‘Add to cart’, plus that it links to the cart instead of directly to checkout.
Hope to hear from you soon.
Regards,
Ruben
Hello,
You can change “Checkout” text in the file wp-content/themes/legenda/framework/theme-functions.php (line 847) and the link can be changed on the line 845 edit the code <?php echo esc_url( $woocommerce->cart->get_checkout_url() ); ?>
in var checkoutUrl = '<?php echo esc_url( $woocommerce->cart->get_checkout_url() ); ?>';
string.
Thank you.
Regards,
Eva Kemp.
Hi Eva,
Thanks for your reply.
I think something went wrong in a copy-paste action.
I altered the code in:
// RVD Checkout url omgezet in cart url
var checkoutUrl = '<?php echo get_permalink(woocommerce_get_page_id('cart')); ?>';
var contBtn = '<?php _e('Continue shopping', ETHEME_DOMAIN) ?>';
// RVD Checkout omgezet in Cart
var checkBtn = '<?php _e('Cart', ETHEME_DOMAIN) ?>';
It seems to work.
Thanks.
Regards,
Ruben
Hello,
You’re welcome.
Regards,
Eva Kemp.
Hey Eva –
Two questions to go along with this:
1. Is it possible to add Suggested Products within the box?
2. How do i add the Single Product Popup Box to products that have variable selections?
thx.
Scott
Hello,
1. You can add up-sell products as described in Woocommerce documentation:
http://docs.woothemes.com/document/related-products-up-sells-and-cross-sells/
2. Unfortunately this option is available only for single products. Sorry.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up