Skip to main content

css_button_checkout option missing from the backend

More
9 years 3 months ago #270683 by nordmograph
Hello

It appears that, like other buttons:
css_button_checkout is supposed to have an option in the backend, but it's missing.
Cart layout allready has the code to add it as a class, but it seems that it's not in the backend config.

:)
Just reporting.

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

More
9 years 3 months ago #270686 by nicolas
Hi,

I don't see what you mean.
What code is already there ?
There is no option for buttons on the checkout, however they do use the "CSS for buttons" setting. That's because there are many different buttons to do different things (add coupon, register, login, next, finish, etc). It would require an option for each button and we didn't want to add so many options.

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

More
9 years 3 months ago #270735 by nordmograph
Hello Nicols, thanks for your prompt reply.

in
com_hikashop/views/product/cart.php
we have
Code:
$css_button_checkout = $this->config->get('css_button_checkout', '');

and
Code:
<a class="<?php echo $css_button . ' ' . $css_button_checkout; ?>" href="<?php echo $this->url_checkout; ?>" onclick="if(this.disable) return false; this.disable = true;"><span><?php echo JText::_('PROCEED_TO_CHECKOUT'); ?></span></a>

But I could not find the field in the config options.
although I found: css_button & css_button_cart, no css_button_checkout

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

More
9 years 3 months ago #270744 by nicolas
Hi,

That's a hidden setting. We didn't add it to the interface on purpose as we don't think many will need it but we though that it would still be useful.
If you want to set it, you can edit the table hikashop_config via your PHPMyAdmin and add an entry with the namekey css_button_checkout and the class you want in the value.

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

Time to create page: 0.237 seconds
Powered by Kunena Forum