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.
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.
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
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?
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.
The buy now button
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:and 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>';This doesn't solve the problem for your new/featured/specials/all-products pages, but you could do similarly for those.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>';
.
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.
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.
Bookmarks