Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloTonic & HelloTonic iPhone How do I remove the 'In Stock' display ?

    This topic contains 3 replies, has 4 voices, and was last updated by  Anonymous 4 years, 7 months ago.

    Viewing 4 posts - 1 through 4 (of 4 total)
    • Author
      Posts
    • #16977

      Anonymous

      also the price shows as xx,xx this not correct for UK I need £xx.xx is this possible to fix? thank you.

      #16978

      Anonymous

      To remove “X In Stock”:

      open up: app/design/frontend/default/hellotonic/template/catalog/product/slide_products.phtml

      DELETE Line 62: <div class="stock-qty"><?php echo (int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty()?><em><?php echo $this->__(' In Stock') ?></em></div>

      To correct the price view (edit the same file) – Lines 75, 79, and 82, change:

      price, 2, ',',

      to

      price, 2, '.',

      then in fron of that and after the span (ie. <span class="price">) add: &pound; to show pound sterling symbol.

      That should work for you,

      Mike

      #16979

      Anonymous

      Thanks very much for the mutual assistance, this is the idea of the HelloCommunity ! :D

      Kind regards.-

      #16980

      Anonymous

      So it have to be
      <span class="price">&euro; <?php $price = $_product->price; echo number_format($price, 2, '.', ' '); ?></span>

      :D

    Viewing 4 posts - 1 through 4 (of 4 total)
    Reply To: How do I remove the 'In Stock' display ?
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">