Hola de nuevo,
Al realizar el pedido me muestra las diferentes opciones mediante botón de radio, permitiendo al cliente cambiarlo y lo que necesito es que muestre solamente el que corresponde según el valor del pedido
http://prntscr.com/gr1dar
Gracias
Hello again,
When making the order shows the different options by radio button, allowing the customer to change it and what I need is to show only the one that corresponds according to the value of the order,
Thanks
If the delivery module doesnt allow you to do that, the code must be changed to do so with a modification.
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
Quiero cambiar el radio button por una label para que el cliente no pueda seleccionar con radio button la cantidad de dinero que le cuesta el envio.
¿que archivo debería de cambiar? la otra opción sería ocultar este paso pero que si se visualizara en el subtotal el envío, ¿sería posible?
gracias de nuevo
I want to change the radio button for a label so that the customer can not select with radio button the amount of money that costs the shipment.
What file should change? the other option would be to hide this step but if it was displayed in the subtotal the sending, would be possible?
Thanks again
¿que archivo debería de cambiar? la otra opción sería ocultar este paso pero que si se visualizara en el subtotal el envío, ¿sería posible?
gracias de nuevo
I want to change the radio button for a label so that the customer can not select with radio button the amount of money that costs the shipment.
What file should change? the other option would be to hide this step but if it was displayed in the subtotal the sending, would be possible?
Thanks again
En checkout.tpl ¿como puedo cambiar el imput radio por un label o un textarea que no deje modificar el valor ?
$(document).delegate('#button-shipping-method', 'click', function() {
$.ajax({
url: 'index.php?route=checkout/shipping_method/save',
type: 'post',
data: $('#collapse-shipping-method input[type=\'radio\']:checked, #collapse-shipping-method textarea'),
dataType: 'json',
beforeSend: function() {
$('#button-shipping-method').button('loading');
Gracias
$(document).delegate('#button-shipping-method', 'click', function() {
$.ajax({
url: 'index.php?route=checkout/shipping_method/save',
type: 'post',
data: $('#collapse-shipping-method input[type=\'radio\']:checked, #collapse-shipping-method textarea'),
dataType: 'json',
beforeSend: function() {
$('#button-shipping-method').button('loading');
Gracias
You want to disable the shipping method selection? If so, you can add :
to the bottom of these files :
catalog\view\theme\default\template\checkout\guest_shipping.tpl
catalog\view\theme\default\template\checkout\shipping_method.tpl
Code: Select all
<script type="text/javascript"><!--
$('#collapse-shipping-method input[type="radio"]').attr('disabled', 'disabled');
//--></script>
catalog\view\theme\default\template\checkout\guest_shipping.tpl
catalog\view\theme\default\template\checkout\shipping_method.tpl
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
Who is online
Users browsing this forum: No registered users and 61 guests