PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Plugin Issue: Currency Showing 0 – Need Solution

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

We are using this plugin, but some currencies are not being translated, and a value of 0 is showing instead. Please provide a solution.

 

Hello

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

It looks like your current aggregator doesn't have data on these currencies. Try changing the aggregator

please check & Verify i have Added My Purchase Code

can you suggest which aggregator working perfectly? Please Revert ASAP

Thanks.

Please try to use - https://share.pluginus.net/image/i20241128124220.png

i have tried but it is not working Properly Some Currency Still Showing (0) please Fix it. If you need my WordPress ID & password, I will Share with you.

Hello

My  test - https://share.pluginus.net/video/v20241129112748.mp4

Possible problem:

1 You are using an incorrect API key for the aggregator.

2 You are using incorrect currency codes. In your case, it is possible that an invalid symbol has entered the code field. Try deleting the currency code and entering it again manually.

The price filter's currency translation is not working in the dropdown, although it is functioning everywhere else. I will share my custom code file with you, along with a screenshot. Please review it and get back to me.

Error Image Link

https://prnt.sc/bAE1e-NYDgDD

My Code File Link 

https://easyupload.io/rr6esd

Please Download Both Link Humble Request 

 

Hello

This is an incompatibility with third-party code.

Unfortunately, fixing custom code is not included in support.

How we fix it ?

Any Suggestion ??

 

What do you use to convert prices in this third party filter?

All functions - https://currency-switcher.com/codex#functions

 

No, just simply create a drop-down menu using ChatGPT

https://prnt.sc/L2CwwVj-Zma7

Just Use Simple This Code

// Filter Horizontal Layout
// Move filters to the top of the shop page
add_action('woocommerce_before_main_content', 'glossic_horizontal_filters', 15);

function glossic_horizontal_filters() {
if (is_shop() || is_product_taxonomy()) {
?>
<div class="horizontal-filters-container">
<form class="glossic-horizontal-filters" method="GET" action="">
<div class="filter-item">
<label for="orderby">Order by:</label>
<select name="orderby" id="orderby" onchange="this.form.submit()">
<option value="">Select</option>
<option value="popularity" <?php selected($_GET['orderby'], 'popularity'); ?>>Popularity</option>
<option value="rating" <?php selected($_GET['orderby'], 'rating'); ?>>Rating</option>
<option value="date" <?php selected($_GET['orderby'], 'date'); ?>>Newest</option>
<option value="price" <?php selected($_GET['orderby'], 'price'); ?>>Price: Low to High</option>
<option value="price-desc" <?php selected($_GET['orderby'], 'price-desc'); ?>>Price: High to Low</option>
</select>
</div>

<div class="filter-item">
<label for="category">Category:</label>
<select name="product_cat" id="category" onchange="this.form.submit()">
<option value="">All Categories</option>
<?php
$categories = get_terms('product_cat');
foreach ($categories as $category) {
echo '<option value="' . $category->slug . '" ' . selected($_GET['product_cat'], $category->slug) . '>' . $category->name . '</option>';
}
?>
</select>
</div>

<div class="filter-item">
<label for="price">Price Range:</label>
<select name="filter_price" id="price" onchange="this.form.submit()">
<option value="">All</option>
<option value="0-70">AED 0.00 - AED 70.00</option>
<option value="70-140">AED 70.00 - AED 140.00</option>
<option value="140-210">AED 140.00 - AED 210.00</option>
<option value="210-280">AED 210.00 - AED 280.00</option>
<option value="280-350">AED 280.00 - AED 350.00</option>
<option value="350+">AED 350.00+</option>
</select>
</div>

<button type="submit" class="apply-filters-btn">Apply Filters</button>
</form>
</div>
<?php
}
}

Hello

To customize the code you should hire a developer

To convert prices you can use this function - https://currency-switcher.com/function/woocs-woocs_exchange_value

Or use this shortcode - https://currency-switcher.com/shortcode/woocs_show_custom_price