Jump to content

afalls

Member
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by afalls

  1. Hi, I upgraded to v6.0.4 last month and since then i have not been able to back up the files through admin panel. Every back up produces the same results which is a 0.02KB file that is not packaged properly and can't be extracted. I have just updated to v6.0.6 today and i am still getting the same issue. I know i can still back up through hosting but i used to use this feature all the time so i am not sure why it no longer works. Any suggestions would be appreciated. Thanks
  2. Hi there. Just wanted to let you know that its now working perfectly. I ended up using <h1>{$PRODUCT.price}{if $PRODUCT.price_unformatted ne "0.00"} + GST{/if}</h1> in the skin and its exactly what i was after from the beginning. Thanks again for you help!
  3. I've been trying a number of things and still no luck but i am wondering if i should try and do this through classes not skin - would this work? To get the "POA" to appear i edited the catalogue.class.php and cubecart.cless.php files as follows: Original code: $product['price'] = $GLOBALS['tax']->priceFormat($product['price']); Edited code: if ($product['price'] == "0.00") { $product['price'] = "POA"; } else { $product['price'] = $GLOBALS['tax']->priceFormat($product['price']); }
  4. damn...I cleared cache but unfortunately its still not working. I've double checked everything but it all looks like you have said to do. I'll have another look back through my files to triple check now. Would there be anything else i should be checking? Sorry to be difficult.
  5. Hi there, I think i must be doing something wrong as i am still getting "POA + GST" after i added in the below code as suggested: Posted Today, 01:28 AM We will use these: $PRODUCT.price_unformatted $PRODUCT.sale_price_unformatted If these are not empty, so to speak, will print the +GST. <h1><span class="price_previous">{$PRODUCT.price} {if !empty($PRODUCT.price_unformatted)}+ GST{/if}</span><span class="price_sale">{$PRODUCT.sale_price} {if !empty($PRODUCT.sale_price_unformatted)}+ GST{/if}</span></h1> <h1>{$PRODUCT.price}{if !empty($PRODUCT.price_unformatted)} + GST{/if}</h1> __________ Is this because i have the code for converting $0.00 to POA in catelogue.class.php as below: $product['price_unformatted'] = $product['price']; $product['sale_price_unformatted'] = $product['sale_price']; if ($product['price'] == "0.00") { $product['price'] = "POA";
  6. Thanks so much for your speedy response bsmither. I hard coded in the skin files. It was the below code in the content.product.php. <div id="price"> <p>{if $PRODUCT.ctrl_sale}</p> <h1><span class="price_previous">{$PRODUCT.price} + GST</span><span class="price_sale">{$PRODUCT.sale_price}</span> + GST</h1> {else} <h1>{$PRODUCT.price} + GST</h1> {/if} </div> If you can guide me as to what logic i need here that would be brilliant. Thanks again.
  7. I am currently setting up my first cubecart (It will run in catalog mode only). Of the products, 70% have prices and the other 30% you need to contact the company directly for a price. I didn't want the price to appear as $0.00 so following another topic in the forums i changed the code so on products with no prices it displays as "POA". This is working perfectly. For the products with prices, I need it to display as "$24.95 + GST" and i managed to do this by hard coding in the "+ GST". The issue i now have is for the products with no price i get "POA + GST" How can i get the "+ GST" to only appear where there is an actual price? Any help would be greatly appreciated. (I am using CubeCart-5.2.1 and its a clean install)
×
×
  • Create New...