Jump to content

[SOLVED] Can't add attributes


HarmPresta

Recommended Posts

Hello,

I made new attributes for my products, but they don't show up when I want to choose them in combinations.
I don't know how to fix this issue, maybe somebody knows it. Cleared cache, tried another browser.

-edit When I add a new color it doesn't appear in the color tab.

 

Schermafbeelding 2018-07-26 om 12.05.01.png

Schermafbeelding 2018-07-26 om 12.05.21.png

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

I found the problem...


open in /src/PrestaShopBundle/Controller/Admin/ProductController.php 
$attributeGroups = $this
->getDoctrine()
->getManager()
->getRepository('PrestaShopBundle:Attribute')
->findByLangAndShop(1, 1);

set in FindByLangAndShop(you language id, you shop id)

I had a new language installed, with ID 4, changed ->findByLangAndShop(1, 1); to ->findByLangAndShop(4, 1); and all works fine now.

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...