Show Minicart w/ Login & Icons in 1 custom module

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87387

How will I show the Minicart with Login form and Social media icons in just 1 custom html module? Below is my code:

<div>{loadmodule login}</div>
<div class="nsb_container" style="padding-top:25px;float:left;width:220px;"><a id="l1" target="_blank" rel="nofollow" href=" www.facebook.com/Megagamingstore "><img title="Facebook" border="0" src="/modules/mod_nice_social_bookmark/icons/facebook_aqu_32.png" alt="Facebook"></a><a id="l3" target="_blank" rel="nofollow" href=" twitter.com/megagamingstore "><img title="Twitter" border="0" src="/modules/mod_nice_social_bookmark/icons/twitter_aqu_32.png" alt="Twitter"></a><a id="l16" target="_blank" rel="nofollow" href=" www.youtube.com/user/Megagamingstore "><img title="" border="0" src=" www.megagamingstore.com/images/misc/youtube-sm.png " alt=""></a>
<div id="plusone" style="height: 20px; width: 90px; display: inline-block; text-indent: 0px; margin: 0px; padding: 0px; background-color: transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial;"><iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 90px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 20px;" tabindex="0" vspace="0" width="100%" id="I0_1359342198704" name="I0_1359342198704" src=" plusone.google.com/_/+1/fastbutton?bsv&a....megagamingstore.com " allowtransparency="true" data-gapiattached="true" title="+1"></iframe></div>

<script type="text/javascript" src=" apis.google.com/js/plusone.js " gapi_processed="true">

{"lang": "en-US", "parsetags": "explicit"}

</script>

<script type="text/javascript">

gapi.plusone.render("plusone",

{"size": "medium", "count": "true", "href":" plus.google.com/u/0/105276822250357686182/posts " });

</script>
</div>
<div align="right" style="padding-top:25px;float:right;width:50px;"><img src="images/misc/shopping_cart.png" alt="" /></div>
<div align="right" style="padding-top:25px;float:right;width:150px;font-weight:bold;">{loadmodule hikashop_cart}</div>

But when I tried to shop the full cart appeared. What code will I put if I want the minicart not the full cart? Please help. Kindly look at the attached file for the screenshots.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87438

You just have to edit the options of your cart module.
Enable the option "mini cart" and in the joomla options, hide the title.

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

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87453

I already did that but my client wants the login form, mini cart and the social links in one box. So I need to know what correct code will i use. In joomla articles if you want a module to be seen in a page this is the code if I want the login to be visible in a page > {loadmodule login}. And now I want to load the cart in a custom module so this is the code> {loadmodule hikashop_cart} but what I need is a minicart so what will be the code - {loadmodule hikashop_cart_mini} this doesnt work.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87480

If you need the both type of carts, create a new cart module with the mini cart options.
Then with loadmodule can't you set an ID instead of "hikashop_cart" ? If you can select the mini cart id for the custom module and the other id for the other loadmodule.

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

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87539

so what will be the code if instead of hikashop_cart? is it {loadmodule 124} where 124 is the ID# of the minicart?

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

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87540

thanks i downloaded a plugin to load module by id. thanks so much

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

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87569

i have one more problem. the mini cart display is working fine now but when i added a product the price is wrong. the visible price is only .99 and when i published the mini cart module just testing if it's the same as the custom module the price is correct it's 59.99. can you please help me with this one.

thanks,
jona

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87602

Could you give us a link to your website ?

It's maybe a css issue, the first part is hidden by another element.

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

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87604

www.megagamingstore.com . try to add to cart and compare the correct mini cart on top and the combined module under the correct minicart.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 9 months ago #87721

I can see both the normal cart (left column) and the mini cart at the top and they both have the correct price.
I don't see any other cart on your website.

So it seems to be ok for me on your website.

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

  • Posts: 7
  • Thank you received: 0
11 years 9 months ago #87909

sorry for not getting back to you but i resolved the problem by convincing my client not to use the custom module anymore. thanks for the help.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum