Jump to content

Diemux

Members
  • Posts

    133
  • Joined

  • Last visited

Profile Information

  • Location
    Netherlands

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Diemux's Achievements

Newbie

Newbie (1/14)

1

Reputation

1

Community Answers

  1. We are using a custom theme, we used to be able to show HTML in the short description by removing strip_tags from: <div class="product-description"> {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} </div> so that becomes: <div class="product-description"> {$product.description_short} </div> But now I just see the description with the HTML tags written out as text: <p>Lorem ipsum<br /><br />random text to test</p> What am I missing? Is there some JS I need to alter? Can't find anything in the theme JS. SOLUTION: ADD "nofilter" tag as below: {$product.description_short nofilter}
  2. Is there a list available with the current smarty variables? Like $product.*** etc.
  3. Well there is the answer. I was editting my own theme, not classic. So translations from the classic theme are somehow shared with the other themes? Seems like a weird construction. Thank you for the help!
  4. Nothing tax related under Shop->Theme->Global... A searchon "belasting" only gives me one result as shown in my previous post.
  5. I´m looking for the translation of 'tax-shipping-delivery-label'. But the only "belasting" (Dutch for tax) I can find is the one above. I searched in all available translation options. I checked the source file and it's not a hard coded text. It's in product-prices.tpl which shows: <div class="tax-shipping-delivery-label"> {if !$configuration.taxes_enabled} {l s='No tax' d='Shop.Theme.Catalog'} {elseif $configuration.display_taxes_label} {$product.labels.tax_long} {/if} {hook h='displayProductPriceBlock' product=$product type="price"} {hook h='displayProductPriceBlock' product=$product type="after_price"} {if $product.additional_delivery_times == 1} {if $product.delivery_information} <span class="delivery-information">{$product.delivery_information}</span> {/if} {elseif $product.additional_delivery_times == 2} {if $product.quantity > 0} <span class="delivery-information">{$product.delivery_in_stock}</span> {* Out of stock message should not be displayed if customer can't order the product. *} {elseif $product.quantity <= 0 && $product.add_to_cart_url} <span class="delivery-information">{$product.delivery_out_stock}</span> {/if} {/if} </div> So that's the variable $product.labels.tax_long.
  6. But I´m missing translations... For example the tax label below the product price. It was included in the language pack but I can´t find it in the backoffice.
  7. I tried some google searching and found a few people with the same problems but no answer. I need to translate a few front office translations (like the tax label of the product price) but in the translator back office I can't select Front Office Translations. Screenshot: https://ibb.co/2YsVXb9 I'm using 1.7.6.4 in a Multistore environment. I tried to edit from both the store and "All stores".
  8. I would like to have the TinyMCE extended so I can actually make use of this great editor (have no clue why Prestashop would limit such a great script). I found below page explaining how to extend the functionality: https://dev.timelab.fr/en/extend-text-editor-tinymce-prestashop-1-7/ Unfortunately this doesn't work, I don't see anything changing at the TinyMCE editor. I made the changes in the correct file and cleared the cache.
  9. Because that ain´t working. I tried unminifying the file with Notepad++ edited it and then minified it again but that didn't work. It's because it's rendered from a package or something (I don't understand anything about the web package thing).
  10. Yes, currently i'm using the custom.css for changes. I have always directly edited the css files, it's fast and direct. I hardly doubt minifying CSS will make Prestashop work faster as everything is still loaded as one whole CSS (global) but that is just my opinion.
  11. Hi Horiatb, Thanks for the quick response, I'll try to make this work but must say I got a "I'm getting to old for this shit" moment when I read the instructions xD.
  12. So the default "classic" theme (and probably all other themes) use minified CSS. I must admit, I'm an old school webdeveloper and are not familiar with this way of editing. I'm trying to find a proper how-to on how to edit the CSS files properly. I have found some that explain to use SCOUT as solution but I'm already stuck when they tell me to input the DEV folder.... there is NO DEV folder in the current release of Prestashop. I dont get it. When I try to edit the minified CSS via FileZilla in Notepad 2.0, as soon as I made changes the CSS no longer loads on the website (tried doing clean cache). I'm getting fed up by trying which is a bummer as I been using Prestashop since the beginning.
×
×
  • Create New...