Jump to content

[solved] Price not visible product detail


olesen

Recommended Posts

Hi

Prestashop 1.7.8.1

I have the problem that the price is not visible on the product page 😞
The price is visibel on the product list, but when I click on the product and go to the product detail, the price is missing..
If there is a discount shown before the price and discount% but not price.

Are there others who have the same problem?
(Maby a solution?)

Thanks in advance

 

 

Edited by olesen
[sOLVED] (see edit history)
Link to comment
Share on other sites

Hi

Maby ?

         <span class='current-price-value' content="{$product.rounded_display_price}">
            {capture name='custom_price'}{hook h='displayProductPriceBlock' product=$product type='custom_price' hook_origin='product_sheet'}{/capture}
            {if '' !== $smarty.capture.custom_price}
              {$smarty.capture.custom_price nofilter}
            {else}
              {$product.price}
            {/if}

          </span>

Link to comment
Share on other sites

  • olesen changed the title to [solved] Price not visible product detail
  • 3 months later...

It must be this TPL file that is teasing.

I have written to the developer, but again reply back yet ....

 

{** 
  * ---------------------------------------------------------------------------------
  * 
  * This file is part of the 'oleafoquantityprices' module feature 
  * Developped for Prestashop  platform.
  * You are not allowed to use it on several site
  * You are not allowed to sell or redistribute this module
  * This header must not be removed
  * 
  * @category XXX
  * @author OleaCorner <[email protected]> <www.oleacorner.com>
  * @copyright OleaCorner
  * @version 1.0
  * 
  * ---------------------------------------------------------------------------------
  *}
{if isset($display_fromprice) && $display_fromprice && isset($oleafoqty_bestprice) && count($oleafoqty_bestprice)}
    {if !$olea_isalg}
        <div class="oleafoqty_fromprice"><span class="oleafoqty_fromlabel">{l s='From' mod='oleafoquantityprices'} </span>{$oleafoqty_bestprice.price_displayed|escape:'htmlall':'UTF-8'} {l s='By %d' sprintf=[$oleafoqty_bestprice.quantity|intval] mod='oleafoquantityprices'}</div>
    {else}
        <div class="oleafoqty_fromprice">
            <span class="oleafoqty_fromlabel">{l s='From' mod='oleafoquantityprices'} </span>
            {$oleafoqty_bestprice.price_without_taxes_displayed|escape:'htmlall':'UTF-8'} HT CHAQUE{l s='by' mod='oleafoquantityprices'} {$oleafoqty_bestprice.quantity|intval}
            <br/>{$oleafoqty_bestprice.price_with_taxes_displayed|escape:'htmlall':'UTF-8'} TTC CHAQUE{l s='by' mod='oleafoquantityprices'} {$oleafoqty_bestprice.quantity|intval}
        </div>
    {/if}
{/if}
{include file="module:oleafoquantityprices/views/templates/hook/ps17/tables/table_main.tpl" fromHook="displayProductPriceBlock" assign=oleafoqty_content}
{if trim($oleafoqty_content)}
    <div class="oleafoq_priceblock" >
        {if 0}<label>{l s='Quantity prices' mod='oleafoquantityprices'}</label>{/if}
        
        <div class="js_oleafoq_content js_oleafoq_displayProductPriceBlock_{$current_blockprice_type|escape:'htmlall':'UTF-8'} ">
            {$oleafoqty_content nofilter} {* No Escaper, as comuted by previous assign by include file *}
        </div>
    </div>
{/if}
 

Link to comment
Share on other sites

  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...