fahadmahmood8/stock-locations-for-woocommerce

Variations and add to cart not shown on product page for variable products

Closed this issue · 1 comments

In class-slw-shortcodes.php on row 218, the variable $product is used to load the variation.
That variable name is already used, because of this, the variations and add to cart button are not shown on variable product pages.
Renaming that variable and also use it on row 224 fixes this issue.

@keesheddes I am releasing the next version with this fix.