Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Tightening up details on my product info page...

Tightening up details on my product info page...

Locked

Started by kismetdesign on 10 Nov 2009, 11:19 PM · Views: 1,022

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
10 Nov 2009, 11:19 PM
#1
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Post #1 by kismetdesign

Right now if you go to our product info page you'll see that everything looks pretty streamlined, except for the part where you choose a book format, choose a quantity, and click on the add to cart button.

Is there anyone who can make any suggestions on how to tighten this section up so it doesn't look like it's just floating all over our page? I'd like to decrease the space between the 'PLEASE CHOOSE' text and the eBook Formats.... decrease the space between the eBook Formats and the quantity box, and do the exact some thing to the 'Add this to my cart' button down below.

Any advice would be greatly appreciated. :yes: Thanks!

KismetDesign

11 Nov 2009, 3:11 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Post #2 by usernamenone

On your tpl_product_info_display.php either you or someone else has added a couple breaks in the cartadd section

// show the quantity box
<input name="cart_quantity" value="1" maxlength="6" size="4" type="text"><br /><br />remove the breaks and you should loose the space.


Play with it long enough and you will break it.
11 Nov 2009, 7:23 PM
#3
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Post #3 by kismetdesign

It wasn't me, but I found the spot you mentioned and pulled out two line breaks. It did make it look a little better, however there is still too much room between the eBook Formats and the Add to Cart Quantity box.

Can you think of any way to pull out that space?

Also, where you put in the quantity, the text is on the right and the box is on the left. Is there a way to switch these?

I think that might look better overall since the checkboxes above are on the left and the text is on the right.

What do you think?

Thank you, thank you, thank you for your help! :yes:

KD

12 Nov 2009, 7:26 AM
#4
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Post #4 by usernamenone

I change the wording in the language folder english.php line 383 to say Buy: then the box then the button all on one row.

The code to make it all on one line is this

// show the quantity box

$the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT,'class="input" style="margin-left:2px; padding-bottom:-5px"');
}

The class was added to the button to make adjustments to the button level to the lineup.

If you try this make sure you backup first.


Play with it long enough and you will break it.
12 Nov 2009, 6:58 PM
#5
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Post #5 by kismetdesign

That worked out great. Thank you. :cool:

Do you know if the 'Add this to my Cart' is an image in itself or text over a background?

I'd like it to be smaller, and just say 'Add to Cart'.

KD

12 Nov 2009, 7:16 PM
#6
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Post #6 by usernamenone

Glad that worked out for you!

it is a button in
includes/templates/theme163/buttons/english/button_in_cart.gif


Play with it long enough and you will break it.
12 Nov 2009, 8:14 PM
#7
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Post #7 by kismetdesign

Alright... got it! :clap:

13 Nov 2009, 3:45 AM
#8
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Post #8 by usernamenone

Fantastic! Looks very professional.


Play with it long enough and you will break it.