-
Posts
577 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by colorful-ant
-
-
themes / community-theme-default / authentication-create.tpl
change default code
```
{* {l s='January'} {l s='February'} {l s='March'} {l s='April'} {l s='May'} {l s='June'} {l s='July'} {l s='August'} {l s='September'} {l s='October'} {l s='November'} {l s='December'} *}to
``` -
yes - attributes can be upload via csv
if you have more than one attribute per attribute-group, it is at the moment with standard not possible
take a look here and try a few items to import if you have more then one attribute per group
https://forum.thirtybees.com/topic/1266/products-with-multiple-features
-
That's great!
-
you need no module - you can create a cart rule and for example a gift-product
-
dont forget clear cache - if your are not live or you use test/demo with your shop - disable all caches
-
your login/creation account - looks at the moment this
your comment out
<--
correct to this and it will be unvisible
<!--
-
@andyc
i think your comment out is not correct (! is missing after <)
try this before
<!--
end --> is ok
-
I am not sure - I do not use a full cache and have problems with prices etc. If e.g. the discount ends - it usually shows this discount in the product and the lists in category etc.
With PS 1.6 I had used this script from prestacraft for help. http://prestacraft.com/programmatically-cache-clearing-in-prestashop/#
With TB I have tested it again and works without problems. Maybe this option should be integrated with cron job in the core.
EDIT : or module
-
for language block with flag - default theme
modules / blocklanguages / blocklanguages.tpl
changes
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> {$current_iso|escape:'html':'UTF-8'} <span class="caret"></span> </a>
to
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <span><img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16" />{$current_iso|escape:'html':'UTF-8'}</span> <span class="caret"></span> </a>
and this
<a href="{$lang_rewrite_urls.$indice_lang|escape:'html':'UTF-8'}" title="{$language.name|escape:'html':'UTF-8'}" rel="alternate" hreflang="{$language.iso_code|escape:'html':'UTF-8'}"> <span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span> </a>
to<a href="{$link->getLanguageLink($language.id_lang)|escape:'html':'UTF-8'}" title="{$language.name|escape:'html':'UTF-8'}" rel="alternate" hreflang="{$language.iso_code|escape:'html':'UTF-8'}"> <span><img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16" /> {$language.name|regex_replace:"/\s\(.*\)$/":""}</span> </a>
result
i played a little bit with the code for blockcurrency community-theme-default / modules / blockcurrencies / blockcurrencies.tpl
i changed this
{l s='Currency: %s' sprintf=[$current_iso] mod='blockcurrencies'} <span class="caret"></span>
to{l s='Currency: %s' sprintf=[$current_iso] mod='blockcurrencies'} <img src="../../img/l/{$f_currency.id_currency}.jpg" alt="" class="currency_flag" /><span class="caret"></span>
and this
<a href="javascript:setCurrency({$f_currency.id_currency});" rel="nofollow" title="{$currency_name}"> {$currency_name} </a>
to<a href="javascript:setCurrency({$f_currency.id_currency});" rel="nofollow" title="{$currency_name}"> <img src="../../img/l/{$f_currency.id_currency}.jpg" alt="" class="currency_flag" /> <span class="currency_text">{$f_currency.sign}</span> </a>
result
if you do not want the text (iso code) etc, delete the snippets or comment out. i have not tried these changes with countries and same currency etc. use at your own risk.
-
ok - I keep testing
for language block with flag - default theme
modules / blocklanguages / blocklanguages.tpl
changes
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> {$current_iso|escape:'html':'UTF-8'} <span class="caret"></span> </a>
to
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <span><img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16" />{$current_iso|escape:'html':'UTF-8'}</span> <span class="caret"></span> </a>
and this
<a href="{$lang_rewrite_urls.$indice_lang|escape:'html':'UTF-8'}" title="{$language.name|escape:'html':'UTF-8'}" rel="alternate" hreflang="{$language.iso_code|escape:'html':'UTF-8'}"> <span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span> </a>
to<a href="{$link->getLanguageLink($language.id_lang)|escape:'html':'UTF-8'}" title="{$language.name|escape:'html':'UTF-8'}" rel="alternate" hreflang="{$language.iso_code|escape:'html':'UTF-8'}"> <span><img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16" /> {$language.name|regex_replace:"/\s\(.*\)$/":""}</span> </a>
result
i played a little bit with the code for blockcurrency community-theme-default / modules / blockcurrencies / blockcurrencies.tpl
i changed this
{l s='Currency: %s' sprintf=[$current_iso] mod='blockcurrencies'} <span class="caret"></span>
to{l s='Currency: %s' sprintf=[$current_iso] mod='blockcurrencies'} <img src="../../img/l/{$f_currency.id_currency}.jpg" alt="" class="currency_flag" /><span class="caret"></span>
and this
<a href="javascript:setCurrency({$f_currency.id_currency});" rel="nofollow" title="{$currency_name}"> {$currency_name} </a>
to<a href="javascript:setCurrency({$f_currency.id_currency});" rel="nofollow" title="{$currency_name}"> <img src="../../img/l/{$f_currency.id_currency}.jpg" alt="" class="currency_flag" /> <span class="currency_text">{$f_currency.sign}</span> </a>
result
if you do not want the text (iso code) etc, delete the snippets or comment out. i have not tried these changes with countries and same currency etc. application at your own risk.
-
@30knees es sind nicht alle dateien vollständig übersetzt, mußt du mal schauen und ggf anpassen
-
1
-
-
@Traumflug i dont know if this will help - i found the old thread/topic
https://forum.thirtybees.com/topic/1730/csv-image-import-with-1-0-4
-
great thats works now i m not sure - i think since tb 1.0.4
-
I had a similar problem.
After deactivating the "Create high-resolution images" function in the image settings, it worked without any problems.
-
at the moment i have only country flag with full country text for blocklanguage
if you have only country text (it may differ depending on the template or additional module) module blocklanguages/blocklanguages.tpl
find
{$language.name|regex_replace:"/\s.*$/":""}
replace with (example)
<span><img alt="{$language.iso_code}" height="11" span="" src="{$img_lang_dir}{$language.id_lang}.jpg" width="16" /> {$language.name|regex_replace:"/\s.*$/":""}</span>
to
blockcurrency i have no testet - if it is possible
edit: sorry - but maybe it will help anyway
-
under advanced parameters -> csv import you can import somethings - right side, examples for csv-files note separator for fields and multiple values - but you can change set it, before import
-
Can you please post an example - as I understand it now, for me as a buyer, it would be a bit confusing.
-
@Franky i m not sure but i think - do not forget to delete the other old modules (for stats) graphnvd3, gridhtml, pagesnotfound, and sekeywords
-
do not forget to clear the chaches from shop and browser
-
i´m not sure - i changed product.tpl
first lines after
{include file="$tpl_dir./errors.tpl"} {if $errors|@count == 0}
to this
{if !isset($priceDisplayPrecision)} {assign var='priceDisplayPrecision' value=2} {/if} {if !$priceDisplay || $priceDisplay == 2} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, 6)} {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} {elseif $priceDisplay == 1} {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, 6)} {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} {/if}
before
{assign var='product_tabs' value=Configuration::get('STSN_PRODUCT_TABS')} {assign var='show_brand_logo' value=Configuration::get('STSN_SHOW_BRAND_LOGO')} {assign var='discount_percentage' value=Configuration::get('STSN_DISCOUNT_PERCENTAGE')}
-
my product.tpl - product.js is solved
i changed product.js - I have replaced the complete function
function updateDiscountTable(newPrice)
from default theme``` function updateDiscountTable(newPrice) { $('#quantityDiscount').find('tbody tr').each(function() { var type = $(this).data('discount-type'); var discount = $(this).data('discount'); var quantity = $(this).data('discount-quantity'); var discountedPrice; var discountUpTo;
if (type === 'percentage') { discountedPrice = newPrice * (1 - discount / 100); discountUpTo = newPrice * (discount / 100) * quantity; } else if (type === 'amount') { discountedPrice = newPrice - discount; discountUpTo = discount * quantity; } if (displayDiscountPrice != 0 && discountedPrice != 0) { $(this).attr('data-real-discount-value', formatCurrency(discountedPrice * currencyRate, currencyFormat, currencySign, currencyBlank)); $(this).children('td').eq(1).text(formatCurrency(discountedPrice * currencyRate, currencyFormat, currencySign, currencyBlank)); } $(this).children('td').eq(2).text(upToTxt + ' ' + formatCurrency(discountUpTo * currencyRate, currencyFormat, currencySign, currencyBlank));
}); }```
-
I've been looking at the code section in product.tpl for a while now and could not find any differences. Probably the problem lies in a js file. But I do not know what to look for. I exclude the AUEC module, or can this affect it?
-
i installed a new demo shop - i think panda theme is not fully compatible :(
latest version panda 1.4.1 with tb 1.0.3
I'm not sure, but I do not think TB's recent changes are a problem - it's probably a general theme bug
demoshop - looks good and i need a break - good night
-
@vsn - thanks, now i understood your question better
[MODULE-FREE] Stats Individual
in Modules
Posted
I do not know if it's officially allowed for everyone, but I've changed it for myself
I have added a column of VAT, the other columns I have not changed. that is, the revenue of the products plus shipping plus gift packaging have remained the same. Here I see what I have to pay as tax.
picture example - shop with shipping inside and outside the EU -> sales with and without tax
01538778188050statsindividual.zip