/*
Theme Name: WPG Child Theme
Theme URI: http://wpgroupbuy.com
Description: WPG Child Theme
Author: WPG Team
Author URI: http://wpgroupbuy.com
Template: wpgroupbuy
Version: 2.0
*/

/* Imports styles from the parent theme
-------------------------------------------------------------- */


/* Theme customization starts here

.rowss {
    background: #33333342;
    padding: 15px 0;
    margin: 15px 0;
}
-------------------------------------------------------------- */
/* Price convert */
add_filter( 'wg_set_nvp_data', 'adjust_nvp_dop', 10, 3 );
add_filter( 'wg_paypal_ec_nvp_data', 'adjust_nvp_dop', 10, 3 );
function adjust_nvp_dop( $nvpData, $checkout, $i ) {
    $convert_rate = 0.0209; //Set converting rate
    $cart = $checkout->get_cart();
    $filtered_total = $nvpData['PAYMENTREQUEST_0_AMT'] * $convert_rate;
    $nvpData['PAYMENTREQUEST_0_AMT'] = wg_get_number_format( $filtered_total );
    $nvpData['PAYMENTREQUEST_0_ITEMAMT'] = wg_get_number_format( $nvpData['PAYMENTREQUEST_0_ITEMAMT'] * $convert_rate );
    $nvpData['PAYMENTREQUEST_0_SHIPPINGAMT'] = wg_get_number_format( $nvpData['PAYMENTREQUEST_0_SHIPPINGAMT'] * $convert_rate );
    $nvpData['PAYMENTREQUEST_0_TAXAMT'] = wg_get_number_format( $nvpData['PAYMENTREQUEST_0_TAXAMT'] * $convert_rate );
    $i = 0;
    foreach ( $cart->get_items() as $key => $item ) {
        $nvpData['L_PAYMENTREQUEST_0_AMT'.$i] = wg_get_number_format( $nvpData['L_PAYMENTREQUEST_0_AMT'.$i] * $convert_rate );
        $i++;
    }
    $cart_total = $cart->get_total() * $convert_rate;
    if ( $filtered_total < $cart_total ) {
        $nvpData['L_PAYMENTREQUEST_0_AMT'.$i] = wg_get_number_format( $filtered_total - $cart_total );
        $nvpData['PAYMENTREQUEST_0_ITEMAMT'] = wg_get_number_format( $cart->get_subtotal() + $filtered_total - $cart_total );
        $i++;
    }
    return $nvpData;
}

function custom_countries()
{
    return array( 'DO' => 'Dominican Republic' );
}
add_filter('wg_country_options', 'custom_countries');

<div class="lg __web-inspector-hide-shortcut__" style="
    /* width: 0px; */
    /* height: 0px; */
">
      
      <!-- MOBILE ACCOUNT MENU -->
      <div id="menu2" class="none">
        <ul>
        <li><a href="#" class="accounts"><i class="fa fa-get-pocket"></i></a>
          <ul class="load">
                          <li><a href="https://www.lokieroo.com/account/register/"><i class="fa fa-arrow-circle-right"></i> Re</a></li>
              <li><a href="https://www.lokieroo.com/account/"><i class="fa fa-arrow-circle-right"></i> Entrar</a></li>
                      </ul>
        </li>
       </ul>
      </div>
      <!-- END MOBILE ACCOUNT MENU -->

      <a href="https://www.lokieroo.com/cart/" class="bgic"><i class="fa fa-shopping-cart"></i><span>0</span></a>
      
            <a onclick="fbActionConnect();" href="javascript:" class="bgic"><i class="fa fa-facebook"></i></a>
      <a href="https://www.lokieroo.com/account/register/" class="btns">Registrar</a>
      <a href="https://www.lokieroo.com/account/" class="btns">Entrar</a>
          </div>