Jump to content



beerbee

Member Since 22 Jan 2006
OFFLINE Last Active Today, 08:51
-----

#1754983 Something little for shipping and payment adress

Posted by beerbee on 22 March 2017 - 20:33

Hi,

 

for me it was a bit annoying, when I as customer wanted just to change shipping or payment address in the checkout process, I had always to scroll over the whole form for a new address so I made the form collapse. So in checkout_shipping_address.php what looked like:

 <h2><?php echo TABLE_HEADING_NEW_SHIPPING_ADDRESS; ?></h2>

  <div class="alert alert-info"><?php echo TEXT_CREATE_NEW_SHIPPING_ADDRESS; ?></div>

  <?php require('includes/modules/checkout_new_address.php'); ?>

looks now like this

<h2><?php echo TABLE_HEADING_NEW_SHIPPING_ADDRESS; ?></h2>

<div class="alert alert-info" data-toggle="collapse" data-target="#newshippingadress" aria-expanded="false" aria-controls="newshippingadress"><span role="button"><i class="fa fa-address-book-o" ></i>&nbsp;<i class="fa fa-hand-o-down" aria-hidden="true"></i>
<?php echo TEXT_CREATE_NEW_SHIPPING_ADDRESS; ?>
</span></div>

<div class="collapse" id="newshippingadress">

  <?php require('includes/modules/checkout_new_address.php'); ?>
</div>

I think I'm keeping it.

 

Best regards

Christoph




#1754084 Ultimate Seo Urls 5 Pro

Posted by beerbee on 02 March 2017 - 20:35

@radhavallabh

Hi,

I had the same problem with the shopping_cart navbar module of BS Edge, I don't know if I missed something with the rewrite rules. My solution was to ad (int) where the product_id was called. Example:

//change
$products[$i]['id']
//to
(int)$products[$i]['id']

works for me.

 

Best regards

Christoph