![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() I've noticed that products from Amazon will revert to $0 if they're not available.
Is there a way to change the $0 to something more meaningful? It's not free after all, it's unavailable/not in stock. Thanks! www.vintageshopper.com/store |
#2
|
|||
|
|||
![]() Try to replace in The Factory > Your Store > VIEWS > CATEGORY PAGE > Default > Product list module > Theme settings (
![]() Code:
<div class="prc"> <small> [product.currency mode='sign'][product.price] </small> </div> Code:
<?php if ($product->price > 0 ) { ?> <div class="prc"> <small> [product.currency mode='sign'][product.price] </small> </div> <?php } else { ?> Whatever text you want... <?php } ?> |
#3
|
|||
|
|||
![]() Thanks Stefan - I have the sale price code inserted --does this change anything?
|
#4
|
|||
|
|||
![]() No. The sales price code only shows a sales price if merchant has provided a sales price otherwise it shows the regular price.
If regular price is 0 it will still show the 0. |
#5
|
|||
|
|||
![]() OK thanks, that worked, but it's not reading well.
Is there a way to center like the price on the category pages, and left aligned on the product detail pages? I don't know php/css so I'm afraid of breaking things here... thanks again for your help. |
#6
|
|||
|
|||
![]() PS, that code is also breaking the design - see attached screengrab
|
#7
|
||||
|
||||
![]() Try this:
HTML Code:
<?php if ($product->price > 0 ) { ?> <div class="prc"> <small> [product.currency mode='sign'][product.price] </small> </div> <?php } else { ?> <div class="prc"> <small> Whatever text you want... </small> </div> <?php } ?>
__________________
![]() ![]() ![]() ![]() |
#8
|
|||
|
|||
![]() perfect! thanks mate
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How Do You Add Products From Amazon? | goose | Questions | 3 | May 17th, 2011 04:02 PM |
Adding amazon products | bigcroc | Questions | 1 | May 10th, 2011 04:51 AM |
How to get Amazon products on my website? | andrew11 | Questions | 8 | February 21st, 2011 06:44 PM |