[Skip to main content](#vessel-content)

#   Payment method layout - Change Layout

##

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

9 years 6 months ago [\#269789](#269789) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  *[Payment method layout - Change Layout](/forum/27-checkout/890303-payment-method-layout-change-layout#269789 "Hello, sorry to ask but i'm getting crazy! I'm trying to change payment method layout but i can't understand how! This is what i see and what i'd like to see..  I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!  So i need to: 1) Hide Orange Button 2) Move the price payment at the end..  This is my code:  Please help.. :(")* was created by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")*

Hello,
sorry to ask but i'm getting crazy!
I'm trying to change payment method layout but i can't understand how!
This is what i see and what i'd like to see..
[ ![come&#95;vorrei&#95;metodo&#95;pagamento.png](/forum/attachment/38180) ](/forum/attachment/38180 "...&#95;pagamento.png")

I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!

So i need to:
1) Hide Orange Button
2) Move the price payment at the end..

This is my code:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 3.0.1 * @author hikashop.com * @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php if(!empty($this-&gt;orderInfos-&gt;full_total-&gt;prices[0]) &amp;&amp; bccomp($this-&gt;orderInfos-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,0,5)!=0){ if(!empty($this-&gt;methods)){ ?&gt; &lt;div id="hikashop_payment_methods" class="hikashop_payment_methods"&gt; &lt;fieldset&gt; &lt;legend&gt;&lt;?php echo JText::_('HIKASHOP_PAYMENT_METHOD');?&gt;&lt;/legend&gt; &lt;?php $done = false; $row_index=0; $auto_select_default = $this-&gt;config-&gt;get('auto_select_default',2); if($auto_select_default==1 &amp;&amp; count($this-&gt;methods)&gt;1) $auto_select_default=0; $odd = 0; if(!HIKASHOP_RESPONSIVE) { ?&gt; &lt;table class="hikashop_payment_methods_table"&gt; &lt;?php foreach($this-&gt;methods as $method){ $checked = ''; if(($this-&gt;payment_method==$method-&gt;payment_type &amp;&amp; $this-&gt;payment_id==$method-&gt;payment_id)&#124;&#124; ($auto_select_default &amp;&amp; empty($this-&gt;payment_id)&amp;&amp;!$done)){ $checked = 'checked="checked"'; $done = true; } if($this-&gt;config-&gt;get('auto_submit_methods',1) &amp;&amp; empty($method-&gt;ask_cc) &amp;&amp; empty($method-&gt;custom_html) &amp;&amp; empty($checked)){ $checked.=' onclick="this.form.action=this.form.action+\'#hikashop_payment_methods\';this.form.submit(); return false;"'; } ?&gt; &lt;tr class="row&lt;?php echo $odd; ?&gt;"&gt; &lt;td&gt; &lt;input class="hikashop_checkout_payment_radio" id="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" type="radio" name="hikashop_payment" value="&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" &lt;?php echo $checked; ?&gt; /&gt; &lt;/td&gt; &lt;td&gt;&lt;label for="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_payment_image"&gt; &lt;?php if(!empty($method-&gt;payment_images)){ $images = explode(',',$method-&gt;payment_images); if(!empty($images)){ foreach($images as $image){ if(!empty($this-&gt;images_payment[$image])){ ?&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES .'payment/'. $this-&gt;images_payment[$image];?&gt;" alt=""/&gt; &lt;?php } } } } ?&gt; &lt;/span&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt;&lt;label for="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_payment_name"&gt;&lt;?php echo $method-&gt;payment_name;?&gt;&lt;/span&gt;&lt;/label&gt; &lt;span class="hikashop_checkout_payment_cost"&gt; &lt;?php if(bccomp($method-&gt;payment_price,0,5) === 0) { $price_text = JText::_('FREE_PAYMENT'); } else { $pt = (int)$this-&gt;params-&gt;get('price_with_tax'); $price_text = JText::_('PRICE_BEGINNING'); $price_text .= '&lt;span class="hikashop_checkout_payment_price"&gt;'; if($pt){ $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency); } if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; isset($method-&gt;payment_price_orig) &amp;&amp; bccomp($method-&gt;payment_price_orig, 0, 5)) { $price_text .= JText::_('PRICE_BEFORE_ORIG'); if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig_with_tax, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); $price_text .= JText::_('PRICE_AFTER_ORIG'); } $price_text .= '&lt;/span&gt; '; $price_text .= JText::_('PRICE_END'); } echo $price_text; ?&gt; &lt;/span&gt; &lt;?php if(!empty($method-&gt;payment_description)){ ?&gt; &lt;br/&gt; &lt;div class="hikashop_checkout_payment_description"&gt;&lt;?php echo $method-&gt;payment_description;?&gt;&lt;/div&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr class="hikashop_checkout_payment_ccinfo"&gt; &lt;td colspan="3"&gt; &lt;?php $this-&gt;method =&amp; $method; $this-&gt;setLayout('ccinfo'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $row_index++; $odd = 1-$odd; } ?&gt; &lt;/table&gt; &lt;?php } else { ?&gt; &lt;div class="controls"&gt; &lt;div class="hika-radio"&gt; &lt;table class="hikashop_payment_methods_table table table-striped table-hover"&gt; &lt;?php foreach($this-&gt;methods as $method){ $checked = ''; if(($this-&gt;payment_method==$method-&gt;payment_type &amp;&amp; $this-&gt;payment_id==$method-&gt;payment_id)&#124;&#124; ($auto_select_default &amp;&amp; empty($this-&gt;payment_id)&amp;&amp;!$done)){ $checked = 'checked="checked"'; $done = true; } if($this-&gt;config-&gt;get('auto_submit_methods',1) &amp;&amp; empty($method-&gt;ask_cc) &amp;&amp; empty($method-&gt;custom_html) &amp;&amp; empty($checked)){ $checked.=' onclick="this.form.action=this.form.action+\'#hikashop_payment_methods\';this.form.submit(); return false;"'; } ?&gt; &lt;tr class="row&lt;?php echo $odd; ?&gt;"&gt; &lt;td&gt; &lt;input class="hikashop_checkout_payment_radio" id="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" type="radio" name="hikashop_payment" value="&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" &lt;?php echo $checked; ?&gt; /&gt; &lt;label class="btn btn-radio" for="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;"&gt;&lt;?php echo $method-&gt;payment_name;?&gt;&lt;/label&gt; &lt;span class="hikashop_checkout_payment_cost"&gt; &lt;?php if(bccomp($method-&gt;payment_price,0,5) === 0) { $price_text = JText::_('FREE_PAYMENT'); } else { $pt = (int)$this-&gt;params-&gt;get('price_with_tax'); $price_text = JText::_('PRICE_BEGINNING'); $price_text .= '&lt;span class="hikashop_checkout_payment_price"&gt;'; if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; isset($method-&gt;payment_price_orig) &amp;&amp; bccomp($method-&gt;payment_price_orig, 0, 5)) { $price_text .= JText::_('PRICE_BEFORE_ORIG'); if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig_with_tax, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); $price_text .= JText::_('PRICE_AFTER_ORIG'); } $price_text .= '&lt;/span&gt; '; $price_text .= JText::_('PRICE_END'); } echo $price_text; ?&gt; &lt;/span&gt; &lt;span class="hikashop_checkout_payment_image"&gt; &lt;?php if(!empty($method-&gt;payment_images)){ $images = explode(',',$method-&gt;payment_images); if(!empty($images)){ foreach($images as $image){ if(!empty($this-&gt;images_payment[$image])){ ?&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES .'payment/'. $this-&gt;images_payment[$image];?&gt;" alt=""/&gt; &lt;?php } } } } ?&gt; &lt;/span&gt; &lt;div class="hikashop_checkout_payment_description"&gt;&lt;?php echo $method-&gt;payment_description;?&gt;&lt;/div&gt; &lt;div class="ccinfo"&gt; &lt;?php $this-&gt;method =&amp; $method; $this-&gt;setLayout('ccinfo'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $odd = 1-$odd; } ?&gt; &lt;/table&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; (function($){ $("#hikashop_payment_methods .hika-radio input:checked").each(function() { $("label[for=" + jQuery(this).attr('id') + "]").addClass('active btn-primary'); }); $("#hikashop_payment_methods .hika-radio input").change(function() { $(this).parents('div.hika-radio').find('label.active').removeClass('active btn-primary'); $("label[for=" + jQuery(this).attr('id') + "]").addClass('active btn-primary'); }); })(jQuery); &lt;/script&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;?php } }

Please help.. ![:(](/media/kunena/emoticons/22.png ":(")

- [ ![come&#95;vorrei&#95;metodo&#95;pagamento.png](/forum/attachment/38180) ](/forum/attachment/38180 "...&#95;pagamento.png") [ ](/forum/attachment/38180?download=1 "...&#95;pagamento.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDMwMy1wYXltZW50LW1ldGhvZC1sYXlvdXQtY2hhbmdlLWxheW91dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 6 months ago [\#269797](#269797) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment method layout - Change Layout](/forum/27-checkout/890303-payment-method-layout-change-layout#269797 "Hello, sorry to ask but i'm getting crazy! I'm trying to change payment method layout but i can't understand how! This is what i see and what i'd like to see..  I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!  So i need to: 1) Hide Orange Button 2) Move the price payment at the end..  This is my code:  Please help.. :(")*

Hi,

First, please note that the "payment" file of the view "checkout" is only used with the "checkout legacy" setting activated.
If you turned off that setting, then you're using the new checkout system and thus you're using the file "show_block_payment" of the "checkout" view.
So maybe that's why you do find that you think you should have there as you're maybe not editing the correct view file ?
Since you didn't provide a link to the shop I can't say.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDMwMy1wYXltZW50LW1ldGhvZC1sYXlvdXQtY2hhbmdlLWxheW91dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

9 years 6 months ago [\#269833](#269833) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  Replied by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")* on topic *[Payment method layout - Change Layout](/forum/27-checkout/890303-payment-method-layout-change-layout#269833 "Hello, sorry to ask but i'm getting crazy! I'm trying to change payment method layout but i can't understand how! This is what i see and what i'd like to see..  I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!  So i need to: 1) Hide Orange Button 2) Move the price payment at the end..  This is my code:  Please help.. :(")*

Hello,
ok, i've opned the right file view but the issue still remain.
I removed all &lt;div&gt; content &lt;button&gt; .... Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 3.0.1 * @author hikashop.com * @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php if(empty($this-&gt;ajax)) { ?&gt; &lt;div id="hikashop_checkout_payment_&lt;?php echo $this-&gt;step; ?&gt;_&lt;?php echo $this-&gt;module_position; ?&gt;" class="hikashop_checkout_payment"&gt; &lt;?php } ?&gt; &lt;div class="hikashop_checkout_loading_elem"&gt;&lt;/div&gt; &lt;div class="hikashop_checkout_loading_spinner"&gt;&lt;/div&gt; &lt;?php $this-&gt;checkoutHelper-&gt;displayMessages('payment'); $cart = $this-&gt;checkoutHelper-&gt;getCart(); if(!empty($cart-&gt;usable_methods-&gt;payment)) { ?&gt; &lt;table style="width:100%" class="hikashop_payment_methods_table table table-bordered table-striped table-hover"&gt; &lt;?php foreach($cart-&gt;usable_methods-&gt;payment as $payment) { $input_id = 'payment_radio_'.$this-&gt;step.'_'.$this-&gt;module_position.'__'.$payment-&gt;payment_type.'_'.$payment-&gt;payment_id; $container_id = 'hikashop_checkout_payment_'.$this-&gt;step.'_'.$this-&gt;module_position.'__'.$payment-&gt;payment_id; $selected = (!empty($cart-&gt;payment) &amp;&amp; $payment-&gt;payment_id == $cart-&gt;payment-&gt;payment_id); $input_data = array( 'step' =&gt; $this-&gt;step, 'pos' =&gt; $this-&gt;module_position, 'block' =&gt; 'payment', 'type' =&gt; $payment-&gt;payment_type, 'id' =&gt; (int)$payment-&gt;payment_id, ); ?&gt; &lt;tr&gt;&lt;td&gt; &lt;input class="hikashop_checkout_payment_radio" type="radio" name="checkout[payment][id]" id="&lt;?php echo $input_id; ?&gt;" data-hk-checkout="&lt;?php echo $this-&gt;escape(json_encode($input_data)); ?&gt;" onchange="window.checkout.paymentSelected(this);" value="&lt;?php echo $payment-&gt;payment_id;?&gt;"&lt;?php echo ($selected ? ' checked="checked"' : ''); ?&gt;/&gt; &lt;label for="&lt;?php echo $input_id; ?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_payment_name"&gt;&lt;?php echo $payment-&gt;payment_name;?&gt;&lt;/span&gt; &lt;/label&gt; &lt;span class="hikashop_checkout_payment_cost"&gt;&lt;?php echo $this-&gt;checkoutHelper-&gt;getDisplayPrice($payment, 'payment', $this-&gt;options); ?&gt;&lt;/span&gt; &lt;?php if(!empty($payment-&gt;payment_images)) { ?&gt; &lt;span class="hikashop_checkout_payment_images"&gt; &lt;?php $images = explode(',', $payment-&gt;payment_images); foreach($images as $image) { $img = $this-&gt;checkoutHelper-&gt;getPluginImage($image, 'payment'); if(empty($img)) continue; ?&gt; &lt;img src="&lt;?php echo $img-&gt;url; ?&gt;" alt=""/&gt; &lt;?php } ?&gt; &lt;/span&gt; &lt;?php } ?&gt; &lt;?php if(!empty($payment-&gt;payment_description)) { ?&gt; &lt;div class="hikashop_checkout_payment_description"&gt;&lt;?php echo $payment-&gt;payment_description; ?&gt;&lt;/div&gt; &lt;?php } ?&gt; &lt;?php if(!empty($payment-&gt;ask_cc)) { ?&gt; &lt;div id="&lt;?php echo $container_id; ?&gt;__card" class="hikashop_checkout_payment_card" style="&lt;?php echo $selected ? '' : ' display:none;'; ?&gt;"&gt;&lt;?php $cc_data = $this-&gt;checkoutHelper-&gt;getCreditCard($payment); if(empty($cc_data)) hikashop_loadJsLib('creditcard'); ?&gt; &lt;dl class="hika_options large"&gt; &lt;?php if(!empty($payment-&gt;ask_owner)) { ?&gt; &lt;dt&gt;&lt;?php echo JText::_('CREDIT_CARD_OWNER'); ?&gt;&lt;/dt&gt; &lt;dd&gt; &lt;?php if(empty($cc_data)) { ?&gt; &lt;input type="text" autocomplete="off" name="checkout[payment][card][&lt;?php echo $payment-&gt;payment_id;?&gt;][owner]" value="" /&gt; &lt;?php } else { ?&gt; &lt;span class="hikashop_checkout_payment_card_details"&gt;&lt;?php echo $this-&gt;escape(@$cc_data-&gt;owner); ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/dd&gt; &lt;?php } ?&gt; &lt;?php if(!empty($payment-&gt;ask_cctype)) { ?&gt; &lt;dt&gt;&lt;?php echo JText::_('CARD_TYPE'); ?&gt;&lt;/dt&gt; &lt;dd&gt;&lt;?php if(empty($cc_data)) { $values = array(); foreach($payment-&gt;ask_cctype as $k =&gt; $v) { $values[] = JHTML::_('select.option', $k, $v); } echo JHTML::_('select.genericlist', $values, 'checkout[payment][card]['.$payment-&gt;payment_id.'][type]', '', 'value', 'text', ''); } else { ?&gt; &lt;span class="hikashop_checkout_payment_card_details"&gt;&lt;?php if(isset($payment-&gt;ask_cctype[@$cc_data-&gt;type])) echo $this-&gt;escape($payment-&gt;ask_cctype[@$cc_data-&gt;type]); else echo $this-&gt;escape(@$cc_data-&gt;type); ?&gt;&lt;/span&gt; &lt;?php } ?&gt;&lt;/dd&gt; &lt;?php } ?&gt; &lt;dt&gt;&lt;label for="hk_co_p_c_n_&lt;?php echo $payment-&gt;payment_id; ?&gt;"&gt;&lt;?php echo JText::_('CREDIT_CARD_NUMBER'); ?&gt;&lt;/label&gt;&lt;/dt&gt; &lt;dd&gt; &lt;?php if(empty($cc_data)) { ?&gt; &lt;input type="text" autocomplete="off" name="checkout[payment][card][&lt;?php echo $payment-&gt;payment_id; ?&gt;][num]" value="" onchange="if(!hikashopCheckCreditCard(this.value)){ this.value = '';}" id="hk_co_p_c_&lt;?php echo $payment-&gt;payment_id; ?&gt;"/&gt; &lt;?php } else { ?&gt; &lt;span class="hikashop_checkout_payment_card_details"&gt;&lt;?php echo $this-&gt;escape(@$cc_data-&gt;num); ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/dd&gt; &lt;dt&gt;&lt;label for="hk_co_p_c_e_&lt;?php echo $payment-&gt;payment_id; ?&gt;"&gt;&lt;?php echo JText::_('EXPIRATION_DATE'); ?&gt;&lt;/label&gt;&lt;/dt&gt; &lt;dd&gt; &lt;?php if(empty($cc_data)) { ?&gt; &lt;input type="text" autocomplete="off" name="checkout[payment][card][&lt;?php echo $payment-&gt;payment_id; ?&gt;][mm]" class="card_expiration_date_input" maxlength="2" size="2" value="" placeholder="&lt;?php $mm = JText::_('CC_MM'); if($mm=='CC_MM') $mm = JText::_('MM'); echo $mm;?&gt;" id="hk_co_p_c_e_&lt;?php echo $payment-&gt;payment_id; ?&gt;"/&gt; / &lt;input type="text" autocomplete="off" name="checkout[payment][card][&lt;?php echo $payment-&gt;payment_id; ?&gt;][yy]" class="card_expiration_date_input" maxlength="2" size="2" value="" placeholder="&lt;?php echo JText::_('YY');?&gt;" /&gt; &lt;?php } else { ?&gt; &lt;span class="hikashop_checkout_payment_card_details"&gt;&lt;?php echo $this-&gt;escape(@$cc_data-&gt;mm) . '/' . $this-&gt;escape(@$cc_data-&gt;yy); ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/dd&gt; &lt;?php if(!empty($payment-&gt;ask_ccv)) { hikashop_loadJsLib('tooltip'); ?&gt; &lt;dt&gt;&lt;label for="hk_co_p_c_v_&lt;?php echo $payment-&gt;payment_id; ?&gt;" data-toggle="hk-tooltip" data-title="&lt;?php echo htmlspecialchars('&lt;strong&gt;'.JText::_('CVC_TOOLTIP_TITLE').'&lt;/strong&gt;&lt;br/&gt;'.JText::_('CVC_TOOLTIP_TEXT'), ENT_COMPAT, 'UTF-8'); ?&gt;"&gt;&lt;?php echo JText::_('CARD_VALIDATION_CODE'); ?&gt;&lt;/label&gt;&lt;/dt&gt; &lt;dd&gt; &lt;?php if(empty($cc_data)) { ?&gt; &lt;input type="text" autocomplete="off" name="checkout[payment][card][&lt;?php echo $payment-&gt;payment_id;?&gt;][ccv]" maxlength="4" size="4" value="" id="hk_co_p_c_v_&lt;?php echo $payment-&gt;payment_id; ?&gt;"/&gt; &lt;?php } else { ?&gt; &lt;span class="hikashop_checkout_payment_card_details"&gt;&lt;?php echo $this-&gt;escape(@$cc_data-&gt;ccv); ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/dd&gt; &lt;?php } ?&gt; &lt;/dl&gt; &lt;?php if(empty($cc_data)) { ?&gt; &lt;?php } else { ?&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;?php if(!empty($payment-&gt;custom_html)) { ?&gt; &lt;div id="&lt;?php echo $container_id; ?&gt;__custom" class="hikashop_checkout_payment_custom" style="&lt;?php echo $selected ? '' : ' display:none;'; ?&gt;"&gt; &lt;?php echo $this-&gt;checkoutHelper-&gt;getCustomHtml($payment-&gt;custom_html, 'checkout[payment][custom]['.$payment-&gt;payment_id.']'); ?&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;/td&gt;&lt;/tr&gt; &lt;?php } ?&gt; &lt;/table&gt; &lt;?php } if(empty($this-&gt;ajax)) { ?&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; if(!window.checkout) window.checkout = {}; window.checkout.selectedPayment = &lt;?php echo (int)$cart-&gt;payment-&gt;payment_id; ?&gt;; window.Oby.registerAjax(['checkout.payment.updated','cart.updated'], function(params){ if(params &amp;&amp; (params.cart_empty &#124;&#124; (params.resp &amp;&amp; params.resp.empty))) return; window.checkout.refreshPayment(&lt;?php echo (int)$this-&gt;step; ?&gt;, &lt;?php echo (int)$this-&gt;module_position; ?&gt;); }); window.checkout.refreshPayment = function(step, id) { return window.checkout.refreshBlock('payment', step, id); }; window.checkout.submitPayment = function(step, id) { return window.checkout.submitBlock('payment', step, id); }; window.checkout.paymentSelected = function(el) { var data = window.Oby.evalJSON(el.getAttribute('data-hk-checkout')), prefix = 'hikashop_checkout_payment_' + data.step + '_' + data.pos + '__', el = null, d = document; var url = "&lt;?php echo hikashop_completeLink('checkout&amp;task=submitblock&amp;blocktask=payment&amp;cid=HIKACID&amp;blockpos=HIKAPOS&amp;tmpl=ajax', false, false, true); ?&gt;".replace("HIKACID", data.step).replace("HIKAPOS", data.pos), formData = 'selectionOnly=1&amp;' + encodeURI('checkout[payment][id]') + '=' + encodeURIComponent(data.id) + '&amp;' + encodeURI(window.checkout.token)+'=1'; window.Oby.xRequest(url, {mode:"POST", data: formData}, function(x,p) { var r = window.Oby.evalJSON(x.responseText); if(r &amp;&amp; r.ret &gt; 0) { window.checkout.selectedPayment = data.id; } if(r &amp;&amp; r.events) window.checkout.processEvents(r.events); }); if(window.checkout.selectedPayment &gt; 0) { var b = prefix + window.checkout.selectedPayment; window.hikashop.setArrayDisplay([b + '__card', b + '__custom'], false); } var b = prefix + data.id; window.hikashop.setArrayDisplay([b + '__card', b + '__custom'], true); }; window.checkout.resetPayment = function(step, pos, payment_id) { var formData = encodeURI('checkout[payment][id]') + '=' + encodeURIComponent(payment_id) + '&amp;' + encodeURI('checkout[payment][card]['+payment_id+']') + '=reset'; return window.checkout.submitBlock('payment', step, pos, formData); }; &lt;/script&gt; &lt;?php }

Website is [ www.andreasuriani.com/index.php/it/checkout/checkout](https://www.andreasuriani.com/index.php/it/checkout/checkout)
I send you the credential on your contact form.

A.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDMwMy1wYXltZW50LW1ldGhvZC1sYXlvdXQtY2hhbmdlLWxheW91dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 6 months ago -  9 years 6 months ago [\#269843](#269843) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Payment method layout - Change Layout](/forum/27-checkout/890303-payment-method-layout-change-layout#269843 "Hello, sorry to ask but i'm getting crazy! I'm trying to change payment method layout but i can't understand how! This is what i see and what i'd like to see..  I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!  So i need to: 1) Hide Orange Button 2) Move the price payment at the end..  This is my code:  Please help.. :(")*

Hello,

Step by step :

**1°)** Around line **37**, you have this : Code:

... &lt;input class="hikashop_checkout_payment_radio" type="radio" name="checkout[payment][id]" id="&lt;?php echo $input_id; ?&gt;" data-hk-checkout="&lt;?php echo $this-&gt;escape(json_encode($input_data)); ?&gt;" onchange="window.checkout.paymentSelected(this);" value="&lt;?php echo $payment-&gt;payment_id;?&gt;"&lt;?php echo ($selected ? ' checked="checked"' : ''); ?&gt;/&gt; &lt;label for="&lt;?php echo $input_id; ?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_payment_name"&gt;&lt;?php echo $payment-&gt;payment_name;?&gt;&lt;/span&gt; &lt;/label&gt; &lt;span class="...

Remove the &lt;label&gt;...&lt;/label&gt; to have this : Code:

... &lt;input class="hikashop_checkout_payment_radio" type="radio" name="checkout[payment][id]" id="&lt;?php echo $input_id; ?&gt;" data-hk-checkout="&lt;?php echo $this-&gt;escape(json_encode($input_data)); ?&gt;" onchange="window.checkout.paymentSelected(this);" value="&lt;?php echo $payment-&gt;payment_id;?&gt;"&lt;?php echo ($selected ? ' checked="checked"' : ''); ?&gt;/&gt; &lt;span class="...

**2°)** See my screenshot, a little on below, you have to switch position, span (hikashop_checkout_payment_cost) WITH span (hikashop_checkout_payment_images).

[ ![CustomShowPay.png](/forum/attachment/38208) ](/forum/attachment/38208 "CustomShowPay.png")

Hope this will help you.

Regards

- [ ![CustomShowPay.png](/forum/attachment/38208) ](/forum/attachment/38208 "CustomShowPay.png") [ ](/forum/attachment/38208?download=1 "CustomShowPay.png")

Last edit: 9 years 6 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDMwMy1wYXltZW50LW1ldGhvZC1sYXlvdXQtY2hhbmdlLWxheW91dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

9 years 6 months ago [\#270017](#270017) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  Replied by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")* on topic *[Payment method layout - Change Layout](/forum/27-checkout/890303-payment-method-layout-change-layout#270017 "Hello, sorry to ask but i'm getting crazy! I'm trying to change payment method layout but i can't understand how! This is what i see and what i'd like to see..  I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!  So i need to: 1) Hide Orange Button 2) Move the price payment at the end..  This is my code:  Please help.. :(")*

Hi Philip,
i'm sorry but i'm using the Checkout Legacy... so the file is checkout/payment is it right?

I've tried to look inside but i don't know where modify the strings... can you kindly help me?

Thanks in advance.

A.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDMwMy1wYXltZW50LW1ldGhvZC1sYXlvdXQtY2hhbmdlLWxheW91dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

9 years 6 months ago [\#270018](#270018) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  Replied by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")* on topic *[Payment method layout - Change Layout](/forum/27-checkout/890303-payment-method-layout-change-layout#270018 "Hello, sorry to ask but i'm getting crazy! I'm trying to change payment method layout but i can't understand how! This is what i see and what i'd like to see..  I'm trying to modify checkout / payment.php but it seems the order to show is correct.. but it doesn't work!  So i need to: 1) Hide Orange Button 2) Move the price payment at the end..  This is my code:  Please help.. :(")*

I did it! ![:)](/media/kunena/emoticons/3.png ":)")
Following your previus istruction....
Code:

&lt;div id="titolo" class="hikashop_payment_methods"&gt; &lt;fieldset&gt; &lt;legend&gt;&lt;?php echo JText::_('HIKASHOP_PAYMENT_METHOD');?&gt;&lt;/legend&gt;&lt;/fieldset&gt; &lt;/div&gt; &lt;table style="width: 100%; height: 100%;" cellpadding="20"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style="width: 50%;"&gt;&lt;?php /** * @package HikaShop for Joomla! * @version 3.0.1 * @author hikashop.com * @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php if(!empty($this-&gt;orderInfos-&gt;full_total-&gt;prices[0]) &amp;&amp; bccomp($this-&gt;orderInfos-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,0,5)!=0){ if(!empty($this-&gt;methods)){ ?&gt; &lt;div id="hikashop_payment_methods" class="hikashop_payment_methods"&gt; &lt;fieldset&gt; &lt;?php $done = false; $row_index=0; $auto_select_default = $this-&gt;config-&gt;get('auto_select_default',2); if($auto_select_default==1 &amp;&amp; count($this-&gt;methods)&gt;1) $auto_select_default=0; $odd = 0; if(!HIKASHOP_RESPONSIVE) { ?&gt; &lt;table class="hikashop_payment_methods_table"&gt; &lt;?php foreach($this-&gt;methods as $method){ $checked = ''; if(($this-&gt;payment_method==$method-&gt;payment_type &amp;&amp; $this-&gt;payment_id==$method-&gt;payment_id)&#124;&#124; ($auto_select_default &amp;&amp; empty($this-&gt;payment_id)&amp;&amp;!$done)){ $checked = 'checked="checked"'; $done = true; } if($this-&gt;config-&gt;get('auto_submit_methods',1) &amp;&amp; empty($method-&gt;ask_cc) &amp;&amp; empty($method-&gt;custom_html) &amp;&amp; empty($checked)){ $checked.=' onclick="this.form.action=this.form.action+\'#hikashop_payment_methods\';this.form.submit(); return false;"'; } ?&gt; &lt;tr class="row&lt;?php echo $odd; ?&gt;"&gt; &lt;td&gt; &lt;input class="hikashop_checkout_payment_radio" id="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" type="radio" name="hikashop_payment" value="&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" &lt;?php echo $checked; ?&gt; /&gt; &lt;/td&gt; &lt;td&gt;&lt;label for="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_payment_image"&gt; &lt;?php if(!empty($method-&gt;payment_images)){ $images = explode(',',$method-&gt;payment_images); if(!empty($images)){ foreach($images as $image){ if(!empty($this-&gt;images_payment[$image])){ ?&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES .'payment/'. $this-&gt;images_payment[$image];?&gt;" alt=""/&gt; &lt;?php } } } } ?&gt; &lt;/span&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt;&lt;label for="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_payment_name"&gt;&lt;?php echo $method-&gt;payment_name;?&gt;&lt;/span&gt;&lt;/label&gt; &lt;span class="hikashop_checkout_payment_cost"&gt; &lt;?php if(bccomp($method-&gt;payment_price,0,5) === 0) { $price_text = JText::_('FREE_PAYMENT'); } else { $pt = (int)$this-&gt;params-&gt;get('price_with_tax'); $price_text = JText::_('PRICE_BEGINNING'); $price_text .= '&lt;span class="hikashop_checkout_payment_price"&gt;'; if($pt){ $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency); } if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; isset($method-&gt;payment_price_orig) &amp;&amp; bccomp($method-&gt;payment_price_orig, 0, 5)) { $price_text .= JText::_('PRICE_BEFORE_ORIG'); if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig_with_tax, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); $price_text .= JText::_('PRICE_AFTER_ORIG'); } $price_text .= '&lt;/span&gt; '; $price_text .= JText::_('PRICE_END'); } echo $price_text; ?&gt; &lt;/span&gt; &lt;?php if(!empty($method-&gt;payment_description)){ ?&gt; &lt;br/&gt; &lt;div class="hikashop_checkout_payment_description"&gt;&lt;?php echo $method-&gt;payment_description;?&gt;&lt;/div&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr class="hikashop_checkout_payment_ccinfo"&gt; &lt;td colspan="3"&gt; &lt;?php $this-&gt;method =&amp; $method; $this-&gt;setLayout('ccinfo'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $row_index++; $odd = 1-$odd; } ?&gt; &lt;/table&gt; &lt;?php } else { ?&gt; &lt;div class="controls"&gt; &lt;div class="hika-radio"&gt; &lt;table class="hikashop_payment_methods_table table table-striped table-hover"&gt; &lt;?php foreach($this-&gt;methods as $method){ $checked = ''; if(($this-&gt;payment_method==$method-&gt;payment_type &amp;&amp; $this-&gt;payment_id==$method-&gt;payment_id)&#124;&#124; ($auto_select_default &amp;&amp; empty($this-&gt;payment_id)&amp;&amp;!$done)){ $checked = 'checked="checked"'; $done = true; } if($this-&gt;config-&gt;get('auto_submit_methods',1) &amp;&amp; empty($method-&gt;ask_cc) &amp;&amp; empty($method-&gt;custom_html) &amp;&amp; empty($checked)){ $checked.=' onclick="this.form.action=this.form.action+\'#hikashop_payment_methods\';this.form.submit(); return false;"'; } ?&gt; &lt;tr class="row&lt;?php echo $odd; ?&gt;"&gt; &lt;td&gt; &lt;input class="hikashop_checkout_payment_radio" id="radio_&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" type="radio" name="hikashop_payment" value="&lt;?php echo $method-&gt;payment_type.'_'.$method-&gt;payment_id;?&gt;" &lt;?php echo $checked; ?&gt; /&gt; &lt;span class="hikashop_checkout_payment_image"&gt; &lt;?php if(!empty($method-&gt;payment_images)){ $images = explode(',',$method-&gt;payment_images); if(!empty($images)){ foreach($images as $image){ if(!empty($this-&gt;images_payment[$image])){ ?&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES .'payment/'. $this-&gt;images_payment[$image];?&gt;" alt=""/&gt; &lt;?php } } } } ?&gt; &lt;/span&gt; &lt;span class="hikashop_checkout_payment_cost"&gt; &lt;?php if(bccomp($method-&gt;payment_price,0,5) === 0) { $price_text = JText::_('FREE_PAYMENT'); } else { $pt = (int)$this-&gt;params-&gt;get('price_with_tax'); $price_text = JText::_('PRICE_BEGINNING'); $price_text .= '&lt;span class="hikashop_checkout_payment_price"&gt;'; if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; isset($method-&gt;payment_price_orig) &amp;&amp; bccomp($method-&gt;payment_price_orig, 0, 5)) { $price_text .= JText::_('PRICE_BEFORE_ORIG'); if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig_with_tax, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_orig, $method-&gt;payment_currency_orig); if($pt == 2) $price_text .= JText::_('PRICE_AFTER_TAX'); $price_text .= JText::_('PRICE_AFTER_ORIG'); } $price_text .= '&lt;/span&gt; '; $price_text .= JText::_('PRICE_END'); } echo $price_text; ?&gt; &lt;/span&gt; &lt;div class="hikashop_checkout_payment_description"&gt;&lt;?php echo $method-&gt;payment_description;?&gt;&lt;/div&gt; &lt;div class="ccinfo"&gt; &lt;?php $this-&gt;method =&amp; $method; $this-&gt;setLayout('ccinfo'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $odd = 1-$odd; } ?&gt; &lt;/table&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; (function($){ $("#hikashop_payment_methods .hika-radio input:checked").each(function() { $("label[for=" + jQuery(this).attr('id') + "]").addClass('active btn-primary'); }); $("#hikashop_payment_methods .hika-radio input").change(function() { $(this).parents('div.hika-radio').find('label.active').removeClass('active btn-primary'); $("label[for=" + jQuery(this).attr('id') + "]").addClass('active btn-primary'); }); })(jQuery); &lt;/script&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;?php } } ?&gt;&lt;/td&gt; &lt;td style="width: 50%;"&gt;&lt;?php /** * @package HikaShop for Joomla! * @version 3.0.1 * @author hikashop.com * @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;span class="hikashop_checkout_coupon" id="hikashop_checkout_coupon"&gt; &lt;?php if(empty($this-&gt;coupon)){ echo JText::_('HIKASHOP_ENTER_COUPON'); ?&gt; &lt;input id="hikashop_checkout_coupon_input" type="text" name="coupon" value="" /&gt; &lt;?php echo $this-&gt;cart-&gt;displayButton(JText::_('ADD'),'refresh',$this-&gt;params,hikashop_completeLink('checkout'),'',' onclick="return hikashopCheckCoupon(\'hikashop_checkout_coupon_input\');"'); }else{ echo JText::sprintf('HIKASHOP_COUPON_LABEL',@$this-&gt;coupon-&gt;discount_code); global $Itemid; $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&amp;Itemid='.$Itemid; } ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step+1).'&amp;previous='.$this-&gt;step.'&amp;removecoupon=1'.'&amp;'.hikashop_getFormToken().'=1'.$url_itemid); ?&gt;" title="&lt;?php echo JText::_('REMOVE_COUPON'); ?&gt;" &gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'delete2.png';?&gt;" alt="&lt;?php echo JText::_('REMOVE_COUPON'); ?&gt;" /&gt; &lt;/a&gt; &lt;?php }?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDMwMy1wYXltZW50LW1ldGhvZC1sYXlvdXQtY2hhbmdlLWxheW91dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
