billing and shipping address bug?

  • Posts: 154
  • Thank you received: 4
12 years 2 months ago #65269

hello at hikari! first of all: great shop, i am so happy i do not have to use virtuemart anymore! we happily bought the "essential" version with no second thought after testing the "starter". keep up the good work!

to our problem:

if "billing address" is not the same as the "shipping address" and i edit the "shipping address" then the "billing address" gets changed as well (and vice versa) and the checkbox swaps back to "use the same address as for billing"... is this a bug?

the behaviour we need is:

as we use the shop without registration, the user should be able to input (and later edit if needed) one (and only one!) "billing address" and IF this is different than the "shipping address", he should be able to change the appearing copy of the "billing address" so that this is a different one. if the later is not possible, he should be able to add a total fresh new editable "shipping address". actually we would prefer the later, rather than showing a copy of the "billing address" first

is this possible?

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

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #65489

Hi,

That's how it should be.
That's how it works actually on our end. When you edit the shipping address, the billing address stays the same and only the shipping address has your new information.
So it sounds like you might have a bug on your website.

Could you give a link to your website so that we can see that ?

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

  • Posts: 154
  • Thank you received: 4
12 years 2 months ago #65491

the site is still under construction and we still are in the process of styling the shop. a couple of things do not work yet. i will send you the link with a PM. on the top navi you see the link online-shop. thanks!

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

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #65714

The problem is that the jdoc head statement is missing from the component.php file of your template:
docs.joomla.org/Jdoc_statements#Head
Because of that, the js of hikaShop in the address edition popup is missing and the system can't work properly.

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

  • Posts: 154
  • Thank you received: 4
12 years 2 months ago #65769

actually jdoc-head is in component.php. see the code:

<?php 
/*------------------------------------------------------------------------
# author    your name or company
# copyright Copyright (C) 2011 example.com. All rights reserved.
# @license  http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website   http://www.example.com
-------------------------------------------------------------------------*/

defined( '_JEXEC' ) or die; 

// variables
$tpath = $this->baseurl.'/templates/'.$this->template;
$this->setGenerator(null);

?><!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if gt IE 8]><!-->  <html class="no-js" lang="<?php echo $this->language; ?>"> <!--<![endif]-->

<head>
  <jdoc:include type="head" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- mobile viewport optimized -->
  <link rel="apple-touch-icon-precomposed" href="<?php echo $tpath; ?>/apple-touch-icon-57x57.png"> <!-- iphone, ipod, android -->
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $tpath; ?>/apple-touch-icon-72x72.png"> <!-- ipad -->
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $tpath; ?>/apple-touch-icon-114x114.png"> <!-- iphone retina -->
  <link href="<?php echo $tpath; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <!-- favicon -->
  <link rel="stylesheet" href="<?php echo $tpath; ?>/css/print.css?v=1.0.0" type="text/css" /> <!-- stylesheet -->
  <script src="<?php echo $tpath; ?>js/modernizr.js"></script> <!-- put all javascripts at the bottom, accept of modernizr.js -->
</head>

<body id="print">
  <div id="overall">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
  </div>
</body>

</html>

Last edit: 12 years 2 months ago by olivnewton.

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

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #65906

Are you sure that you're editing the correct file of the correct template ?
If you look at the HTML of the popup with firebug you can see that all the header is missing with only two css files and one js file of the template where you should have at least ten files in the header plus other things like meta tags, etc:

<head>
  <link rel="stylesheet" href="/bodenseeklinikde/templates/bodenseeklinik/css/video.css" type="text/css">
    
  <link href="/bodenseeklinikde/media/videojs/video-js.min.css" rel="stylesheet">
  <script src="/bodenseeklinikde/media/videojs/video.min.js"></script>
  
</head>

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

  • Posts: 154
  • Thank you received: 4
12 years 1 month ago #65979

you are right, sorry. we are using NoNumber Modalizer, and were directing to use for modal windows our own template (video.php instead of component.php). we forgot to disable this in "advanced settings" of Modalizer for HikaShop. works now like a charm. thank you very much for helping!

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

Time to create page: 0.065 seconds
Powered by Kunena Forum