Jump to content

Recommended Posts

10 hours ago, fridgebox said:

how do i know what is the:
"Original Encoded Data" (Highlighted in green).

I do get your point, but it's outside the scope of the storage of the Data... 🤷‍♂️


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites
Posted (edited)

@BrockleyJohn i think that is kinda what i said.
@burt especialy not. the GTIN-14 contains "most likely" the kind of package used. ( same site you pointed out https://www.gtin.info/itf-14-barcodes/)

Real use case:

Imagine my laptop broken or my fridge.
For it i require a replacement part ( sometimes these numbers are ven inside the manual or on the part itself)
Now i wanna find on the internet the cheapest replacement part.
What number i should lookup?
The one on the part, right?
If use on the webshop a GTIN-14 , it is totally useless in this case.

You product will never be listed on the search engine.

But i made my point in what i tried to say for now.

Edited by fridgebox

- ICECAT specialist.
(Icecat: open feed with product information, data-sheets for oscommerce.)
- CSV IMPORT specialist.
(manage your suppliers via supplier manager)
Contact me via PM.

Share this post


Link to post
Share on other sites
2 hours ago, BrockleyJohn said:

If you are having trouble with the zero-padding of the data in osc you can just use string manipulation in your sql to cut it back to the required length, or use a numerical comparison.

This is the point i was refering to @BrockleyJohn as it is impossible to figure out if must cut 1 zero or 2 zero's to figure out it is a GTIN-13 a GTIN-12 or a GTIN-8 inside this GTIN-14.

Sigh.... now i really have to stop.


- ICECAT specialist.
(Icecat: open feed with product information, data-sheets for oscommerce.)
- CSV IMPORT specialist.
(manage your suppliers via supplier manager)
Contact me via PM.

Share this post


Link to post
Share on other sites

I'll try one more time...taking your pallet example;

  • You buy a pallet of laptops. 
    The pallets identifier is 12345678901234
    This means *nothing* to hardly anyone. 
    Who cares about it other than you...the next time you want to buy another pallet.
  • Each Laptop inside has an identifier
    0987654321123

In your shop you would sell individual laptops at 199.99 each, and in the GTIN input field you would insert:  0987654321123

That would allow your branded laptops to be sold on Google Shopping by you.

Does that make it more clear?  

I understand that you are struggling to come up with code to plug into a suppliers CSV, but that's outside the scope of oscommerce.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites
28 minutes ago, fridgebox said:

Real use case:

Imagine my laptop broken or my fridge.
For it i require a replacement part ( sometimes these numbers are ven inside the manual or on the part itself)
Now i wanna find on the internet the cheapest replacement part.
What number i should lookup?
The one on the part, right?
If use on the webshop a GTIN-14 , it is totally useless in this case.

Above example has nothing to do with sell on google shopping.
of course it is clear, but you even provide wrong data to google for your item.

Please take a look here: as THAT is GTIN-14 does https://www.gtin.info/itf-14-barcodes/
I repeat one more time ... by putting 

 

4 minutes ago, burt said:
  • Each Laptop inside has an identifier
    0987654321123

In your shop you would sell individual laptops at 199.99 each, and in the GTIN input field you would insert:  0987654321123

You insert a GTIN-13 in the field and ad a 0.
Now look in the above link the image as example the representation "GS1 Company Prefix"
It contain even two 0's.
There is no way to figure out what is the EXACT GTIN-12, GTIN-13 or GTIN-8 or even any other reference the ITEM.
The GTIN-14 is used for BATCHES of the same item.

It is not me who has it wrong.
In this case the adding of 0's in-front is obsolete. The information on gtin info website is misunderstood.

But i really now want to rest this case.


- ICECAT specialist.
(Icecat: open feed with product information, data-sheets for oscommerce.)
- CSV IMPORT specialist.
(manage your suppliers via supplier manager)
Contact me via PM.

Share this post


Link to post
Share on other sites
Posted (edited)

It believe it is you who is misunderstanding the concept.  The GTIN site clearly states that storage of GTIN *must* be 14 digits.

That you can't code a script to read that, is on you.  I found a nice class at phpclasses which you'll find useful. https://www.phpclasses.org/package/8560-PHP-Detect-type-and-check-EAN-and-UPC-barcodes.html

 

Edited by burt

This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

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

×