• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Alex
  • Private: No
  • Open Date: 25.07.16, 18:10
  • Opened by: Eddie Piazza
  • Closed by: Alex
  • Closed on: 27.01.17, 16:05
  • Reason: Closed
  • Comment: Glad to help!

Ticket #9802 - Special offer countdown 00 : 00 : 00 : NAN - ERROR

Hi, we officially release our site this Friday and we have two problems to solve urgently.
First, when we create an offer on price with limited time, the countdown is not working showing 00 : 00 : 00 : NAN

The second problem is that prices in Isotope product, venedor menu, and categories are not showing the text TAX INC. Once we enter in product is correctly shown.
Now with discounts I imagine the old price is taking the space of text but anyway it´s not showing it even without.

For now the first problem is the most important to solve.

Thank you very much.

Comments

Eddie Piazza 25 Jul 2016, 18:11

I attach a printscreen from www.opengrow.pt/shop

Alex 26 Jul 2016, 17:11

Hi. You are using not the latest Venedor theme
1) Countdown fix https://support.promokit.eu/index.php?do=details&task_id=9532&project=14

2) Everything seems ok with the tax http://prntscr.com/bxrd13
http://prntscr.com/bxrd9b
Did you fix the issue?

Eddie Piazza 26 Jul 2016, 19:57

I try the fix and is not working.
In \modules\pk_themesettings\js\countdown.js there is not

date: "{$product->specificPrice.to|date_format:'%B %e, %Y %H:%M:%S'}",

And About Taxes I am not saying that they are non showed. I mean that there is not the text “TAX INCL” like shown once you enter in product. That makes confusion in front page because all our clients outside Europe needs to understand that they will not pay this taxes once they register.

Alex 27 Jul 2016, 21:13

Countdown. Added fix here modules/pk_isotopesort/pk_isotopesort.tpl and now it’s ok there as well

2) TAXes I will try to add the text tomorrow.

Alex 28 Jul 2016, 21:28

Hi. Check now please TAX text http://prntscr.com/byr759
Is it ok for you?

1) Added the code to the file /modules/pk_isotopesort/pk_isotopesort.tpl

  <span class="taxpk">{if $priceDisplay == 1}  {l s='tax excl.' mod='pk_isotopesort'}{else} {l s='tax incl.' mod='pk_isotopesort'}{/if}</span>

http://prntscr.com/byr52m

2) file /themes/venedor/product-list.tpl
in 2 places of the file before

<meta itemprop="priceCurrency" content="{$priceDisplay}" />

added the code

<span class="taxpk">{if $priceDisplay == 1}  {l s='tax excl.'}{else} {l s='tax incl.'}{/if}</span>

3)
and code to the CustomCSS

/* Isotope tax text */ 
.taxpk {
    height: 4px;
    line-height: 2px;
    display: block;
    font-size: 13px;
}

and now it seems ok.

Eddie Piazza 29 Jul 2016, 13:19

Excellent! do you think if I take the shortcode that shows the text of taxes that already exists in Products, is possible to show the text in multiple languages?
-Because by your code it shows for all languages “tax inc.” but by the other side is possible to show it in spanish also “IVA Inc.” depending on site language

Now Position of contdown on categories is peftect.

Thank you very much. In 5 hours we open the site !!

Alex 29 Jul 2016, 15:52

In Category page search in the Localization>Translation>Front office this text
For Isotope module in the Localization>Translation>Installed modules>Our theme, your language > Isotopesort
;)

In 5 hours we open the site !! We wish you good luck and excellent sells! THANKYOU