Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Qty Display on product page problem
Carl Mottershead

Excellent
August 26, 2017 - 11:33 pm
Member Since: December 25, 2015
Forum Posts: 18
sp_UserOfflineSmall Offline

I hope someone can help, i have a little problem with displaying correct qty left on product pages.

I use a an extension called ‘Many Sku One Inventory’ from manadev, this is a cracking extension but it changes the qty used to an variable called ‘represented qy’

My problem is that it uses the default magento qty to display product qty on frontend.

I asked there support and was told it should be as easy as using

$product->getData(‘m_represented_qty’)

Now i know its got something to do with default.phtml and composite.phtml files in cataloginventory/stockqty folder but i just do not have enough knowledge to get it to work.

Any help would be much appreciated
Carl

Carl Mottershead

Excellent
August 27, 2017 - 12:12 am
Member Since: December 25, 2015
Forum Posts: 18
sp_UserOfflineSmall Offline

default code

<?php if($this->isMsgVisible()): ?>
<span class="availability-only product-action">
<span class="ic ic-lowstock icon-color-productview"></span>
<span class="label"
title="<?php echo $this->__(‘Only %s left’, ($this->getStockQty())) ?>"><?php echo $this->__(‘Only %s left’, "<strong>{$this->getStockQty()}</strong>") ?></span>
</span>
<?php endif ?>
Rodney - UE
Guest
August 30, 2017 - 9:57 am

Hello there Carl. Try contacting Chris Atley at thewebsiteguy.xyz and see if he can help.

Rodney

Carl Mottershead

Excellent
August 30, 2017 - 9:41 pm
Member Since: December 25, 2015
Forum Posts: 18
sp_UserOfflineSmall Offline

Thanks Rodney, have sent mail, will await reply.

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5222

Posts: 27488

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606