julia Posted September 20, 2005 Posted September 20, 2005 Is there anyway to remove the dashes (-) beside the options when you view the shopping cart? We have some options that are null, but it still puts the dash in, and it looks like the product is missing something. Thanks Julie http://www.olivialitton.com/osCommerce
MoisesZaragoza Posted September 20, 2005 Posted September 20, 2005 HEy Julie I really cant see any dashes (-) at the end of the day the code will be good
julia Posted September 20, 2005 Author Posted September 20, 2005 HEy Julie I really cant see any dashes (-) <{POST_SNAPBACK}> If you add something to the cart...and then click to purchase...it shows you what is in your cart...and then there are a bunch of dashes where the blank option fields are. Julie
MoisesZaragoza Posted September 20, 2005 Posted September 20, 2005 Ok I see it. That becase there is no atribute selected. You can write N/A for not aplicable. I'll try to write something at the end of the day the code will be good
MoisesZaragoza Posted September 20, 2005 Posted September 20, 2005 The line that controls it is $products_name .= '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; It's located in the file shopping_cart.php on line 132 Give or take at the end of the day the code will be good
MoisesZaragoza Posted September 20, 2005 Posted September 20, 2005 Change that line to read $products_name .= '<br><small><i> ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; at the end of the day the code will be good
julia Posted September 20, 2005 Author Posted September 20, 2005 Change that line to read $products_name .= '<br><small><i> ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; <{POST_SNAPBACK}> Thank you soooo much..I had to step out or I would have responded sooner!!
MoisesZaragoza Posted September 20, 2005 Posted September 20, 2005 That's ok I'm just glad it worked at the end of the day the code will be good
julia Posted September 20, 2005 Author Posted September 20, 2005 That's ok I'm just glad it worked <{POST_SNAPBACK}> I never would have found that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.