Frequently Asked Questions: ELEX WooCommerce Catalog Mode, Wholesale & Role Based Pricing

Q1: How to show the price for the variable as “Starting From”?

Ans: You can add a code snippet to your functions.php file, given in the article to alter price HTML.


Q2: The markup discount is not showing correctly. Why?

Ans: Please make sure you do not have any other plugins giving discounts to the same product you’re checking. If so, it will override or cause conflicts with the discounts. The results are not predictable.


Q3: How to show strikeout price for variable products?

Ans: You can add a code snippet to your functions.php file, given in the article to to show strikeout price for variable products.


Q4: How to exclude the markup discount for products on sale?

Ans: You can add the following code snippet in your functions.php of the theme folder.

add_filter('xa_pbu_skip_product_on_sale','skip_product_on_sale_from_discount',1,2);
function skip_product_on_sale_from_discount($return_val,$pid) { 
$sale_price = get_post_meta( $pid,'_sale_price',true ); 
if( !empty($sale_price) ) {
return true; // true to skip this product
}
return $return_val;
}

Q5: How to hide Add to cart button and redirect to the login page?

Ans: Under the ‘Catalog mode’ option, you can remove the Add to cart button and customize the button by changing the text and giving a custom URL to the login page.

 


To explore more details about the plugins, go check out ELEX WooCommerce Catalog Mode, Wholesale & Role Based Pricing plugin.

Read the product setting up article to understand the plugin, in detail. Or check out the product documentation section for more related articles.

You can also check out other WooCommerce and WordPress plugins in ELEX.

    Leave a Reply