1 ) {
$amount_selling_decimal = $pieces1[ 1 ]; // piece2
} else {
$amount_selling_decimal = '';
}
}
}
if ( $template == 'template_01' ) {
$dynamic_css = array();
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-family' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-family' ] != '' ) {
if ( ! in_array( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-family' ], $google_fonts_used_array ) ) {
array_push( $google_fonts_used_array, preg_replace( '/\s/', '+', $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-family' ] ) );
}
$font_family = $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-family' ];
$dynamic_css[] = "font-family:$font_family";
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-size' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-size' ] != '' ) {
$font_size = $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-size' ];
$dynamic_css[] = "font-size:{$font_size}px";
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-color' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-color' ] != '' ) {
$font_color = $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-color' ];
$dynamic_css[] = "color:{$font_color}";
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'bold' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'bold' ] != '' ) {
$dynamic_css[] = 'font-weight:bold';
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'italic' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'italic' ] != '' ) {
$dynamic_css[] = 'font-style:italic';
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'strikethrough' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'strikethrough' ] != '' ) {
$dynamic_css[] = 'text-decoration:line-through';
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'underline' ] ) && $price[ 'price' ][ 'payment-name' ][ 'style' ][ 'font-style' ][ 'underline' ] != '' ) {
$dynamic_css[] = 'text-decoration:underline';
}
if ( ! empty( $dynamic_css ) ) {
$dynamic_css = implode( ';', $dynamic_css );
$dynamic_css = "style='$dynamic_css'";
} else {
$dynamic_css = '';
}
if ( isset( $price[ 'price' ][ 'payment-name' ][ 'content' ] ) && $price[ 'price' ][ 'payment-name' ][ 'content' ] != '' ) {
?>
>
" . $currency_symbol . '';
} echo "" . $amount_selling . "" . $currency_decimal_separator . $amount_selling_decimal . '';
if ( $currency_position == 'right' ) {
echo "" . $currency_symbol . '';
}
?>
.appts-table-wrapper- .appts-table-item-wrapper- .appts-selling-value span.appts-currency-symbol,
.appts-table-wrapper- .appts-table-item-wrapper- .appts-selling-value span.appts-integer,
.appts-table-wrapper- .appts-table-item-wrapper- .appts-selling-value span.appts-decimal{
}
>