currency switcher

chris37

Well-Known Member
Yes.


Is that good or bad? Normal as in no change? Or normal as in it did change?

If no change try it the parent theme. That's where mine is. (I'm not using a child theme)

Did you edit the copy?

i just edit the parent theme and everything is ok.

when i try to copy and the file to my child theme ....my website was still live but i couldnt open my dashboard , so i remove the file from my child theme from the cpanel, Now is everything back to how was before.

With one fuctional 100% currency switcher :)
 

Mar

Moderator
I have customized the currency switcher I just installed, made the flag and everything smaller to match with other elements and make it more professional. The dropdown in the product page is a big plus, it allow buyers to take a look at the product price in other currencies without actually changing currency. Just happy to post it.

1600412257957.png

1600412305376.png

1600412412505.png

1600412465270.png
 

Mar

Moderator
I just received the response of my email sent to Aelia Currency Switcher support, a part of it is below. So, what I am asking is outside their scope and apparently it is regardless of the plugin has license or not.

1600445836825.png
 

chris37

Well-Known Member
Code:
<div id="mobile-menu-sidebar" class="mobile-menu-sidebar">
        <div class="mobile-menu-header d-flex justify-content-between align-items-center">
                    <div class="header-currency-switcher-wrap">
                        <div class="header-currency-switcher dropdown-currency">
                <a class="current-currency dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false" aria-haspopup="true" role="button" data-code="USD">

                    <span class="flag flag-us"></span>
                    <span class="code">(USD)</span>
                    <span class="symbol">$</span>
                                        <i class="icon-down-open align-middle"></i>
                                    </a>
                                <ul class="dropdown-menu currency-list" x-placement="bottom-start" style="position: absolute; transform: translate3d(10px, 35px, 0px); top: 0px; left: 0px; will-change: transform;">
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=ars" class="currency-item" data-code="ARS">
                            <span class="flag flag-ar"></span>
                            <span class="code">Argentine peso ($)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=aud" class="currency-item" data-code="AUD">
                            <span class="flag flag-au"></span>
                            <span class="code">Australian dollar ($)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=azn" class="currency-item" data-code="AZN">
                            <span class="flag flag-az"></span>
                            <span class="code">Azerbaijani manat (AZN)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=bhd" class="currency-item" data-code="BHD">
                            <span class="flag flag-bh"></span>
                            <span class="code">Bahraini dinar (.د.ب)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=brl" class="currency-item" data-code="BRL">
                            <span class="flag flag-br"></span>
                            <span class="code">Brazilian real (R$)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=clp" class="currency-item" data-code="CLP">
                            <span class="flag flag-cl"></span>
                            <span class="code">Chilean peso ($)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=cny" class="currency-item" data-code="CNY">
                            <span class="flag flag-cn"></span>
                            <span class="code">Chinese yuan (¥)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=dkk" class="currency-item" data-code="DKK">
                            <span class="flag flag-dk"></span>
                            <span class="code">Danish krone (DKK)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=inr" class="currency-item" data-code="INR">
                            <span class="flag flag-in"></span>
                            <span class="code">Indian rupee (₹)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=nzd" class="currency-item" data-code="NZD">
                            <span class="flag flag-nz"></span>
                            <span class="code">New Zealand dollar ($)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=rub" class="currency-item" data-code="RUB">
                            <span class="flag flag-ru"></span>
                            <span class="code">Russian ruble (₽)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=lkr" class="currency-item" data-code="LKR">
                            <span class="flag flag-lk"></span>
                            <span class="code">Sri Lankan rupee (රු)</span>
                        </a>
                    </li>
                                        <li class="dropdown-item">
                        <a href="https://woo-newdavinci.alidropship.com/?cur=try" class="currency-item" data-code="TRY">
                            <span class="flag flag-tr"></span>
                            <span class="code">Turkish lira (₺)</span>
                        </a>
                    </li>
                                    </ul>
                            </div>
        </div>
                <div class="header-account-wrap">
    <div class="header-account">
                    <a href="https://woo-newdavinci.alidropship.com/my-account/" title="Log in">
                <i class="icon-user"></i>
                <span>Log in</span>
            </a>
            </div>
</div>

The above code is for the origina alidropship currency switcher is the one which is show in screenshot here https://snipboard.io/Rij3qu.jpg

i try to find the the mobile menu sidebar on my files but i couldnt find it.(da vinci woo)


Can some one help me to locate the file for i replace the position with the shortcode [aelia_currency_selector_widget widget_type="dropdown"] ?

thank you all :) :)
 

Direct Webstore

Well-Known Member
The above code is for the origina alidropship currency switcher
I don't get it. Isn't that what you're looking for? What you pasted? Just replace it with <?php echo do_shortcode("[Aelia shortcode]"); ?>

No?

