![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Store ID: 38825
Website URL: http://factory3.datafeedr.com/feeder...=954492&page=9 URL to page in question: http://hspire.com/view/modern-chairs...ette-set-of-4/ Hi: I ran an Amazon product search using pricing from $750 plus. Not sure if that has anything to do with the problem, but the results are displaying numerous products at $0.00 And of course the price is not $0.00. ???? |
#2
|
|||
|
|||
![]() Can you post the ASIN numbers for some of the products in question?
|
#3
|
|||
|
|||
![]() Hi:
Here are some random ones: B0074CC58M B0074CB6B4 B005HF5IHS B0074CCL5E |
#4
|
|||
|
|||
![]() Unfortunately the Amazon API does not return any price for the products you mention - hence the $0.
|
#5
|
|||
|
|||
![]() Quote:
|
#6
|
|||
|
|||
![]() Store ID:
Website URL: http://diaboliquemagazine.com URL to page in question: http://diaboliquemagazine.com/store I am having the same problem. Too many items have $0 prices. Question is, how do I get rid of prices just for Amazon products? Cheers, D |
#7
|
||||
|
||||
![]() Hi,
To display a different message for products with $0 for the price, you can replace this: HTML Code:
<div class="prc">[product.currency mode='sign'][product.price]</div> HTML Code:
<?php if ($product->price == 0) : ?> <div class="prc" style="color:white">[product.currency mode='sign'][product.price]</div> <?php else : ?> <div class="prc">[product.currency mode='sign'][product.price]</div> <?php endif; ?> The Factory > Your Store > VIEWS > STORE FRONT PAGE > Default The Factory > Your Store > VIEWS > CATEGORY PAGE > Default The Factory > Your Store > VIEWS > PRODUCT PAGE > Default Eric
__________________
![]() ![]() ![]() ![]() |
#8
|
|||
|
|||
![]() Eric, thanks. However, I am correctly using the "saleprice" variant. I want to continue using that, but substitute a different message where the price is $0.
Here is my existing code: HTML Code:
<!-- Product List --> <div class="pl"> [product.each] <div class="t3 col1"> <hr width="100%" size="1" noshade="noshade" color="#CCCCCC" /> <div class="bdr"> <div class="lc"> <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div> <div class="prc"><small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]<br /></span> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small></div> </div> <div class="rc"> <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2> <p class="desc">[product.description]</p> <div class="btns"> <a href="[product.link]" title="[product.name]" class="dfbutton dfsilver dflarge">Details</a> <a href="[product.url direct='0']" title="[product.name]" class="dfbutton dfsilver dflarge" rel="nofollow">Buy</a> </div> </div> <div class="clearingdiv"> </div> </div> </div> [/product.each] <div class="clearingdiv"> </div> </div> <!-- /Product List --> |
#9
|
||||
|
||||
![]() Hi,
You need to change this: HTML Code:
<div class="prc"> <small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span> <br /> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small> </div> HTML Code:
<?php if ($product->price == 0) : ?> <div class="prc"> <small> No Price message <br /> </small> </div> <?php else : ?> <div class="prc"> <small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span> <br /> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small> </div> <?php endif; ?>
__________________
![]() ![]() ![]() ![]() |
#10
|
|||
|
|||
![]() That doesn't seem to work. I don't see any difference. Take a look: http://diaboliquemagazine.com/store/...ry/werewolves/
This is my new category page product code: <!-- Product List --> <div class="pl"> [product.each] <div class="t3 col1"> <hr width="100%" size="1" noshade="noshade" color="#CCCCCC" /> <div class="bdr"> <div class="lc"> <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div> <?php if ($product->price == 0) : ?> <div class="prc"> <small> No Price message <br /> </small> </div> <?php else : ?> <div class="prc"> <small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span> <br /> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small> </div> <?php endif; ?> </div> <div class="rc"> <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2> <p class="desc">[product.description]</p> <div class="btns"> <a href="[product.link]" title="[product.name]" class="dfbutton dfsilver dflarge">Details</a> <a href="[product.url direct='0']" title="[product.name]" class="dfbutton dfsilver dflarge" rel="nofollow">Buy</a> </div> </div> <div class="clearingdiv"> </div> </div> </div> [/product.each] <div class="clearingdiv"> </div> </div> <!-- /Product List --> |
#11
|
||||
|
||||
![]() Hi,
Try changing this line: PHP Code:
PHP Code:
__________________
![]() ![]() ![]() ![]() |
#12
|
|||
|
|||
![]() nope. Still doesn't work.
|
#13
|
||||
|
||||
![]() Hi,
Can you tell me exactly what you want to do given the different conditions that can occur with prices? Eric
__________________
![]() ![]() ![]() ![]() |
#14
|
|||
|
|||
![]() Basically, I want it to look like this, which is does now:
Was: $350.00 Now: $208.26 However, if the sale price is $0, it should say something like "click Buy for price" Does that make sense? Can you think of a better idea? D |
#15
|
||||
|
||||
![]() Hi,
Try replacing this: HTML Code:
<?php if ($product->sprice < 1) : ?> <div class="prc"> <small> No Price message <br /> </small> </div> <?php else : ?> <div class="prc"> <small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span> <br /> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small> </div> <?php endif; ?> HTML Code:
<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?> <div class="prc"> <small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span> <br /> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small> </div> <?php else : ?> <div class="prc"> <small> <span>Click "Buy" For Price</span> <br /> <span style="font-weight: bold; color:white;">[product.currency mode='sign'][product.price]</span> </small> </div> <?php endif; ?>
__________________
![]() ![]() ![]() ![]() |
#16
|
|||
|
|||
![]() Eric, I'm afraid that killed everything. My page is now empty. Take a look: http://diaboliquemagazine.com/store/category/books/
|
#17
|
||||
|
||||
![]() Hi,
That pages looks fine to me. Make sure you added the code properly. Eric
__________________
![]() ![]() ![]() ![]() |
#18
|
|||
|
|||
![]() Eric, I think you may be looking at a cached page. I can't see anything on it, even after updating both products and settings. I am attaching a screen grab. Here is my current code:
<!-- Product List --> <div class="pl"> [product.each] <div class="t3 col1"> <div class="bdr"> <div class="lc"> <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div> <?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?> <div class="prc"> <small> Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span> <br /> Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span> </small> </div> <?php else : ?> <div class="prc"> <small> <span>Click "Buy" For Price</span> <br /> <span style="font-weight: bold; color:white;">[product.currency mode='sign'][product.price]</span> </small> </div> <?php endif; ?> </div> <div class="rc"> <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2> <p class="desc">[product.description]</p> <div class="btns"> <a href="[product.link]" title="[product.name]" class="dfbutton dfsilver dflarge">Details</a> <a href="[product.url direct='0']" title="[product.name]" class="dfbutton dfsilver dflarge" rel="nofollow">Buy</a> </div> </div> <div class="clearingdiv"> </div> </div> </div> [/product.each] <div class="clearingdiv"> </div> </div> <!-- /Product List --> |
#19
|
||||
|
||||
![]() Hi,
This is fixed. <?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?> Should have been: <?php if ($product->saleprice > 0 && $product->saleprice < $product->price) : ?> I've made that change in your store. Just click the [Update Settings Only] button. Eric
__________________
![]() ![]() ![]() ![]() |
#20
|
|||
|
|||
![]() Eric, thanks!
That works. The only one thing that's not quite right is this... If the SALE price is $0, then it should say: Was: $450.00 Sale Price Not Available Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amazon Products: Prices are not updated | levaleva | Problems | 7 | February 23rd, 2012 11:36 AM |
Sale Prices not showing on amazon product | ctone51 | Problems | 2 | December 30th, 2011 02:06 PM |
Amazon Italy - Amazon Spain Now Available! | stefan | News & Announcements | 0 | November 29th, 2011 01:08 PM |
Amazon is taking its price US Amazon.com - Needs to be in £ from UK Amazon.co.uk | gamerspy | Problems | 2 | October 19th, 2011 12:19 PM |
Sales prices and multiple product prices. | ericnmon | Questions | 1 | June 13th, 2011 07:32 PM |