%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/woocommerce/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/woocommerce/wishlist-price-conditions.php

<?php
    $currency = $parentCat === "Work" && get_field('currency', $item["product_id"]) !== '' ? get_field('currency', $item["product_id"]) : '€';
    $product = $item->get_product();
    $isOnRequest = get_field("retail_price_note", $item["product_id"]);
    $formatted_price = get_price_formatted($isOnRequest, $product->get_price(), $currency);
    if ($parentCat === "Shop" || $parentCat === 'Jewellery' || ($parentCat === "Work" && isUserB2B())) {
        echo $formatted_price ;
    } else {
        echo '&nbsp;';
    }
?>

Zerion Mini Shell 1.0