Zen Cart Logo

qty discount box

Locked

Views: 1,357

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
29 Sep 2010, 7:19 PM
#1
fibredrums avatar

fibredrums

New Zenner

Join Date:
Sep 2010
Posts:
10
Plugin Contributions:
0

qty discount box

Hi,
Just starting to build my first online shop and getting along fine, BUT !
There's always a but !
I have added in a "qty discount" table but i would like it to be prominent on my page
http://www.fdlonline.co.uk/index.php...roducts_id=186

Can anyone advise me how to make the box and text larger and stand out more.

So far i have played around with the borders colour and design but i would like it to be larger in size and bigger text and possibly move it up the page.

thanks in advance for any help

30 Sep 2010, 1:39 AM
#2
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: qty discount box

You can tweak the way it looks through the stylesheet. How did you manage to do the blue background because I'm not seeing it in your stylesheet.

To move it up the page you have to actually move the chunk of code in that file to the appropriate spot.

Open this file: /includes/templates/template_default/templates/tpl_product_info_display.php

Take this chunk of code from the lower section:

<!--bof Quantity Discounts table -->

<?php

  if ($products_discount_type != 0) { ?>

<?php

/**

 * display the products quantity discount

 */

 require($template->get_template_dir('/tpl_modules_products_quantity_discounts.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_quantity_discounts.php'); ?>

<?php

  }

?>

<!--eof Quantity Discounts table -->

Copy it. Delete it. Go up above and paste it where you want it. Personally I think it looks best right under the product price block.

Now copy the file back onto your server. But make sure to use the ovverrides and drop it here: /includes/templates/CUSTOM/templates/tpl_product_info_display.php

instead of here: /includes/templates/template_default/templates/tpl_product_info_display.php

Even if that means you have to make those folders. Obviously change CUSTOM to your custom template name.

Also, I would get rid of the blue thick outline. It is a bit.. jarring. People will see the table once you move it.

-lindasdd

1 Oct 2010, 7:21 PM
#3
fibredrums avatar

fibredrums

New Zenner

Join Date:
Sep 2010
Posts:
10
Plugin Contributions:
0

Re: qty discount box

Thanks Lindasdd, that has worked a treat, i really appreaciate your help.

I changed the border colour in tpl_modules_produtcs_quantity_discounts.php was just playing arounding looking at how to make the table more prominent and found that adding. BORDERCOLOR=RED makes the border show a colour.

Thanks again for your help

1 Oct 2010, 7:24 PM
#4
fibredrums avatar

fibredrums

New Zenner

Join Date:
Sep 2010
Posts:
10
Plugin Contributions:
0

Re: qty discount box

Any ideas how to increase the text size in the qty discount box !!!

2 Oct 2010, 12:36 AM
#5
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: qty discount box

Do you know what the stylesheet is?

You should be making design changes there, not in the file you mentioned.

Let me know the answer to the above so I know where to start the answer.

-lindasdd

2 Oct 2010, 2:15 PM
#6
fibredrums avatar

fibredrums

New Zenner

Join Date:
Sep 2010
Posts:
10
Plugin Contributions:
0

Re: qty discount box

Hi

The style sheet is simple_zen.

the file is stylesheet_new.css

it is located in:

Includes, languages, english, simple_zen

Not sure if that is what you mean though !

3 Oct 2010, 4:33 PM
#7
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: qty discount box

Yes...well sorta.

The Custom Template is Simple_Zen and the stylesheet is stylesheet_new.css, but in the end it is the same.

But....I'm a little stumped :yuck:

I thought this was a mere stylesheet change, but it isn't. Although you can control this section of the page with the stylesheet, you can't control it as specifically as needed. So I've been attempting to add extra div's / classes (the parts that the stylesheet controls) to the needed file, but they don't seem to be taking. So I'm playing around with it.

for now though, the fact that you have moved it up on the page makes it more than noticeable.

-lindasdd

3 Oct 2010, 7:04 PM
#8
fibredrums avatar

fibredrums

New Zenner

Join Date:
Sep 2010
Posts:
10
Plugin Contributions:
0

Re: qty discount box

Thanks for your help, your right just moving it up the page has improved the layout and has been a really useful.

I appreciate your help.

thanks

17 Oct 2010, 4:47 PM
#9
fibredrums avatar

fibredrums

New Zenner

Join Date:
Sep 2010
Posts:
10
Plugin Contributions:
0

Re: qty discount box

Hi,
Does anyone know how i can display my lowest / best price on all pages instead of my highest price for single items.

I guess the cart is set to display the price starting at 1 item but i want it in reverse.

thanks