Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Is it same on your Books & Magazine template?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-23-2013, 05:52 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Is it same on your Books & Magazine template?

I wonder if others who use the Books & Magazinetemplate, have the product market price +sale price + % of saving on the category page. On my store all the above shown only on the product page itself.

Customers can't see the saving when browsing the category products.

It looks like that:

On the category page-
Product xxxx
$37.00

On products page-
$37.00
Compare At: $40.00 You Save 8%
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #2  
Old 05-23-2013, 06:42 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Is it same on your Books & Magazine template?

Tammy,

Inspect your file,
/skin/books_and_magazines/customer/main/products_t.tpl

You should see something like this:

Code:
<div class="market-price">{$lng.lbl_market_price}: <span class="market-price-value">{currency value=$product.list_price}</span> {if $product.appearance.market_price_discount gt 0} {if $config.General.alter_currency_symbol ne ""}, {/if} <span class="price-save">{$lng.lbl_save_price}{$product.appearance.market_price_discount}%</span> {/if} </div>

make sure you haven't commented it out?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 05-23-2013, 07:47 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: Is it same on your Books & Magazine template?

Thanks for the reply.

I found this

{**if $product.appearance.has_market_price and $product.appearance.market_price_discount gt 0}
<div class="market-price">
{$lng.lbl_market_price}: <span class="market-price-value">{currency value=$product.list_price}</span>

{if $product.appearance.market_price_discount gt 0}
{if $config.General.alter_currency_symbol ne ""}, {/if}
<span class="price-save">{$lng.lbl_save_price} {$product.appearance.market_price_discount}%</span>
{/if}

</div>
{/if**}

Removing the ** did nothing.
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #4  
Old 05-23-2013, 07:50 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Is it same on your Books & Magazine template?

Tammy,

Your code was commented out.
Remove the ** at both places
then run cleanup.php to rebuild your template cache.

This IS why it wasn't showing.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 05-23-2013, 07:58 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: Is it same on your Books & Magazine template?

carpeperdiem,

Yes, i forgot to run cleanup
Works just fine.

Thanks a lot
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #6  
Old 05-24-2013, 08:54 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Is it same on your Books & Magazine template?

PS -- anyone remember my 4.5.4 to 4.5.5 upgrade rant thread?

http://forum.x-cart.com/showpost.php?p=354520&postcount=23

Books & magazines skin is poorly managed by xcart.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
tam10 (05-24-2013)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:06 PM.

   

 
X-Cart forums © 2001-2020