Show Cart Only Module

  • Posts: 14
  • Thank you received: 0
10 years 9 months ago #172108

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.32
-- Browser(s) name and version -- : FireFox 32.0

Hello All.

I have enabled Cart Module on my site, when i add any product on the Cart Module it says: 1 items for PRICE & Proceed to Checkout [Button].

When i click on "1 items for" which is a link, redirect me to the checkout page as well as the "Proceed to Checkout" button do the same.

I have created a custom Link of type HikaShop > Cart, But it is asking me to Login First. Following Error it gives:
"Please login first"

But when Clicked on "Proceed to Checkout" Button it is going to Checkout page.

Also: When i give an email address and then click on the Custom Cart Link, It is showing different thing while it is suppose to show only the cart which is being shown in the Checkout.

Note: I have enabled it only for the Guest and no registration or Login is required to do the purchases.

Can anybody tell me what i am doing wrong?

Thanks in Advance for the help.

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
10 years 9 months ago #172150

Hi,

It's normal that it directs you to the checkout.
Note that you can change the workflow of the checkout with the corresponding option of the Checkout tab of the configuration.
For example, you could have the cart view on its own first step so that the user would actually see the cart first on the checkout before going on the rest of the checkout.

The cart manager which is accessible via HikaShop>Cart type menu items can be used to have customers manage the carts in their user account. It supposes that users can create accounts in order to store them, so you don't want to use that in your case.

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

  • Posts: 14
  • Thank you received: 0
10 years 8 months ago #172555

Hello Nicolas.

Thanks Alot for the reply... So cannot we have only a Link or Module that shows only the Cart, and not the checkout flow?

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
10 years 8 months ago #172561

Hi,

I think you misunderstand the Nicolas' message or I don't understand yours.
The cart module does not show the checkout flow.

Nevertheless, you can edit the cart module (HikaShop > Display > content module) in order to not display the "proceed to checkout" button.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 14
  • Thank you received: 0
10 years 8 months ago #172711

Hello Jerome.

I meant to say:

On the Cart Module there must be an Option to View the Cart Only...

On the current one it is only linking to the checkout, though there it is showing the cart, but i want only to view the cart details.

currently there is an option in the cart settings to show the Mini Cart or Not, If not it is showing the complete Cart which i want as a page but not as a module...

I hope i have made it quite clear now...

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
10 years 8 months ago #172736

Hi,

Thanks for the clarification.
You can override the module cart content by overriding the view "product | cart".
Thanks to that, you will be able to change the links as you want.
I will submit your idea to the rest of the team, it could become an option in HikaShop.

More about view override : www.hikashop.com/support/support/documen...ize-the-display.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 14
  • Thank you received: 0
10 years 8 months ago #173362

Thanks Jerome for considering my suggestion.

The tutorial you suggested dont guide as per my desires, It will still open the page of checkout rather i want only to view the cart.

If that is not provided by Hikashop, which is indeed a very basic functionality for any Shopping Cart, Can you please tell me when can this functionality be added into Hika shop?

Last edit: 10 years 8 months ago by miketelles.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #173570

Hi,

To change the redirect in the cart module, in the view "product / cart" you just have to replace the following code by the link to your cart menu:

if($this->params->get('show_cart_proceed',1)) echo $this->cart->displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this->params,$url_checkout,'');

You can use code like that instead:
?><a href="/you_cart_page.html">Show the cart</a><?php

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

  • Posts: 14
  • Thank you received: 0
10 years 8 months ago #174150

Thanks Xavier.

I don't understand what to replace and where, Can you please elaborate it a bit, so i can do it accordingly.

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
10 years 8 months ago #174160

Hi,

As Xavier told you, you have to verride the view "product | cart".
You will read more about view override in these documentation page
www.hikashop.com/support/support/documen...-display.html#layout
www.hikashop.com/support/documentation/i...ashop-view-form.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 11
  • Thank you received: 1
10 years 7 months ago #178302

If this helps, you can add at your template, product, cart.php file (see at Views) the code:
<div class="hikashop_product_cart_show_carts_link">
<a class="hikashop_cart_button" href="#/index.php/e-shop/cart" rel="nofollow">Show the cart</a>
</div>
at line 605 (before checkout for example). So users can easily see their cart.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum