Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2005
    Posts
    165
    Plugin Contributions
    0

    Default How to show product quantity in BIG BOLD fonts at top of page?

    1. I have a specific need to show remaining product quantity near the top of the product page. How can it be shown there in big, BOLD fonts?

    2. is it possible to delete the header? How? The reason is I wold like to wrap zencart in another CMS.

    Thank you all.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to show product quantity in BIG BOLD fonts at top of page?

    In /includes/templates/your_template/templates/tpl_product_info_display.php, copy this line from the product details list section (comment out the original line if you wish)
    PHP Code:
      <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' $products_quantity TEXT_PRODUCT_QUANTITY '</li>'  '') . "\n"?>
    and paste it near the top of the file, depending on exactly where you want it to appear. Modify it to swap the <li> tags for <div id="quantityTop"> and </div>
    PHP Code:
      <?php echo (($flag_show_product_info_quantity == 1) ? '<div id="quantityTop">' $products_quantity TEXT_PRODUCT_QUANTITY '</div>'  '') . "\n"?>
    Now you can style #quantityTop {} in your stylesheet.

    You can turn off the header in /includes/templates/your_template/common/tpl_main_page.php. There are comments at the top if the file that explain it.
    You say "wrap zencart in another CMS"... are you intending to use an iframe? If so, you will have big problems, as iframes will block payment processors. Also, they will prevent search engines from seeing your store.

  3. #3
    Join Date
    Nov 2005
    Posts
    165
    Plugin Contributions
    0

    Default Re: How to show product quantity in BIG BOLD fonts at top of page?

    Thank you very much. This is how zencart sets itself apart from other shopping carts.

  4. #4
    Join Date
    Nov 2005
    Posts
    165
    Plugin Contributions
    0

    Default Re: How to show product quantity in BIG BOLD fonts at top of page?

    I mean zencart forum. I'am trying to put it in joomla as there's no integration or bridge. I don't know if Joomla wrap is iframe. If it blocks payment processors, then there's no point putting them together. if search engines don't see , then that's even worse.

    Thank you for warning me of this. I'm not sure , at this moment, if this will end up successful
    Last edited by zenartman; 21 Nov 2011 at 04:18 PM. Reason: incomplete

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How to show product quantity in BIG BOLD fonts at top of page?

    Joomla wrappers are done with iframes, so you can't insert Zencart that way.

  6. #6
    Join Date
    Nov 2005
    Posts
    165
    Plugin Contributions
    0

    Default Re: How to show product quantity in BIG BOLD fonts at top of page?

    Thank you for the feedback. So i have to use either zencart wholly for a project or joomla plus virtuemart

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How to show product quantity in BIG BOLD fonts at top of page?

    I'm not much impressed by Virtuemart.

    Another way to go would be to install Zencart in a subdirectory, style it to look like the Joomla site and link to it from the Joomla site.

    Unless you have a whole lot of non-cart stuff that you can't use EZ pages for, though, I would recommend just using Zencart.

 

 

Similar Threads

  1. Bold word Quantity in products order page
    By rliddle in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2012, 11:00 PM
  2. Replies: 3
    Last Post: 13 Jul 2009, 05:23 PM
  3. my fonts are all big
    By angelstubes in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Jun 2009, 01:14 PM
  4. Show stock quantity at top level
    By wyzman in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 10 Apr 2008, 05:00 PM
  5. Can't seem to turn bold off subcategory without turning off bold on top category
    By immersive in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Dec 2006, 09:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR