[Skip to main content](#vessel-content)

#   Retail Price doesn't show up in Show Pro GK5 module

##

- **[MarioMagno](/forum/user/45246-mariomagno "View MarioMagno's Profile")**
- [![MarioMagno's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45246-mariomagno "View MarioMagno's Profile") Topic Author
- [ Offline](/forum/user/45246-mariomagno)

Less More

- Posts: 14
- Thank you received: 0
-
-

10 years 1 month ago [\#253605](#253605) by [MarioMagno](/forum/user/45246-mariomagno "View MarioMagno's Profile")  *[Retail Price doesn't show up in Show Pro GK5 module](/forum/26-product-category-display/887155-retail-price-doesnt-show-up-in-show-pro-gk5-module#253605 "-- HikaShop version -- : 3.2.4  Hi everyone,  can you explain me how to show the Retail Price on a Show Pro GK5 module ? Now It showing up only custom price. You can find attacched 2 screenshoot.  Thanks in advance")* was created by *[MarioMagno](/forum/user/45246-mariomagno "View MarioMagno's Profile")*

-- HikaShop version -- : 3.2.4

Hi everyone,

can you explain me how to show the Retail Price on a Show Pro GK5 module ?
Now It showing up only custom price.
You can find attacched 2 screenshoot.

Thanks in advance

- [ ![none&#95;retail&#95;price&#95;on&#95;SNP&#95;GK5.JPG](/forum/attachment/34241) ](/forum/attachment/34241 "...on&#95;SNP&#95;GK5.JPG") [ ](/forum/attachment/34241?download=1 "...on&#95;SNP&#95;GK5.JPG")
- [ ![retail&#95;price&#95;on&#95;product&#95;detail.JPG](/forum/attachment/34242) ](/forum/attachment/34242 "...uct&#95;detail.JPG") [ ](/forum/attachment/34242?download=1 "...uct&#95;detail.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODcxNTUtcmV0YWlsLXByaWNlLWRvZXNudC1zaG93LXVwLWluLXNob3ctcHJvLWdrNS1tb2R1bGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 1 month ago [\#253607](#253607) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Retail Price doesn't show up in Show Pro GK5 module](/forum/26-product-category-display/887155-retail-price-doesnt-show-up-in-show-pro-gk5-module#253607 "-- HikaShop version -- : 3.2.4  Hi everyone,  can you explain me how to show the Retail Price on a Show Pro GK5 module ? Now It showing up only custom price. You can find attacched 2 screenshoot.  Thanks in advance")*

Hi,

We don't know how the module Show Pro GK5 is coded so I can't tell you because I don't know.
That's something you need to ask to the developer of that module.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODcxNTUtcmV0YWlsLXByaWNlLWRvZXNudC1zaG93LXVwLWluLXNob3ctcHJvLWdrNS1tb2R1bGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MarioMagno](/forum/user/45246-mariomagno "View MarioMagno's Profile")**
- [![MarioMagno's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45246-mariomagno "View MarioMagno's Profile") Topic Author
- [ Offline](/forum/user/45246-mariomagno)

Less More

- Posts: 14
- Thank you received: 0
-
-

10 years 3 weeks ago [\#254262](#254262) by [MarioMagno](/forum/user/45246-mariomagno "View MarioMagno's Profile")  Replied by *[MarioMagno](/forum/user/45246-mariomagno "View MarioMagno's Profile")* on topic *[Retail Price doesn't show up in Show Pro GK5 module](/forum/26-product-category-display/887155-retail-price-doesnt-show-up-in-show-pro-gk5-module#254262 "-- HikaShop version -- : 3.2.4  Hi everyone,  can you explain me how to show the Retail Price on a Show Pro GK5 module ? Now It showing up only custom price. You can find attacched 2 screenshoot.  Thanks in advance")*

Hi Nicolas,

I found the bit of code concerned "hikashop_product_price_full" :

defined('_JEXEC') or die('Restricted access');
?&gt;&lt;?php
$class ='';
if(!empty($this-&gt;row-&gt;prices) &amp;&amp; count($this-&gt;row-&gt;prices)&gt;1){
$class = ' hikashop_product_several_prices';
}
if(isset($this-&gt;element-&gt;main-&gt;product_msrp) &amp;&amp; !(@$this-&gt;row-&gt;product_msrp &gt; 0.0) )
$this-&gt;row-&gt;product_msrp = $this-&gt;element-&gt;main-&gt;product_msrp;
if(isset($this-&gt;row-&gt;product_msrp) &amp;&amp; @$this-&gt;row-&gt;product_msrp &gt; 0.0 &amp;&amp; JRequest::getCmd('layout') == 'show' &amp;&amp; $this-&gt;params-&gt;get('from_module','') == ''){ ?&gt;

&lt;span class="hikashop_product_price_full&lt;?php echo $class; ?&gt;"&gt;
&lt;?php
if(empty($this-&gt;row-&gt;prices)){
echo JText::_('FREE_PRICE');
}else{
$first = true;
echo JText::_('PRICE_BEGINNING');
$i=0;

if(isset($this-&gt;row-&gt;product_msrp) &amp;&amp; @$this-&gt;row-&gt;product_msrp &gt; 0.0 &amp;&amp; JRequest::getCmd('layout') == 'show' &amp;&amp; $this-&gt;params-&gt;get('from_module','') == ''){
echo '&lt;span class="hikashop_product_our_price_title"&gt;'.JText::_('PRODUCT_MSRP_AFTER').'&lt;/span&gt; ';
}

and the bit of code concerned the views in NSP GK5 :

// function used to show the store details
static function store($config, $item) {
$html = '&lt;div class="nspHikashopBlock"&gt;';
//
$currencyHelper = hikashop_get('class.currency');
$mainCurr = $currencyHelper-&gt;mainCurrency();
$app = JFactory::getApplication();
$currCurrency = $app-&gt;getUserState( HIKASHOP_COMPONENT.'.currency_id', $mainCurr );
$msrpCurrencied = $currencyHelper-&gt;convertUniquePrice($item,$mainCurr,$currCurrency);
$msrpCurrencied2 = $currencyHelper-&gt;convertUniquePrice($item,$mainCurr,$currCurrency);

if($msrpCurrencied == $item) {
$html .= '&lt;span&gt;' . $currencyHelper-&gt;format($item, $mainCurr) . '&lt;/span&gt;';
} else {
$html .= '&lt;span&gt;' . $currencyHelper-&gt;format($msrpCurrencied, $currCurrency).' ('.$currencyHelper-&gt;format($item, $mainCurr).')' . '&lt;/span&gt;';
}
if($msrpCurrencied2 == $item) {
$html .= '&lt;span&gt;' . $currencyHelper-&gt;format($item, $mainCurr) . '&lt;/span&gt;';
} else {
$html .= '&lt;span&gt;' . $currencyHelper-&gt;format($msrpCurrencied, $currCurrency).' ('.$currencyHelper-&gt;format($item, $mainCurr).')' . '&lt;/span&gt;';
}

if($config &gt; 0) {
if(!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
include_once(rtrim(JPATH_ADMINISTRATOR,DS) . DS . 'components' . DS . 'com_hikashop' . DS . 'helpers' . DS . 'helper.php');
JHTML::_('behavior.framework');
$hs_config = hikashop_config();
$productClass = hikashop_get('class.product');
$_SESSION= $productClass-&gt;get($item);
$params = new JRegistry('');
// enable quantity field
if($config == 2) {
$params-&gt;set('show_quantity_field', 1);
} else {
$params-&gt;set('show_quantity_field', 0);
}
$params-&gt;set('price_with_tax',$hs_config-&gt;get('price_with_tax',1));
$params-&gt;set('add_to_cart',1);
$js = '';
$html .= hikashop_getLayout('product','add_to_cart_listing',$params,$js);
}

$html .= '&lt;/div&gt;';

return $html;
}

function itemCart($name, $map, $ajax, $type){
$html = '&lt;input type="'.$type.'" class="btn button hikashop_cart_input_button" name="'.$map.'" value="'.$name.'" onclick="'.$ajax.'"/&gt;';
$html.='&lt;input id="hikashop_product_quantity_field_1" type="hidden" value="1" class="hikashop_product_quantity_field" name="quantity" /&gt;';
return $html;
}

May you help me to understand how can I put the first code into NSPGK5 product view?

Thanks
*This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODcxNTUtcmV0YWlsLXByaWNlLWRvZXNudC1zaG93LXVwLWluLXNob3ctcHJvLWdrNS1tb2R1bGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 3 weeks ago [\#254263](#254263) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Retail Price doesn't show up in Show Pro GK5 module](/forum/26-product-category-display/887155-retail-price-doesnt-show-up-in-show-pro-gk5-module#254263 "-- HikaShop version -- : 3.2.4  Hi everyone,  can you explain me how to show the Retail Price on a Show Pro GK5 module ? Now It showing up only custom price. You can find attacched 2 screenshoot.  Thanks in advance")*

Hi,

That store function doesn't have the data of the product available in its variables. So it's not possible to add some code there to get the retail price and display it. It would require a least another modification where that function is used to pass on the product data so that the retail price could be used in the store function.
Again, I don't know how the module is done.
But why ask us and not the developers of the module ? They know their module better than anyone else and will be able to guide you better than us. Apart from the fact that it's not our job to support other's extensions...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODcxNTUtcmV0YWlsLXByaWNlLWRvZXNudC1zaG93LXVwLWluLXNob3ctcHJvLWdrNS1tb2R1bGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
