Product Reference Not working
I have been adding products to my store this morning everything has been going fine, but now all of a sudden the product reference field in my product display doesn't work. After I add a new product which shows up under my products, then I go to my product display and type in either the product or the sku but the reference field doesn't recognize the product. When I go into the product page to delete the product and enter it again I get this error message? Can anyone help me fix this?
Notice: Undefined index: type in theme() (line 905 of /home/folder/public_html/includes/theme.inc).
Notice: Undefined index: template in theme() (line 933 of /home/folder/public_html/includes/theme.inc).
Warning: include(/home/folder/public_html/.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1247 of /home/folder/public_html/includes/theme.inc).
Warning: include() [function.include]: Failed opening '/home/folder/public_html/.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in theme_render_template() (line 1247 of /home/folder/public_html/includes/theme.inc).
Comments
Additional Information
This is how everything is set up. I have my product types:
Olive Oils
Cakes
Cookies
Rugulach
Biscotti
Specialty Items
Gifts
Specialty Items and Gifts is causing the issue. I can add a product to the other types and it works fine. Add it to Specialty Items or Gifts and it doesn't reference the product, even though the product is showing in the products and in the database. Still trying to solve this.
subdomain
This site is also set up as a subdomain of website.com as store.website.com and in sites/store.website.com folder
Error Gone but Product Reference still......
Replaced Display Suite back to Dev version and Ctools back to dev version which fixed the error messages but the product reference filled in product display is still not working.
Can anyone help?
So I have tried a lot of things. Change the Product Reference view to Select list and product is listed in the reference field, but selecting it and trying to save it produces this error.
Product Reference: you have specified an invalid product for this reference field.
Yet the product still shows up in the products and in the list of product references. I have install Commerce dev now too.
Fixed
Fixed
How did you fixed this?
How did you fixed this?
Fix
Go into your product display and manage fields. Click on edit. Make sure the "Product types that can be referenced" is selected for that product type. That should fix it if it's not select. If that doesn't work change your product reference to "Select List" instead of auto completion to verify that the product is being referenced in the list. But the first suggestion should work.
Let me know if that doesn't fix it.