- Posts: 177
- Thank you received: 1
Use Bootstrapbut not in a payment selector
- andreasuriani
-
Topic Author
- Offline
Less
More
12 years 2 months ago - 12 years 2 months ago #164818
by andreasuriani
Use Bootstrapbut not in a payment selector was created by andreasuriani
Hi There,
i'd like to use a bootstrap design, but i don't want use it when customers choose the payment selection. I'd like to use a radio button.
The same things, when customers choose shipment options.
How can i do this?
Thanks in advance.
Andrea
i'd like to use a bootstrap design, but i don't want use it when customers choose the payment selection. I'd like to use a radio button.
The same things, when customers choose shipment options.
How can i do this?
Thanks in advance.
Andrea
Last edit: 12 years 2 months ago by andreasuriani.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #164849
by Xavier
Replied by Xavier on topic Use Bootstrapbut not in a payment selector
Hi,
You can edit the views "checkout / payment" and "checkout / shipping" and add at the top of the file:
And at the end:
You can edit the views "checkout / payment" and "checkout / shipping" and add at the top of the file:
Code:
define('HIKASHOP_RESPONSIVE', false);
Code:
define('HIKASHOP_RESPONSIVE', true);
Please Log in or Create an account to join the conversation.
- andreasuriani
-
Topic Author
- Offline
Less
More
- Posts: 177
- Thank you received: 1
12 years 2 months ago - 12 years 2 months ago #164909
by andreasuriani
Replied by andreasuriani on topic Use Bootstrapbut not in a payment selector
Done, but it dosn't work...
if u need to enter on my backend, i've sent a message for nicolas yesterday.
address is photostore.andreasuriani.com
Thanks,
Andrea
if u need to enter on my backend, i've sent a message for nicolas yesterday.
address is photostore.andreasuriani.com
Thanks,
Andrea
Last edit: 12 years 2 months ago by andreasuriani.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #164946
by Xavier
Replied by Xavier on topic Use Bootstrapbut not in a payment selector
Hi,
I think that the css properties of the template will change the way the radio buttons are displayed.
To avoid that, you have to not load the bootstrap css properties so potentially one or many css files.
And as these properties are potentially in your own template, so it can be complicated.
Another way could be to just override your css properties about the payment and shipping parts of the checkout, in order to not "display none" the radio buttons, etc.
Here is documentation to customize the layout:
hikashop.com/support/support/documentati...ize-the-display.html
I think that the css properties of the template will change the way the radio buttons are displayed.
To avoid that, you have to not load the bootstrap css properties so potentially one or many css files.
And as these properties are potentially in your own template, so it can be complicated.
Another way could be to just override your css properties about the payment and shipping parts of the checkout, in order to not "display none" the radio buttons, etc.
Here is documentation to customize the layout:
hikashop.com/support/support/documentati...ize-the-display.html
Please Log in or Create an account to join the conversation.
- andreasuriani
-
Topic Author
- Offline
Less
More
- Posts: 177
- Thank you received: 1
12 years 2 months ago #164999
by andreasuriani
Replied by andreasuriani on topic Use Bootstrapbut not in a payment selector
I think is difficult for me..
isn't possibile to choose just radio button on "checkout / payment" and "checkout / shipping" maybe replace the code?
Can u write me the php code just for radio button?
Thanks in advance
Andrea
isn't possibile to choose just radio button on "checkout / payment" and "checkout / shipping" maybe replace the code?
Can u write me the php code just for radio button?
Thanks in advance
Andrea
Please Log in or Create an account to join the conversation.
12 years 2 months ago #165004
by Xavier
Replied by Xavier on topic Use Bootstrapbut not in a payment selector
Hi,
The first solution was near to be correct, you still have to edit the views but replace:
By:
for each occurrence.
The first solution was near to be correct, you still have to edit the views but replace:
Code:
if(!HIKASHOP_RESPONSIVE)
Code:
if(true)
Please Log in or Create an account to join the conversation.
- andreasuriani
-
Topic Author
- Offline
Less
More
- Posts: 177
- Thank you received: 1
12 years 2 months ago #165140
by andreasuriani
Replied by andreasuriani on topic Use Bootstrapbut not in a payment selector
Perfect Xavier!
It works perfectly!
Last thing:
How can i change the sequence of shipping datas show?
Imean, hikashop shows: Radio button - image - description and price
i'd like this sequence:
radio button, image, price, description.
Thanks in advance!
Andrea
It works perfectly!
Last thing:
How can i change the sequence of shipping datas show?
Imean, hikashop shows: Radio button - image - description and price
i'd like this sequence:
radio button, image, price, description.
Thanks in advance!
Andrea
Please Log in or Create an account to join the conversation.
12 years 2 months ago #165141
by Xavier
Replied by Xavier on topic Use Bootstrapbut not in a payment selector
Hi,
Still in the indicated views, you have to move the desired part at the desired place.
For example, in the payment view, you have to move the code:
upper and between new <td></td> tags.
Still in the indicated views, you have to move the desired part at the desired place.
For example, in the payment view, you have to move the code:
Code:
<span class="hikashop_checkout_payment_cost">
<?php
if($method->payment_price != "0"){
echo $this->currencyHelper->format($method->payment_price,$this->full_total->prices[0]->price_currency_id);
}
else
echo JText::_('FREE_PAYMENT');
?>
</span>
Please Log in or Create an account to join the conversation.
Time to create page: 0.219 seconds