-
Closed
-
Hi
The new woocommerce version has some css changes. However the main conflict is there are now 2 “Proceed to Check Out” buttonsAny ideas on how to remove the 2nd button?
Everthing else seems to be working find with the update.
Thanks Jaroslav,
Unfortunately it help only in page with “cart”. When I went to the page “checkout” the duplicated button remain (see second screenshot – post #14771).
[quote quote=14814]Thanks Jaroslav,
Unfortunately it help only in page with “cart”. When I went to the page “checkout” the duplicated button remain (see second screenshot – post #14771).
[/quote]
Well in that case add also this CSS code:
.woocommerce-checkout .form-row.place-order {display:none;}
Hi Jaroslav,
I added your code, but as you can see in link below:
http://img24.otofotki.pl/obrazki/gh468_Checkout2.jpg
On the page is displayed duplicated information about method of payment, but now on the page missing button BUY.
Well provide me FTP server URL, user/pass and i will remove all unnecessary code from your template.
Just set post as private reply when you posting such details.
Regards
I see one problem your solution. This change I would do in few pages, so I have to know what should be changed.
please unzip and copy attached zip file to folder alora/woocommerce/, overwrite the old files.
Open file alora/framework/woo-config.php and add:
line #55
remove_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 10 );
line #787, remove this:
add_action('woocommerce_after_cart_totals', 'alora_woocommerce_after_cart_totals');
function alora_woocommerce_after_cart_totals($args)
{
global $woocommerce; ?>
<input type="submit" class="t4p-button button-default button-medium button default medium" name="update_cart" value="<?php _e( 'Update Cart', 'woocommerce' ); ?>" />
<input type="submit" class="checkout-button t4p-button button-default button-medium button default medium alt wc-forward" name="proceed" value="<?php _e( 'Proceed to Checkout', 'woocommerce' ); ?> →" />
<?php do_action( 'woocommerce_proceed_to_checkout' ); ?>
<?php
}
this is a temporary fix and will be fixed in the next theme version
Thank Roman,
I copied files. Now it looks fine. I will make few more tests.
But in file woo-config.php I didn’t find this line:
<?php do_action( 'woocommerce_proceed_to_checkout' ); ?>
In my file was:
add_action('woocommerce_after_cart_totals', 'alora_woocommerce_after_cart_totals');
function alora_woocommerce_after_cart_totals($args)
{
global $woocommerce; ?>
<input type="submit" class="t4p-button button-default button-medium button default medium" name="update_cart" value="<?php _e( 'Update Cart', 'woocommerce' ); ?>" />
<input type="submit" class="checkout-button t4p-button button-default button-medium button default medium alt wc-forward" name="proceed" value="<?php _e( 'Proceed to Checkout', 'woocommerce' ); ?> →" />
<?php
}
probably I provided extra code accidentally, anyway if it works for you so there is no problem with the code
Reading the above, I’m wondering: Should I delay updating to WooCommerce 2.3 until a Theme update is available?
How do I remove the side bar from the product page created by woocomerce. Also there seems to be no way to publish a product without a featured image.
http://adaptknowledge.com/shop/emerging-networks-in-the-white-space-on-your-organization-chart/
The topic Woocommerce 2.3.3 update is closed to new replies