Jump to content

[UNSOLVED] Displaying Delivery Address on payment page


Recommended Posts

Hi there,

Im trying to create an order summary on the payments page.

So far i have it displaying:

- Items purchased
- Discounts
- Shipping amounts
-Total costs

And i want to display the delivery address just to summarise the entire order before payment.
I cant seem to get the delivery address to display.

Any flash ideas?

Cheers :)

Link to comment
Share on other sites

You can edit the order-payment.tpl file in your themes directory.
But not all variables might be available in the smarty template.

You need to find out from the order.php (in the root) which vars are being sent to the template.

Link to comment
Share on other sites

  • 1 month later...

Hi,

Thanks for your reply, i have finally had some time to get back to this.. I am stuck on how i can accomplish this.

Can anybody help me add these vars to Smarty in order.php and how i should call them in order-payment.tpl?

Cheers :)

Link to comment
Share on other sites

  • 3 weeks later...

Hi Guys,

I'm still having trouble accomplishing displaying delivery details on the payment page, to confirm all parts of the order to customers, which i think would be a really beneficial integration for all preta shop users.

Any help would be awesome.. Thanks :)

Link to comment
Share on other sites

  • 1 month later...

ok so let me get this straight

You apply the code:

//add address for payment page
$smarty->assign(‘address’, $address);



in the order.php (payments page section)

and add this on the order-payments.tpl

Your order will be delivered to: 
{php}$address=new Address($cart->id_address_delivery); {/php}




I cant seem to get it going, can you assist where i might be going wrong white?

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...

Hey, any chance you have resolved this? I am trying to do the exact same thing as you and am finding it annoying. I have worked with PHP and HTML for a long time and JS for a little while, but I have never used Smarty before, and so far, I am not liking it. If I figure out a good way to do this, I will post my solution, but if you have already figured it out, it would be awesome if you would post your solution.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...