| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
making billing & shipping address same and show on invoi | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
making billing & shipping address same and show on invoi
ok so i've been having some problems with chargebacks.
bought the verisign basic fraud protection, and turned on my AVS filters. so now i need to make customers only use the billing address for shipping as well. I went into user profile options and unticked all the shipping info boxes, so they can only input data in the billing address area. i also changed the Billing Address label, to read Billing & Shippping Address (must be same) everything seems to be cool, but now the invoices show in the shipping address half: Shipping Address "customer first name" "customer last name" and thats it. makes the invoice look a little off. is there a way I can just have the invoice populate the shipping address with the same as the billing address? I tried to edit the template and in that area i changed all the s_ (s_address, s_city, etc...) areas of code to b_ but that didnt seem to work. any suggestions? is there a better way to do this? any help is appreciated! -bobby
__________________
4.2.2 |
|||||||
#2
|
|||||||||
|
|||||||||
Not sure if this will help do exactly what you want; if not may give you some pointers. It is a mod that allows the user to tick a box to make shipping address the same as the billing address.
http://forum.x-cart.com/viewtopic.php?t=20344&highlight= However, the problem that it was written to address has been fixed in later versions of x-cart.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
hey thanks for the reply.
i had seen that thread, and others similar after doing a search (before posting). but i couldnt fish anything out that would help me do what i want to do. i'm probably going to upgrade my version in the near future, but for now still want the exact same address to show on both parts of the invoice. anyone?
__________________
4.2.2 |
|||||||
#4
|
|||||||||
|
|||||||||
Just trying to see what it is exactly you want to do then;
you don't want to give people the option of entering a shipping address? so all deliveries will go to their billing address in effect. in other words you only want to provide one address, and having done that you want to tidy up the invoice so that the one address they enter appears in both address sections on the invoice?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
right.
customer will only have one place to enter info. which i have labeled now as billing & shipping address now just want the invoice to show the exact same address in both areas (which are normally billing address, shipping address) the way its working now (the default) in the shipping space, it only lists the first name and last name of the customer. no address.
__________________
4.2.2 |
|||||||
#6
|
|||||||||
|
|||||||||
OK, so all you are doing then is editing the file:
skin1/mail/html/order_invoice.tpl And you have basically copied across the variables that are used in the billing section, so that you have for example: {$order.b_city} in both sections. If the billing section works then this should work as all you are now doing is asking it to display the value twice.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#7
|
|||||||||
|
|||||||||
Right, I think if that is what you are basically doing, then you need to remove the if statements that are in the billing section.
Code:
Because of the if statements around here, you are getting nothing. I reckon if you lose them, and change the s to b, you should get the value displayed. Code:
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#8
|
|||||||
|
|||||||
yeah thats the ticket!
it worked with a few different trys. i just removed all the if statements in the billing and shipping areas. i actually left all the "s_" parts in there and it returns the right info. makes sense, because if the customer isnt allowed to enter any different shipping address, x-cart takes that as if the customer left the fields blank to show that its the same address right? so therefore all the "s_" variables should be the same as all the "b_" ones right? looks that way. thanks for the help!
__________________
4.2.2 |
|||||||
#9
|
|||||||
|
|||||||
just an added note.
i also switched these around. Code:
(changed the S to B, and vice versa) i use it to note "residential? Y or N" this way this shows up on the shipping side (not the billing side) since its a user option, and user only has the billing area to enter stuff in. hope that makes sense.
__________________
4.2.2 |
|||||||
#10
|
|||||||
|
|||||||
Re: making billing & shipping address same and show on invoi
In 4.7.6 disabling the "Display 'Shipping information' section during registration and checkout" option appears to have a similar effect.
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
|
|||
X-Cart forums © 2001-2020
|