Jump to content

Edit History

Full Group™

Full Group™

Después de pensar un poco, opté por una solución temporal.

Algo rústica, no es automática la solución, pero es funcional. Si alguien tiene el mismo problema, puede hacer lo siguiente para solucionarlo de manera temporal:

IMPORTANTE: Estos pasos son solo para aquellos que tienen el tema sp_destino 3.9.0: 

https://www.magentech.com/blog/item/709-sp-destino-a-modern-fashion-digital-store-responsive-prestashop-17-theme

 

1- Agregando una propiedad .css en el archivo de tu tienda:

En el backoffice de la tienda, con el módulo SP Theme Configuration, agrega el siguiente código css:

.loading_small {
  display: none !important;
}

NOTA: Si no posees ese módulo, el de SP Theme Configuration, bien lo puedes obtener en internet, o bien puedes agregar esa línea de código anterior css, a tu template, en las siguientes rutas: 

  • Carrier.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/carrier.tpl
  • Payment.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/payment.tpl

 

2- Agregando un botón de refresh, o reload a las rutas anteriores:

En las rutas anteriores, agregar la siguiente línea de código:

  • Carrier.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/carrier.tpl ( justo DESPUÉS del <div id="spsco_two"></div> )
<button class="btn btn-info pull-right btn-sm" type="button" onclick="Carrier.getByCountry();">
	<i class="fa fa-spinner" aria-hidden="true"></i>
		Recargar
</button>

    CÓDIGO COMPLETO:

{*
 * @package Sp One Step Checkout
 * @version 1.0.2
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2016 YouTech Company. All Rights Reserved.
 * @author MagenTech http://www.magentech.com
 *}

{if !$register_customer}
    <div id="spsco_two_container" class="{$classes|escape:'htmlall':'UTF-8'} {if isset($is_virtual_cart) && $is_virtual_cart}hidden{/if}">
        <div class="loading_small"><i class="fa fa-spin fa-spinner fa-2x"></i></div>
        <h4 class="spsco-title spsco-title_two">
            <i class="fa fa-truck "></i>
            {l s='Shipping method' mod='spstepcheckout'}
        </h4>
        <div id="spsco_two"></div>
        
        <button class="btn btn-info pull-right btn-sm" type="button" onclick="Carrier.getByCountry();">
				<i class="fa fa-spinner" aria-hidden="true"></i>
				Recargar
			</button>
        
    </div>
{/if}

 

  • Payment.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/payment.tpl (justo DESPUÉS del <div id="spsco_three"></div> )
<button class="btn btn-info pull-right btn-sm" type="button" onclick="Payment.getByCountry();">
	<i class="fa fa-spinner" aria-hidden="true"></i>
		Actualizar monto
</button>

   CÓDIGO COMPLETO:

{*
 * @package Sp One Step Checkout
 * @version 1.0.2
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2016 YouTech Company. All Rights Reserved.
 * @author MagenTech http://www.magentech.com
 *}

{if !$register_customer}
    <div id="spsco_three_container" class="{$classes|escape:'htmlall':'UTF-8'}">
        <div class="loading_small"><i class="fa fa-spin fa-spinner fa-2x"></i></div>
        <h4 class="spsco-title spsco-title_three">
            <i class="fa fa-credit-card "></i>
            {l s='Payment method' mod='spstepcheckout'}
        </h4>
        <div id="spsco_three"></div>
        
        <button class="btn btn-info pull-right btn-sm" type="button" onclick="Payment.getByCountry();">
				<i class="fa fa-spinner" aria-hidden="true"></i>
				Actualizar monto
			</button>
        
    </div>
{/if}

 

3- Borrar caché, y recargar la página de manera forzada:

[CTRL + F5]

 

Y listo, eso sería todo. Espero les sirva de ayuda, y muchas gracias por leer. Hasta la próxima.

   Saludos.

Full Group™

Full Group™

Después de pensar un poco, opté por una solución temporal.

