Johnnycopilot:
I'll be back on the forum again in a few minutes when I crash my entire site.. ha
It's funny that I jokingly made the comment about crashing my site, because when I upload my map_pricing.php page with my edits, my website goes completely blank. everything. Like a white piece of paper. no content at all on entire website.. Thought I had really crashed it somehow. When I re-upload my working map_pricing.php file my website comes back. note: it seems like the m.a.p. install instructions said I needed to edit a product after install for website to 'work', so I DID edit or create a product between each of my changes... but still blank website. I would like to show the changes I made, and perhaps someone can correct me, and explain what I have done wrong.
Re-Capp, in case someone not familiar with this post starts reading: I am trying to give the text that shows up in lieu of price, when I put $0 in the M.A.P. price field, it's on text style. I am trying to give ----- define('MAP_PRICE_STORE_FRONT_TEXT', "</span><span class="noPrice">Priced so low we can't advertise it - Add to cart for price."); ---- it's own style.. However, I don't know what I am doing.
The define('MAP_PRICE_STORE_FRONT_TEXT_WITH_MAP_PRICE_DISPLAYED', '</span><span class="noMap">for SALE price, add to cart'); edit works great. It separated the price and subsequent text into two fields, which allowed me to give the price and text their own styles (...which shows up when $1 or more is entered in the M.A.P. price field).
** Question:: Can I name a style "noPrice" ??
This is the current, working map_pricing.php page with the strikethrough mod in place.
define('MAP_PRICE_STORE_FRONT_TEXT', "Priced so low we can't advertise it - Add to cart for price.");
define('MAP_PRICE_STORE_FRONT_TEXT_WITH_MAP_PRICE_DISPLAYED', '</span><span class="noMap">for SALE price, add to cart');
This is the current working theme stylesheet
.map_pricing {text-decoration: line-through;
color: #808080;
font-weight: normal;
}
.noMap {text-decoration: none;
color: #FF0000;
font-weight: normal;
Here are the changes I made, none of which work.
Change (1)
define('MAP_PRICE_STORE_FRONT_TEXT', "</span><span class="noPrice">Priced so low we can't advertise it - Add to cart for price.");
define('MAP_PRICE_STORE_FRONT_TEXT_WITH_MAP_PRICE_DISPLAYED', '</span><span class="noMap">for SALE price, add to cart');
.map_pricing {text-decoration: line-through;
color: #808080;
font-weight: normal;
}
.noMap {text-decoration: none;
color: #FF0000;
font-weight: normal;
}
.noPrice {text-decoration: none;
color: #0000FF;
font-weight: normal;
Change (2)
define('MAP_PRICE_STORE_FRONT_TEXT', </span><span class="noPrice">"Priced so low we can't advertise it - Add to cart for price.");
define('MAP_PRICE_STORE_FRONT_TEXT_WITH_MAP_PRICE_DISPLAYED', '</span><span class="noMap">for SALE price, add to cart');
Same style sheet as in change 1
Change (3)
define('MAP_PRICE_STORE_FRONT_TEXT', '</span><span class="noPrice">"Priced so low we can't advertise it - Add to cart for price." ');
define('MAP_PRICE_STORE_FRONT_TEXT_WITH_MAP_PRICE_DISPLAYED', '</span><span class="noMap">for SALE price, add to cart');
same style sheet as in change 1
Change (4)
define('MAP_PRICE_STORE_FRONT_TEXT', '</span><span class="noPrice">' "Priced so low we can't advertise it - Add to cart for price.");
define('MAP_PRICE_STORE_FRONT_TEXT_WITH_MAP_PRICE_DISPLAYED', '</span><span class="noMap">for SALE price, add to cart');
same stylesheet as in change 1
What am I doing wrong? Thanks! :)