- Posts: 8
- Thank you received: 0
Process to Checkout on Hikashop's Cart menu page
11 years 11 months ago #181898
by gidiefor
Process to Checkout on Hikashop's Cart menu page was created by gidiefor
-- url of the page with the problem -- :
www.fieldtestedgear.com/index.php
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Safari 8.0
-- Error-message(debug-mod must be tuned on) -- : None - not applicable.
Hi there Nicolas and Team,
I have setup
www.fieldtestedgear.com/index.php/your-cart which is a Hikashop Cart Display page:
[ index.php?option=com_hikashop&view=cart&layout=showcart ]
and that page is pretty cool but NO Proceed to Checkout button??
I figure it's an option SOMEWHERE
Right now to fix the issue temporarily, I had to duplicate the 'Your Cart' module, assign it to only that page, turn it into the most minimalistic mini-cart and use CSS to hide the Total Line but that's not exactly 'pretty' or ideal
I also have Advanced Module Manager if that can be of help...
HELP
and I want to do this without modifying the Hikashop Display Views if at all possible.
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Safari 8.0
-- Error-message(debug-mod must be tuned on) -- : None - not applicable.
Hi there Nicolas and Team,
I have setup
www.fieldtestedgear.com/index.php/your-cart which is a Hikashop Cart Display page:
[ index.php?option=com_hikashop&view=cart&layout=showcart ]
and that page is pretty cool but NO Proceed to Checkout button??
I figure it's an option SOMEWHERE
Right now to fix the issue temporarily, I had to duplicate the 'Your Cart' module, assign it to only that page, turn it into the most minimalistic mini-cart and use CSS to hide the Total Line but that's not exactly 'pretty' or ideal
I also have Advanced Module Manager if that can be of help...
HELP
Please Log in or Create an account to join the conversation.
11 years 11 months ago #181921
by korzo
Replied by korzo on topic Process to Checkout on Hikashop's Cart menu page
I think only way to add this button to cart view is edit "showcart" in Display->Views.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #181923
by gidiefor
Replied by gidiefor on topic Process to Checkout on Hikashop's Cart menu page
Hi Korzo,
Appreciate the message but I sure hope you're wrong
I'm trying to build sites in Hikashop with 0 View modifications to make upgrading future-proof or at least future-easier
Cheers,
Emmanuel.
Appreciate the message but I sure hope you're wrong
I'm trying to build sites in Hikashop with 0 View modifications to make upgrading future-proof or at least future-easier
Cheers,
Emmanuel.
Please Log in or Create an account to join the conversation.
11 years 11 months ago - 11 years 11 months ago #181952
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Process to Checkout on Hikashop's Cart menu page
Well, I'd say it's fairly simple without edition of views or "abusing and messing with" a cart module:
(EDITED to reflect the correct aliases!)
1. If you have not yet, you should create a (hidden) Joomla menu item for the checkout page e.g. with the alias "checkout".
2. In the Joomla module manager, create a new custom HTML module at a position where you want the button, e.g. below the main content, or in a sidebar like now.
3. By using the "Code Mirror" editor, create the content of the module like this:
4. Add other content, e.g. a "Continue Shopping" button, as you see need.
5. Add CSS, in-line or in custom.css, as you like.
Done?!
(EDITED to reflect the correct aliases!)
1. If you have not yet, you should create a (hidden) Joomla menu item for the checkout page e.g. with the alias "checkout".
2. In the Joomla module manager, create a new custom HTML module at a position where you want the button, e.g. below the main content, or in a sidebar like now.
3. By using the "Code Mirror" editor, create the content of the module like this:
Code:
<a class="uk-button uk-button-primary" href="checkout (or your alias/link to checkout page)">Proceed to Checkout</a>
5. Add CSS, in-line or in custom.css, as you like.
Done?!
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 11 years 11 months ago by lousyfool.
The following user(s) said Thank You: gidiefor
Please Log in or Create an account to join the conversation.
11 years 11 months ago #181936
by Xavier
Replied by Xavier on topic Process to Checkout on Hikashop's Cart menu page
Hi,
Korzo is right, there is no options to display the "Proceed to checkout" button so it will require some view edition.
You can edit the view "cart / showcart" via the menu Display > Views, this way when updating you will not loose anything.
Here is the code to add:
We will see to add this button by default in this view.
Korzo is right, there is no options to display the "Proceed to checkout" button so it will require some view edition.
You can edit the view "cart / showcart" via the menu Display > Views, this way when updating you will not loose anything.
Here is the code to add:
Code:
$itemid_for_checkout = (int)$this->config->get('checkout_itemid','0');
if(empty($itemid_for_checkout)){
$menuClass = hikashop_get('class.menus');
$itemid_for_checkout = $menuClass->getCheckoutMenuIdForURL();
}
if(!empty($itemid_for_checkout)){
$url_checkout = hikashop_completeLink('checkout&Itemid='.$itemid_for_checkout);
}else{
$url_checkout = hikashop_completeLink('checkout'.$url_itemid);
}
if($this->params->get('show_cart_proceed',1)) echo $this->cart->displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this->params,$url_checkout,'');
Please Log in or Create an account to join the conversation.
11 years 11 months ago - 11 years 11 months ago #182008
by korzo
Replied by korzo on topic Process to Checkout on Hikashop's Cart menu page
+1 to add this by default. It's confusing for visitors to see the cart without proceed to checkout button.
Last edit: 11 years 11 months ago by korzo.
The following user(s) said Thank You: gidiefor
Please Log in or Create an account to join the conversation.
11 years 11 months ago #182844
by gidiefor
Replied by gidiefor on topic Process to Checkout on Hikashop's Cart menu page
Hi Lousyfool,
In a good part because of your instructions/help, I made the site better so thank you!
Cheers,
Emmanuel.
In a good part because of your instructions/help, I made the site better so thank you!
Cheers,
Emmanuel.
Please Log in or Create an account to join the conversation.
11 years 9 months ago #187867
by yideaz
Replied by yideaz on topic Process to Checkout on Hikashop's Cart menu page
Thank you for the code! Works great!
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds