This topic has 11 replies, 4 voices, and was last updated 7 years, 10 months ago ago by Jack Richardson
Hello,
there is an empty space below the footer.How can remove it?
At my static blocks footer section there is something like that.
Correction:At my static blocks footer section there is not something like that!
Hello,
Please update the theme to the latest version and check issue.
Before update delete “woocommerce” folder in the directory wp-content/themes/royal/ and it’ll be reuploaded from a new theme package.
Don’t forget to make backup of the site before update.
Also try to disable third-party plugins one by one and check it.
Here is video tutorial how to update theme.
https://www.youtube.com/watch?v=KdWESIIPU1k
(it’s for Legenda theme but the process is the same).
Regards,
Robert Hall
I have the latest version and also i have deactivated all the third-party plugins,but the problem persists!
Also,at previous version of theme i have put some code at functions.php and everything ok.Now
putting this code at new functions.php,don’t work the ultimate step of payment.
What is changed?
Hello,
I’ve added this code in Global Custom CSS to remove white space:
.st-container .st-pusher {
overflow-y: hidden;
}
Please specify what code you used in functions.php and you tried to achieve with that code.
Regards,
Eva Kemp.
at this moment i have the functions.php without any code but the ultimate step of payment don’t work also!
the code that i have put it’s:
1)add_filter( ‘woocommerce_cop_order_button_text’, ‘woocommerce_cop_order_button_text’ );
function woocommerce_cop_order_button_text() {
return __( ‘ΟΛΟΚΛΗΡΩΣΗ ΠΑΡΑΓΓΕΛΙΑΣ’, ‘woocommerce’ );
}
for translate the place order button of woocommerce
2)// Add save percent next to sale item prices.
add_filter( ‘woocommerce_sale_price_html’, ‘woocommerce_custom_sales_price’, 10, 2 );
function woocommerce_custom_sales_price( $price, $product ) {
$percentage = round( ( ( $product->regular_price – $product->sale_price ) / $product->regular_price ) * 100 );
return $price . sprintf( __(‘ Έκπτωση %s’, ‘woocommerce’ ), $percentage . ‘%’ );
}
?>
for make appear the percentage of sale
3)<?php
/**
* Filter payment gatways
*/
function my_custom_available_payment_gateways( $gateways ) {
$chosen_shipping_rates = WC()->session->get( ‘chosen_shipping_methods’ );
// When ‘advanced_free_shipping’ has been chosen as shipping rate
if ( in_array( ‘advanced_free_shipping’, $chosen_shipping_rates ) ) :
// Remove bank transfer payment gateway
unset( $gateways[‘bacs’] );
unset( $gateways[‘paypal’] );
endif;
return $gateways;
}
add_filter( ‘woocommerce_available_payment_gateways’, ‘my_custom_available_payment_gateways’ );
for disable payment gateways for a specific shipping method
4)add_filter( ‘post_date_column_time’ , ‘woo_custom_post_date_column_time’ ); /** * woo_custom_post_date_column_time * * @access public * @since 1.0 * @return void */ function woo_custom_post_date_column_time( $post ) { $h_time = get_post_time( __( ‘d/m/Y’, ‘woocommerce’ ), $post ); return $h_time; }
for change date format for woocommerce orders
and
5)add_filter( ‘wcaba_filter_main_item’, ‘custom_wcaba_main_item’ );
/**
* WooCommerce Admin Bar Addition: Change Main Item Name
*/
function custom_wcaba_main_item() {
return __( ‘Nutramedica’, ‘Nutramedica’ );
}
/** WooCommerce Admin Bar Addition: Remove Extensions Items */
define( ‘WCABA_EXTENSIONS_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove Themes Items */
define( ‘WCABA_THEMES_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove Resource Items */
define( ‘WCABA_RESOURCES_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove German Language Items */
define( ‘WCABA_DE_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove Dutch Language Items */
define( ‘WCABA_NL_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove Spanish Language Items */
define( ‘WCABA_ES_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove Czech Language Items */
define( ‘WCABA_CZ_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove WC Debug Link */
define( ‘WCABA_DEBUG_DISPLAY’, FALSE );
/** WooCommerce Admin Bar Addition: Remove Reports/Statistics */
define( ‘WCABA_REPORTS_DISPLAY’, FALSE );
for make changes to a plugin (WooCommerce Admin Bar Addition)
Can you please have a look if there is something wrong?
And why with previous version it worked?
Hello,
At first we recommend you to check if the code works with default Woocommerce theme Storefront https://www.woothemes.com/storefront/ . Please let us know the result.
Best regards,
Jack Richardson.
With storefront works…
Hello,
Please fix the issue with permissions for FTP so we can edit the theme files.
Thank you.
Best regards,
Jack Richardson.
can you retry?
Hello,
2./3. I’ve added the code in functions.php file.
Clear browser cache and check the site now.
4. As I see date is already shown in the format d/m/Y:
http://storage5.static.itmages.com/i/16/0613/h_1465820285_9079993_d47350cc97.jpeg
5. I’ve added the code.
Clear browser cache and check.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up