shoot2
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [BlogHash] How do I remove “Last updated on” in an article post?Hi, Dekstop solved but mobile still show it.
TQ
Forum: Themes and Templates
In reply to: [BlogHash] How do I remove “Last updated on” in an article post?Hi, in every articke post after the artcile hashtag. Tq
Forum: Themes and Templates
In reply to: [BlogHash] Article Font SizeThank you so much.
Forum: Plugins
In reply to: [WooCommerce] Error message: syntax error, unexpected ‘ global’ (T_STRING)Solved. ??? PHPissues.
Forum: Plugins
In reply to: [WooCommerce] Error message: syntax error, unexpected ‘ global’ (T_STRING)class Booked_WC_Cart_Hooks {
public static function woocommerce_checkout_fields( $fields ) {
151 >>> global $woocommerce;
$booked_first_name = $woocommerce->session->get( ‘booked_first_name’ );
$booked_last_name = $woocommerce->session->get( ‘booked_last_name’ );
$booked_email = $woocommerce->session->get( ‘booked_email’ );if(!is_null($booked_first_name)):
$fields[‘billing’][‘billing_first_name’][‘default’] = $booked_first_name;
endif;
if(!is_null($booked_last_name)):
$fields[‘billing’][‘billing_last_name’][‘default’] = $booked_last_name;
endif;
if(!is_null($booked_email)):
$fields[‘billing’][‘billing_email’][‘default’] = $booked_email;
endif;
return $fields;
}