agiftcodotcom Posted June 28, 2004 Posted June 28, 2004 Is it possible to allow the "Specials" to see text as well as numbers? This way when one of the items on my customers site is sold they can put a line through the price with a red "SOLD" instead of $o.oo? Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll
808smokey Posted June 28, 2004 Posted June 28, 2004 i asked how to remove the Line through and this where it's at: In includes/boxes/specials, remove the <s> and </s> around line 29. Not sure if there is more to it or not. There are <s></s> tags in catalog/specials, but I haven't looked at the code close enough to see where they come in.You can probably edit the code to show "SOLD" instead of "$currencies->display_price($random_product['products_price']"
agiftcodotcom Posted June 28, 2004 Author Posted June 28, 2004 I'm 'trying' to design it for Real Estate purposes (removing commerce aspects), so they would still need the option of marking houses 'down', but it would be nice if it could recognize text for "sold" as well as mark downs. The only reason being that customers who have bought a house tend to like to see that house as 'sold' for a few days after the sell. Or, I could probably use it for 'Pending' as well. Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll
Guest Posted June 28, 2004 Posted June 28, 2004 While still displaying the price you can replace the add to cart button with a soldout button. This soldout button is not clickable, so they can not add the item to the cart. In /product_info replace this section of code: <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> with <td align="right" class="main"><?php If ($product_info['products_quantity']<>0){ echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); }else{ echo tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/' . 'button_out_of_stock_cart.gif', IMAGE_BUTTON_OUT_OF_STOCK); } ?></td> You must upload a button named: IMAGE_BUTTON_OUT_OF_STOCK to: /includes/languages/LANGUAGE/images/buttons/ Hope this helps. PS Item must be active (green) with a quantity of '0' for this to work.
agiftcodotcom Posted June 28, 2004 Author Posted June 28, 2004 That could work. I was thinking of making the "add to cart" a "contact us" button. I guess they wouldn't need to contact anyone if it was sold :D Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll
agiftcodotcom Posted June 28, 2004 Author Posted June 28, 2004 Thank you two, by the way :) Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll
Recommended Posts
Archived
This topic is now archived and is closed to further replies.