doggytech
Forum Replies Created
-
Thanks, just in case if som1 else need that you’ve misspelled deliverynote:
$template_type ==’deliverynote’
Good afternoon, it works thanks, also last thing i need to do same with Delivery note and is the last one wrong.
Forum: Fixing WordPress
In reply to: Edit price from number to text at cardealerI found this bit of code which allows me to change for text, it allow me also to add text in vehicle page however its do not display when i add text
$vehicle_acf_price_fieds = apply_filters(
‘cardealer_acf_vehicle_price_fieds’,
array(
array(
‘key’ => ‘field_588f1fd05c12e’,
‘label’ => esc_html__( ‘Regular price’, ‘cardealer-helper’ ),
‘name’ => ”,
‘type’ => ‘tab’,
‘instructions’ => ”,
‘required’ => 0,
‘conditional_logic’ => 0,
‘wrapper’ => array(
‘width’ => ”,
‘class’ => ‘acf_field_name-regular-price’,
‘id’ => ”,
),
‘placement’ => ‘left’,
‘endpoint’ => 0,
),
array(
‘key’ => ‘field_588f20535c12f’,
‘label’ => esc_html__( ‘Regular price’, ‘cardealer-helper’ ),
‘name’ => ‘regular_price’,
‘type’ => ‘number’,
‘instructions’ => ”,
‘required’ => 0,
‘conditional_logic’ => 0,
‘wrapper’ => array(
‘width’ => ”,
‘class’ => ‘acf_field_name-regular_price’,
‘id’ => ”,
),
‘default_value’ => ”,
‘min’ => ”,
‘max’ => ”,
‘step’ => ”,
‘placeholder’ => ”,
‘prepend’ => ”,
‘append’ => ”,
),
`Forum: Plugins
In reply to: [WooCommerce] Ex/Inc Tax Price in Product Category PageBut it does not changing category page prices.
Forum: Plugins
In reply to: [WooCommerce] Ex/Inc Tax Price in Product Category PageI’ve been able to change it already in product page, i just can’t find where is located on categories, this how it looks like in prices.php
if ( ! defined( ‘ABSPATH’ ) ) { exit; // Exit if accessed directly } global $product; $classes = array(); if($product->is_on_sale()) $classes = ‘price-on-sale’; if(!$product->is_in_stock()) $classes = ‘price-not-in-stock’; ?> <?php echo wc_price( wc_get_price_including_tax( $product ) ); ?> <?php echo wc_price( wc_get_price_excluding_tax( $product ) ); ?> ex. VAT
Forum: Plugins
In reply to: [WooCommerce] eBay Bundle Woocommerce StockI found one solution here:
https://jilt.com/blog/selling-woocommerce-product-packages-from-the-same-inventory/but I don’t want sell bundle on my website (woocommerce), bundle is available only on eBay.