Skip to main content

Use Bootstrapbut not in a payment selector

More
12 years 2 months ago - 12 years 2 months ago #164818 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
Last edit: 12 years 2 months ago by andreasuriani.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #164849 by Xavier
Hi,

You can edit the views "checkout / payment" and "checkout / shipping" and add at the top of the file:
Code:
define('HIKASHOP_RESPONSIVE', false);
And at the end:
Code:
define('HIKASHOP_RESPONSIVE', true);

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #164909 by andreasuriani
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
Last edit: 12 years 2 months ago by andreasuriani.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #164946 by Xavier
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

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #164999 by andreasuriani
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

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #165004 by Xavier
Hi,

The first solution was near to be correct, you still have to edit the views but replace:
Code:
if(!HIKASHOP_RESPONSIVE)
By:
Code:
if(true)
for each occurrence.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #165140 by andreasuriani
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

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #165141 by Xavier
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:
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>
upper and between new <td></td> tags.

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds
Powered by Kunena Forum