Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can anyone tell me what instock/out of stock contribution this shop is using?


kdogg

Recommended Posts

Posted

Anyone? I'd really like this style out of stock listing but I dont know what they used or how they did it.

Posted

they modified the code to evaluate if it is in stock, then they replace the image and link if it's not - you have to do this in every place there is a

 

<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $new_products['parent_id'] .'_' . $new_products['products_id'] .'&products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'thumbs/thmb_' .$new_products['products_image'], 'Details For: '.$new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'

 

or equivalent source for the image. I'll put money on them making this into a function and just calling that and replacing the image function in OSC

Nothing unreal exists

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...