X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Is it same on your Books & Magazine template? (https://forum.x-cart.com/showthread.php?t=66929)

tam10 05-23-2013 05:52 AM

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%

carpeperdiem 05-23-2013 06:42 AM

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?

tam10 05-23-2013 07:47 AM

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.

carpeperdiem 05-23-2013 07:50 AM

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.

tam10 05-23-2013 07:58 AM

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

Yes, i forgot to run cleanup
Works just fine.

Thanks a lot :)

carpeperdiem 05-24-2013 08:54 AM

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.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.