Magento 1 - How to apply custom popup message option to checkout courier selection?
-
14-04-2021 - |
Pregunta
In my website there is two courier service, customer can able to select the courier service as their wish. I am using the Matrix shipping rate.
Backend Code:
app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml
courier option section:
<span class="no-display"><input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
<?php else: ?>
<input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?> "<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/>
And my HTML popup code:
https://paste.ofcode.org/qYJe3faagunkikwQph6UZP
HTML output :
How to apply HTML code into phtml file
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange