If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Moving shipping information to "My Account Information" page

Moving shipping information to "My Account Information" page

Started by cleverpork on 2 Sep 2011, 12:46 AM · Views: 1,380

Results 1 to 16 of 16
2 Sep 2011, 12:46 AM
#1
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #1 by cleverpork

Howdy. I'm launching a gift shop that 99% of items will require a different shipping address than billing address. Since the delivery address is of prime importance I'm wondering if there is an easy way to move the Shipping / Delivery information page to the "My Account Information" page?

Or if it's simpler, I could feasibly ask for shipping / delivery info on the actual product page by creating attribute text boxes, but I would like to disable collecting the shipping address again later.

I'm running 1.3.9h at
p o s t a l b a l l. c o m

Any suggestions?

Thanks!

Cris

20 Sep 2011, 3:29 PM
#2
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #2 by cleverpork

Just checking back in to see if anyone has any information on this. As mentioned above, since the delivery address is of prime importance for my website, I'm wondering if there is an easy way to move the Shipping / Delivery information page to the "My Account Information" page?

Or if it's simpler, I could feasibly ask for shipping / delivery info on the actual product page by creating attribute text boxes. I've tried this, but I'm not liking how disorganized it looks. If I did this, I've found that I can disable collecting the shipping address later.

Thanks for any help!

Cris

20 Sep 2011, 3:55 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #3 by stevesh

Sorry, I'm not exactly sure what you're asking, but the address entry on the product info page makes sense to me, if it works. Might be better to put that up on one product, give us a link and let us see if we can help style it.

21 Sep 2011, 12:29 AM
#4
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #4 by cleverpork

stevesh:

Sorry, I'm not exactly sure what you're asking, but the address entry on the product info page makes sense to me, if it works. Might be better to put that up on one product, give us a link and let us see if we can help style it.

Stevesh, thanks! I'll get on that tomorrow and let you know. I really appreciate it!

Cris

Cris

21 Sep 2011, 1:03 AM
#5
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #5 by cleverpork

Alright, so that I created that quicker than i anticipated.

Here's an image of what I'm after in terms of look. One or the other would be acceptable to me.

And here's a link to what I have thus far:

http://postalball.com/mailaball/all-products-c-2/have-a-ball-happy-birthday-p-1

Thanks for any help on styling this! I appreciate it!

Cris

21 Sep 2011, 11:13 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #6 by stevesh

One way would be to get the labels as close to the same width as you can (separate First and Last Names, make Suite/Apartment something like Address 2) then add to the stylesheet:

.optionName {width: 130px;}

adjust the 130 to taste.

22 Sep 2011, 3:19 AM
#7
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #7 by cleverpork

stevesh:

.optionName {width: 130px;}

adjust the 130 to taste.

Nice! That's a great start in the clean up process! I really appreciate your help.

I've been fiddling around with eliminating some of the space between the text boxes, but not having much luck. I'd like them closer together. I notices that
LABEL, h4.optionName
has an effect when I mess with both line-height and padding, but asthetically, it'd be much nicer to stack those text boxes closer. Any suggestions?

Thanks again! I do appreciate it.

cris

Cris

22 Sep 2011, 11:10 AM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #8 by stevesh

Best I can do:

Change (choose one) to Choose 1

Remove the width statement I offered before, and add:

.wrapperAttribsOptions {margin: 0px;}

.wrapperAttribsOptions .optionName {padding: 5px 0 0 0; width: 80px;}

.attributesComments, #attribsOptionsText {margin: 0 0 10px 0;}

Should be able to move the fields closer together, but I can't see where the space is coming from.

23 Sep 2011, 1:49 AM
#9
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #9 by cleverpork

stevesh:

Should be able to move the fields closer together, but I can't see where the space is coming from.

Thanks for taking the time on that. I'm not really that great at this stuff, but I couldn't isolate the spaces between the text boxes either...

Hmmm...

Either way, I'm thankful to you for taking a crack at helping, which is more than I deserve from a stranger. Thanks for jumping in and helping. As is typical, I'm impressed with the support on Zen-Cart.

If anybody else out there knows where the spaces are coming from between the option attribute text boxes, let me know. Thanks!

Cris

23 Sep 2011, 4:05 AM
#10
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #10 by cleverpork

I've been messing around trying to find what's causing that gap between text boxes (set up as an attribute) and thanks to Stevesh, it's a lot smaller than what it is before.

Does anyone know where to reduce this gap on the product pages?

I've gone through every margin and padding possibility and manipulated (I think) and nothing seems to remove that pesky gap.

Just thought the image might help clarify. Thanks for looking.

Oh, product page is here.

Cris

23 Sep 2011, 1:19 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #11 by ajeh

You appear to have between each one:
<br class="clearBoth" />

Do a View Source to see it ... Or, use FireBug in FireFox and you can test removing that to see the affects ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Sep 2011, 5:37 PM
#12
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #12 by cleverpork

Problem solved with a combo of Stevesh's comments and also the mod called "Flexible Attributes" that instantly took the gaps away. I had to adjust via their instructions, but it's much better now.

Here's the Flexible Attributes mod address for anyone else trying to figure this out.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1494

Oh, one more bit of information. I'm also using the Image Attributes mod and both use the file includes/modules/your_template/attributes.php.

I fine tooth combed the attributes.php file and found that this was the only line edited for Flexible Attributes:

$options_wrapper_id[] = 'wAttrib-' . $products_options_names->fields['products_options_id'];//gjh42

I copied that into my current attributes.php file and viola. It worked. Thought I'd share in case someone else faced the same dilemma.

Thanks again, Stevesh. I appreciate it!

Cris

23 Sep 2011, 5:48 PM
#13
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #13 by cleverpork

Ajeh:

You appear to have between each one:
<br class="clearBoth" />

Ajeh,

Aha! I spent hours looking to isolate that, then "fixed" it with the Flexible Attributes mod, which I suppose is fine.

Quick question, though. I was able to "fix" in Firebug. What file would I edit to remove the <br class="clearBoth"/> tags? I'm not seeing them in my stylesheet.

Thanks,

Cris

23 Sep 2011, 6:08 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #14 by ajeh

I am not sure off the top of my head ...

You might look in the:
/includes/modules/attributes.php

around the code for:

                  // text
                  if (($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_TEXT)) {

and see if it is in there to clean it up ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

26 Sep 2011, 5:38 PM
#15
cleverpork avatar

cleverpork

Zen Follower

Join Date:
Apr 2007
Location:
Washington
Posts:
115
Plugin Contributions:
0

Post #15 by cleverpork

Thanks for the help on all this.

I feel like I have the text boxes looking pretty good now.

I have another quick question regarding this whole topic. Since I've now moved grabbing the shipping info on the product page via text boxes, I'm having trouble removing the "Edit Shipping/Delivery Information" stuff on the order confirmation page. Any ideas where to find that to remove it? I've tried about 6 files, but I'm at a loss where to find that to remove it.

It's not in the checkout_confirmation.php page as I figured it might.

Thanks!

Cris

27 Sep 2011, 11:18 AM
#16
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #16 by stevesh

Should be in includes/templates/template_default/templates/tpl_checkout_confirmation_default.php