Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 01-25-2017 11:50:58

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Volume Price Format

Can you confirm how volume prices should be formated in K9. The importer bought in the CCP8 format like "1-4:9.96;5-10:8.47;11:7.97" but we are getting an unwanted comma in the output "Buy 5,-10:". The price breaks either side of it are fine though.


Simon

Offline

 

#2 01-25-2017 15:44:56

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Volume Price Format

That's odd.  Are you sure you don't have a space in there you're not seeing or something of that nature?  The format didn't change and what you posted should work.


Nick Hendler

Offline

 

#3 01-27-2017 01:28:55

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: Volume Price Format

I copied the volume pricing example shown in the post above directly from the managment interface. It was fine in ccp8 and the importer bought the data over to K9.


Simon

Offline

 

#4 01-27-2017 08:28:27

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Volume Price Format

So is it displaying properly, or not?  Do you have VAT displays on?  Do you have the short VAT display enabled?  If it's not displaying properly you may be using a combination of options that's fooling with the parser (a combo that wasn't tested).  Please advise.  Thank you.


Nick Hendler

Offline

 

#5 01-27-2017 10:33:16

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: Volume Price Format

An example of the HTML is

<span class="kpricelabelfix">Buy 14,-34:</span>
<span class="kpricepay">£9.31 Inc Each</span>

I do not understand what the "short VAT display" is or where to find it. Most setting were configured by the importer from ccp8.

I can tell you that     Tax Class*    Tax State/Prov*    Tax Country* are all set to Standard Rate

Last edited by sdn (01-27-2017 10:36:55)


Simon

Offline

 

#6 01-30-2017 07:05:58

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Volume Price Format

Under Store / Component / Settings / General Store Settings, how do you have 'Offer Pricing Display: Hide European Union VAT Info' set?  Also, under System / Component / Settings / Tax Settings, what is 'Country Tax: European Union VAT Rules - Display Tax' set to?


Nick Hendler

Offline

 

#7 01-31-2017 09:16:49

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: Volume Price Format

'Offer Pricing Display: Hide European Union VAT Info' set to FALSE.

'Country Tax: European Union VAT Rules - Display Tax' is set to display BOTH prices.

I think I have found the condition that creates the problem.

If the number after the minus (-) sign is greater than 9 the problem appears.

So 1-3:31.63;4-8:26.89;9:25.30 is fine

1-7:14.96;8-17:12.72;18:11.97 is not and displays one comma, 'Buy 8,-17'


Simon

Offline

 

#8 01-31-2017 09:23:59

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Volume Price Format

Thank you.  I am currently working on 9.0.2 and getting ready to publish it and I will address this there.


Nick Hendler

Offline

 

#9 02-01-2017 17:26:25

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Volume Price Format

Update 9.0.2 is likely going to publish tomorrow.  It contains a change for this item.  The specific change is detailed below:

File: {private}/apps/ecom/ECOM/includes/pricedisp.php
Line: 370

Current version:

Code:

$volprice['quantity'] = $CORE_App->number_commify($volprice['quantity']);

9.0.2 version:

Code:

if (!(preg_match('/\-/',$volprice['quantity']))) {$volprice['quantity'] = $CORE_App->number_commify($volprice['quantity']);}

Nick Hendler

Offline

 

#10 02-03-2017 09:18:26

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: Volume Price Format

Thanks. How does the updater decide which files to update? If a php file has been modified by us will it be overwritten?

We are close to going live with K9. That will be about 2-3 week from installation so not too bad. Most of that time was spent working on about 3,000 images.


Simon

Offline

 

#11 02-03-2017 10:21:38

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Volume Price Format

The installer updates files which were updated on the central server (new and changed files, sometimes deleted files).  Only files that changed on our side release-to-release.  That means if you modded a file and we updated it, it will be overwritten.  If you modded a file that wasn't updated, it will be left alone.  You can review all modified files in our update messages by checking the 'Filesystem Changes in This Update' section on any update new page.  For example:

https://central.kryptronic.com/public/n … PT901.html


Nick Hendler

Offline

 

Board footer