<a class="current-currency dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false" aria-haspopup="true" role="button" data-code="USD"> <span class="flag flag-us"></span> <span class="code">(USD)</span> <span class="symbol">$</span> <i class="icon-down-open align-middle"></i> </a> <ul class="dropdown-menu currency-list" x-placement="bottom-start" style="position: absolute; transform: translate3d(10px, 35px, 0px); top: 0px; left: 0px; will-change: transform;"> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=ars" class="currency-item" data-code="ARS"> <span class="flag flag-ar"></span> <span class="code">Argentine peso ($)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=aud" class="currency-item" data-code="AUD"> <span class="flag flag-au"></span> <span class="code">Australian dollar ($)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=azn" class="currency-item" data-code="AZN"> <span class="flag flag-az"></span> <span class="code">Azerbaijani manat (AZN)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=bhd" class="currency-item" data-code="BHD"> <span class="flag flag-bh"></span> <span class="code">Bahraini dinar (.د.ب)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=brl" class="currency-item" data-code="BRL"> <span class="flag flag-br"></span> <span class="code">Brazilian real (R$)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=clp" class="currency-item" data-code="CLP"> <span class="flag flag-cl"></span> <span class="code">Chilean peso ($)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=cny" class="currency-item" data-code="CNY"> <span class="flag flag-cn"></span> <span class="code">Chinese yuan (¥)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=dkk" class="currency-item" data-code="DKK"> <span class="flag flag-dk"></span> <span class="code">Danish krone (DKK)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=inr" class="currency-item" data-code="INR"> <span class="flag flag-in"></span> <span class="code">Indian rupee (₹)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=nzd" class="currency-item" data-code="NZD"> <span class="flag flag-nz"></span> <span class="code">New Zealand dollar ($)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=rub" class="currency-item" data-code="RUB"> <span class="flag flag-ru"></span> <span class="code">Russian ruble (₽)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=lkr" class="currency-item" data-code="LKR"> <span class="flag flag-lk"></span> <span class="code">Sri Lankan rupee (රු)</span> </a> </li> <li class="dropdown-item"> <a href="https://woo-newdavinci.alidropship.com/?cur=try" class="currency-item" data-code="TRY"> <span class="flag flag-tr"></span> <span class="code">Turkish lira (₺)</span> </a> </li> </ul> </div> </div> <div class="header-account-wrap"> <div class="header-account"> <a href="https://woo-newdavinci.alidropship.com/my-account/" title="Log in"> <i class="icon-user"></i> <span>Log in</span> </a> </div>
 

chris37

Well-Known Member
I don't get it. Isn't that what you're looking for? What you pasted? Just replace it with <?php echo do_shortcode("[Aelia shortcode]"); ?>
I pasted what I found when I inspect the site with (right click inspect) in my chrome browser..

I couldn't find the the file in my c panel,I checked for the mobile menu sidebar but I couldn't find for I replace the code.
 
Last edited:

Direct Webstore

Well-Known Member
I pasted what I found when I ispect the site with (right click ispect) in my chrome browser..

I couldn't find the the file in my c panel,I checked for the mobile menu sidebar but I couldn't find for I replace the code.
Oh. I thought from the copy/paste you found it.

I couldn't find the the file in my c panel,I
I'd download the theme folder to your desktop and look through the files if I was you. Easier. Just search "currency" in each file you inspect.
 

Mar

Moderator
What was the hypothesis he made? That the script was out of date? I already made that one. LOL ;)
Yes, it is out of date, but the support said about typos to Javascript conflicts. Below is the full email, I iniitally did not include other parts of it thinking its not important. See that link here: How to show the currency selector widget anywhere. Think you have seen it already. The other part of the email is about having a license to provide support. But having said 'the customisation falls outside the scope of our support service, therefore we won't be able to the code', mean even if there is a license and that is what I said earlier.

1600484796954.png
 

Direct Webstore

Well-Known Member
'the customisation falls outside the scope of our support service,

Because it requires at least half a brain.

1600487230999.png

Of course the script targets the widget/selector. (duh!) But he's confused. It seems he went to your site and he seems to think that the Woocommerce Multicurrency plugin you use is the one you want to add flags to, rather than the Aelia one. And because he can't see the Aelia widget/selector, his hypothesis is that the script won't work because the widget/selector isn't there. So his "solution" is to "show the selector". LOL So he's an unobjective idiot and no help at all.
 
Last edited:

Mar

Moderator
Of course the script targets the widget/selector. (duh!) But he's confused. It seems he went to your site and he seems to think that the Woocommerce Multicurrency plugin you use is the one you want to add flags to, rather than the Aelia one. And because he can't see the Aelia widget/selector, his hypothesis is that the script won't work because the widget/selector isn't there. So his "solution" is to "show the selector". LOL So he's no help at all.
Below is my email to Aelia support. I included the link of the page with instructions to show the flags, so he should not be confused with other currency switcher.

1600487167623.png
 

Direct Webstore

Well-Known Member
so he should not be confused with other currency switcher.
He said " The site at XXXXXXXX is not showing such a widget at all."

I'm presuming that XXXXX is your site and has the Woocommerce Mulicurrency plugin installed and not the Aeila one when he visited your site. And according to him, that's the reason you can't show the flags. Because the Aelia widget is not there. The guy is an idiot. lol
 
Last edited:

Mar

Moderator
He said " The site at XXXXXXXX is not showing such a widget at all."

I'm presuming that XXXXX is your site and has the Woocommerce Mulicurrency plugin installed and not the Aeila one when he visited your site. And according to him, that's the reason you can't show the flags. Because the Aelia widget is not there. The guy is an idiot. lol
No. I have responded to that email, telling the support that I already removed Aelia Currency Switcher because of lack of support. The link I sent in my fist email is more than enough to let them know what I am asking for and for what currency switcher and I think they understand when they mentioned 'There could be many reasons why the custom code might not work, from typos to JavaScript conflicts' They are talking about code. Anyway, we have tried to add flags according to the instructions and it don't work and according to them the 'customisation falls outside the scope of our support service'. So it is the end of the story.
 

the_lyall

Active Member
Just for the record he might be confused but he's not stupid .. I've worked with Diego for other custom development and he's very competent and helpful (not many people even reply when you're using a premium only plugin with no license...).

Also I recommend downloading a file search program like Fileseek (https://www.fileseek.ca/Download/) so you can easily search the whole theme or plugin with one search rather than having to open every file.
 
Top