fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

SKU Variations on SHOP

Hi,

I have the code below this lines for show variations SKU. In woo commerce/loop/price.php

Since last upload, don’t works.

 

Can you help me please?

 

if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly
}
global $product;
?>
<?php if ( $price_html = $product->get_price_html() ) : ?>
<span class=”price”><?php echo $price_html; ?></span>
<?php endif; ?>
<div class=”product_meta”>
<?php
if ( wc_product_sku_enabled() && ( $product->get_sku() || $product->is_type( ‘variable’ ) ) ) : ?>
  <span class=”sku_wrapper”><?php esc_html_e( ‘Ref.:’, ‘woocommerce’ ); ?> <span class=”sku”><?php echo ( $sku = $product->get_sku() ) ? $sku : esc_html__( ‘N/A’, ‘woocommerce’ ); ?></span></span>
<?php endif; ?>
</div>

Hakik Zaman

Hi VISTALIA,

Thanks for reaching out to us. Displaying SKU is not a feature of our plugin, is the feature of WooCommerce itself.

We have no code base for woo commerce/loop/price.php

Could you disable our swatches plugin and check is it working without our plugin or not?

Thank you

Hi Hakik

Yes, Works fine when plugin is disabled and was working before the last plugin update.

Until now, the SKU are displayed correctly with variations.

hello please,

I request the refund of the subscription.

I have verified that with another plugin if it works.

Hakik Zaman

Hi VISTALIA,

Please open a new ticket by giving your Order ID and License Key.

Then I can send that ticket to our Sales and Marketing Team.

Thank You