Jump to content

Show EAN13 and UPC on products with combinations


Endre

Recommended Posts

Hi,

I got help to add EAN13 and UPC code to the product page, but when I now add new combinations, they won't change in front end.

Have a look at this page:

http://www.pangtilbud.no/brannstiger/239-test.html

 

With the two first combinations, the "strekkode" (EAN13) and "NOBB" (UPC) change as expected, but for the rest of the combinations only the reference number changes.

 

The combinations that aren't showing are the ones added recently in the back office, after the code for showing these numbers on the product info page were added, the others are combinations added after.

 

Does anyone have a suggestion as to how this has happened, and how to rectify this?

 

Will be rewarded ;-)

 

Cheers

Endre

Link to comment
Share on other sites

Hi, musicmaster.

Thanks for the sugestion.

The attribute values are indeed present in the database table.

I have cleaned Prestashop cache and the browser cache, but it doesn't help.

How do I empty server cache?

 

I have checked every database table where attributes are found, and the values are present in the tables.

 

I really don't understand why the older combinations are ok, but not the new ones.

If it would help, you can get access to mysql, ftp and back office.

 

Cheers

Endre

Link to comment
Share on other sites

  • 2 years later...

hi Endre, I followed your step to show the upc or ean13 on each product combination but it doesn't apply.

Variables are undefined and I don't understand why. Could you help me, please?

selectedCombination['ean13']

undefined

selectedCombination['upc']

undefined

the shop is https://mieldemelque.com/tienda/es/miel/14-miel-cruda-de-tomillo.html#/29-formato-290_gr_

thanks in advance, Maria

Edited by meryy84 (see edit history)
Link to comment
Share on other sites

19 hours ago, meryy84 said:

hi Endre, I followed your step to show the upc or ean13 on each product combination but it doesn't apply.

Variables are undefined and I don't understand why. Could you help me, please?

selectedCombination['ean13']

undefined

selectedCombination['upc']

undefined

the shop is https://mieldemelque.com/tienda/es/miel/14-miel-cruda-de-tomillo.html#/29-formato-290_gr_

thanks in advance, Maria

Hi, Maria.

Did you follow the instructions in this topic?

https://www.prestashop.com/forums/topic/465205-ean13-and-upc-with-combinations-on-product-page/?tab=comments#comment-2153552

Here you can also find the files that need to be edited. It's for PS 1.6.1.1

Link to comment
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
×
×
  • Create New...