Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2008
    Location
    Rhode Island
    Posts
    21
    Plugin Contributions
    0

    Default Removing the product image codes

    This is probably strange but I want to remove the product image and include the image into a table via html. I don't like the way the images look in zencart so I would rather just do this myself with html. Is it possible to remove the code for the image and the view larger link.

    Also how would I remove the name of the product at the top of the page and price? I would like the have the price just above the add to cart button. Any idea on how I would move this?

    Here is the url so you can see what I am yapping about.
    http://mollysoap.com/shop/index.php?...&products_id=1

    Here is my non zencart site. This is the look I am trying to achieve. I'd like to try and keep the layout the same but not sure how. Is it possible to move the add to cart button, quantity box and price to sit inside my table?
    http://www.mollysoap.com/s_bohemian.htm

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

    Default Re: Removing the product image codes

    You can edit the product info page in /includes/templates/your_template/templates/tpl_product_info_display.php.

    The page elements are all marked off by <!--bof xxxx--> and <!--eof xxxx--> comments. You can move whole code blocks to the order you want them to display, and fine-tune the layout in your stylesheet.

    You express dissatisfaction with the way your images look in Zen Cart; this is not inherently the system's fault, but probably the way you are using the system. It is capable of rendering perfect images. What pixel sizes of files are you using for the various locations? What sizes are they being displayed at?

  3. #3
    Join Date
    Apr 2008
    Location
    Rhode Island
    Posts
    21
    Plugin Contributions
    0

    Default Re: Removing the product image codes

    Thanks it worked! I moved the products name and price above the cart button but how do I change the alignment of the product name and price to align "right" on the stylesheet. I couldn't find it. I tried adding it as productPrices and productGeneral and neither worked.

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

    Default Re: Removing the product image codes

    You can find every class and id tag that applies to page elements in the "view source" screen; then you can style those in your stylesheet, modifying their properties if they are already there or adding them if not.

    The best tool for styling pages is the Firefox Web Developer extension, which you can download free from Mozilla or from www.chrispederick.com. The Information > Display Element Information button will show you all kinds of useful info about any element you click on. You can temporarily edit the CSS with the CSS > Edit CSS button and see the results instantly, and then save the edits that you like. Firebug is another Firefox extension that can be very useful for page design.

 

 

Similar Threads

  1. v151 Removing Product Image option
    By Sachin1008 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Apr 2014, 08:36 AM
  2. Removing Product Image
    By UnSub in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jan 2011, 05:04 PM
  3. Removing category icon/product main image on product info page
    By cochlear in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Oct 2010, 04:42 AM
  4. Removing larger image link on the product info page
    By niffy in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 20 Oct 2010, 09:46 PM
  5. Is there any way to set the medium image(_MED) as the default image of the product?
    By mybiz9999 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Aug 2010, 05:22 PM

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