Algo rústica, no es automática la solución, pero es funcional. Si a alguien tiene el mismo problema, puede hacer lo siguiente para solucionarlo de manera temporal:

IMPORTANTE: Estos pasos son solo para aquellos que tienen el tema sp_destino 3.9.0: 

https://www.magentech.com/blog/item/709-sp-destino-a-modern-fashion-digital-store-responsive-prestashop-17-theme

 

1- Agregando una propiedad .css en el archivo de tu tienda:

En el backoffice de la tienda, con el módulo SP Theme Configuration, agrega el siguiente código css:

.loading_small {
  display: none !important;
}

NOTA: Si no posees ese módulo, el de SP Theme Configuration, bien lo puedes obtener en internet, o bien puedes agregar esa línea de código anterior css, a tu template, en las siguientes rutas: 

  • Carrier.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/carrier.tpl
  • Payment.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/payment.tpl

 

2- Agregando un botón de refresh, o reload a las rutas anteriores:

En las rutas anteriores, agregar la siguiente línea de código:

  • Carrier.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/carrier.tpl ( justo DESPUÉS del <div id="spsco_two"></div> )
<button class="btn btn-info pull-right btn-sm" type="button" onclick="Carrier.getByCountry();">
	<i class="fa fa-spinner" aria-hidden="true"></i>
		Recargar
</button>

    CÓDIGO COMPLETO:

{*
 * @package Sp One Step Checkout
 * @version 1.0.2
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2016 YouTech Company. All Rights Reserved.
 * @author MagenTech http://www.magentech.com
 *}

{if !$register_customer}
    <div id="spsco_two_container" class="{$classes|escape:'htmlall':'UTF-8'} {if isset($is_virtual_cart) && $is_virtual_cart}hidden{/if}">
        <div class="loading_small"><i class="fa fa-spin fa-spinner fa-2x"></i></div>
        <h4 class="spsco-title spsco-title_two">
            <i class="fa fa-truck "></i>
            {l s='Shipping method' mod='spstepcheckout'}
        </h4>
        <div id="spsco_two"></div>
        
        <button class="btn btn-info pull-right btn-sm" type="button" onclick="Carrier.getByCountry();">
				<i class="fa fa-spinner" aria-hidden="true"></i>
				Recargar
			</button>
        
    </div>
{/if}

 

  • Payment.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/payment.tpl (justo DESPUÉS del <div id="spsco_three"></div> )
<button class="btn btn-info pull-right btn-sm" type="button" onclick="Payment.getByCountry();">
	<i class="fa fa-spinner" aria-hidden="true"></i>
		Actualizar monto
</button>

   CÓDIGO COMPLETO:

{*
 * @package Sp One Step Checkout
 * @version 1.0.2
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2016 YouTech Company. All Rights Reserved.
 * @author MagenTech http://www.magentech.com
 *}

{if !$register_customer}
    <div id="spsco_three_container" class="{$classes|escape:'htmlall':'UTF-8'}">
        <div class="loading_small"><i class="fa fa-spin fa-spinner fa-2x"></i></div>
        <h4 class="spsco-title spsco-title_three">
            <i class="fa fa-credit-card "></i>
            {l s='Payment method' mod='spstepcheckout'}
        </h4>
        <div id="spsco_three"></div>
        
        <button class="btn btn-info pull-right btn-sm" type="button" onclick="Payment.getByCountry();">
				<i class="fa fa-spinner" aria-hidden="true"></i>
				Actualizar monto
			</button>
        
    </div>
{/if}

 

3- Borrar caché, y recargar la página de manera forzada:

[CTRL + F5]

 

Y listo, eso sería todo. Espero les sirva de ayuda, y muchas gracias por leer. Hasta la próxima.

   Saludos.

Full Group™

Full Group™

Después de pensar un poco, opté por una solución temporal.

Algo rústica, no es automática la solución, pero es funcional. Si a alguien tiene el mismo problema, puede hacer lo siguiente para solucionarlo de manera temporal:

IMPORTANTE: Estos pasos son solo para aquellos que tienen el tema sp_destino 3.9.0: 

https://www.magentech.com/blog/item/709-sp-destino-a-modern-fashion-digital-store-responsive-prestashop-17-theme

 

1- Agregando una propiedad .css en el archivo de tu tienda:

En el backoffice de la tienda, con el módulo SP Theme Configuration, agrega el siguiente código css:

.loading_small {
  display: none !important;
}

NOTA: Si no posees ese módulo, el de SP Theme Configuration, bien lo puedes obtener en internet, o bien puedes agregar esa línea de código anterior css, a tu template, en las siguientes rutas: 

  • Carrier.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/carrier.tpl
  • Payment.tpl: /home/shaarabu/public_html/modules/spstepcheckout/views/templates/front/steps/payment.tpl

 

2- Agregando un botón de refresh, o reload a las rutas anteriores:

En las rutas anteriores, agregar la siguiente línea de código:

  • Carrier.tpl: /home/tusitio/public_html/modules/spstepcheckout/views/templates/front/steps/carrier.tpl ( justo DESPUÉS del <div id="spsco_two"></div> )
<button class="btn btn-info pull-right btn-sm" type="button" onclick="Carrier.getByCountry();">
	<i class="fa fa-spinner" aria-hidden="true"></i>
		Recargar
</button>

    CÓDIGO COMPLETO:

{*
 * @package Sp One Step Checkout
 * @version 1.0.2
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2016 YouTech Company. All Rights Reserved.
 * @author MagenTech http://www.magentech.com
 *}

{if !$register_customer}
    <div id="spsco_two_container" class="{$classes|escape:'htmlall':'UTF-8'} {if isset($is_virtual_cart) && $is_virtual_cart}hidden{/if}">
        <div class="loading_small"><i class="fa fa-spin fa-spinner fa-2x"></i></div>
        <h4 class="spsco-title spsco-title_two">
            <i class="fa fa-truck "></i>
            {l s='Shipping method' mod='spstepcheckout'}
        </h4>
        <div id="spsco_two"></div>
        
        <button class="btn btn-info pull-right btn-sm" type="button" onclick="Carrier.getByCountry();">
				<i class="fa fa-spinner" aria-hidden="true"></i>
				Recargar
			</button>
        
    </div>
{/if}

 

  • Payment.tpl: /home/shaarabu/public_html/modules/spstepcheckout/views/templates/front/steps/payment.tpl (justo DESPUÉS del <div id="spsco_three"></div> )
<button class="btn btn-info pull-right btn-sm" type="button" onclick="Payment.getByCountry();">
	<i class="fa fa-spinner" aria-hidden="true"></i>
		Actualizar monto
</button>

   CÓDIGO COMPLETO:

{*
 * @package Sp One Step Checkout
 * @version 1.0.2
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2016 YouTech Company. All Rights Reserved.
 * @author MagenTech http://www.magentech.com
 *}

{if !$register_customer}
    <div id="spsco_three_container" class="{$classes|escape:'htmlall':'UTF-8'}">
        <div class="loading_small"><i class="fa fa-spin fa-spinner fa-2x"></i></div>
        <h4 class="spsco-title spsco-title_three">
            <i class="fa fa-credit-card "></i>
            {l s='Payment method' mod='spstepcheckout'}
        </h4>
        <div id="spsco_three"></div>
        
        <button class="btn btn-info pull-right btn-sm" type="button" onclick="Payment.getByCountry();">
				<i class="fa fa-spinner" aria-hidden="true"></i>
				Actualizar monto
			</button>
        
    </div>
{/if}

 

3- Borrar caché, y recargar la página de manera forzada:

[CTRL + F5]

 

Y listo, eso sería todo. Espero les sirva de ayuda, y muchas gracias por leer. Hasta la próxima.

   Saludos.

×
×
  • Create New...