Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default how to remove product details link

    Does anyone know how i can remove the links to product details (from product name) or change them to go to the cart? The products are blocks of time so there is no need for different details. I plan to use just the category description for all.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: how to remove product details link

    If I have understood your poat correctly...you have blocks of time i.e. .25/hr, .5/hr or 1/day, 2/day etc.

    You might rethink this, and use the attribute function with either a drop down or a set of radio buttons and allow the customer to select the block length they desire
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: how to remove product details link

    Sounds like a better way to do it but the client wants boxes across the page with the times in them. I'll just make an image for each time. I need to get rid of the details link though, so everything goes directly to the cart. Any ideas?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: how to remove product details link

    So ... what is the customer going to click on to purchase these items?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: how to remove product details link

    The buy now button

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: how to remove product details link

    Since you haven't provided a URL for visual confirmation of "where" you're wanting to do this, I'm going to assume it's the main product-listing.

    You could hack out the A HREF links from all the places they're generated, starting with NAME and IMAGE by editing:
    /includes/modules/YOURTEMPLATE/product_listing.php

    Take out the A HREF portions in things like this:
    Code:
              $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';
    and this:
    Code:
              $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT) . '</a>';
    This doesn't solve the problem for your new/featured/specials/all-products pages, but you could do similarly for those.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: how to remove product details link

    Thanks DrByte, i found those links. This is a very cut down cart. No special, featured etc. Just book a half hour block of time and thats it. Pay through Paypal. Here's a link. if you have any suggestions they'd be greaty appreciated!. http://www.newmediastudio.com.au/appointment/
    Mark.

 

 

Similar Threads

  1. how to get details button for product details
    By tparvaiz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Aug 2011, 03:18 PM
  2. How to modify the Product Details List on the Product Details Page to look tabular?
    By CaptainCarlton in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jul 2011, 02:41 PM
  3. How do I remove Qty 'units in stock' from the product details?
    By newb1234 in forum Basic Configuration
    Replies: 1
    Last Post: 18 Sep 2009, 10:35 PM
  4. Replies: 2
    Last Post: 7 Feb 2008, 03:21 PM

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