E-commerce product catalog not displaying newly created Pimcore data object

The Problem

I made a new data object class in Pimcore called Item. I set it up to use \App\Model\Product\AbstractProduct as the parent PHP class. Then I made a new data object based on this Item class.

But when I look at the online store, my new product doesn’t show up. There’s no error message or anything. It’s just not there.

What I Tried

I thought maybe the index needed updating. So I ran this command:

php bin/console ecommerce:indexservice:bootstrap --update-index

It seemed to work fine, but my product still isn’t showing up in the store.

Does anyone know what might be causing this? Is there something else I need to do to make new products visible in the Pimcore e-commerce system?

Thanks for any help!

hey, have u checked ur product filtering? sometimes new items get caught in weird filters. also, double-check ur product visibility settings - maybe its set to hidden by default? if none of that works, try clearin ur browser cache. that fixed a similar issue for me once. good luck!

I’ve encountered a similar issue before. It’s worth checking if your new ‘Item’ class is properly integrated with the e-commerce framework. Make sure you’ve implemented all necessary interfaces and methods from AbstractProduct.

Also, verify that your product is published and active in the backend. Sometimes, newly created objects are saved as unpublished drafts.

If those checks don’t resolve the issue, you might want to inspect your product listing query to ensure it’s not accidentally filtering out your new item type.

Lastly, clear your cache and warm it up again:

php bin/console cache:clear
php bin/console cache:warmup

This often resolves visibility issues with new data objects. If the problem persists, you may need to dig deeper into your custom implementation or consult Pimcore’s documentation for any missed steps in the e-commerce setup process.

Hey there! :slightly_smiling_face: I’m curious, have you checked if your new Item class is showing up correctly in the admin panel? Sometimes the issue isn’t with the e-commerce side, but with how Pimcore is handling the new object type.

Also, I wonder if there might be any custom hooks or events in your setup that could be interfering with new product visibility? :thinking: It’s happened to me before where a well-meaning piece of code was accidentally filtering out new stuff.

Oh, and just a thought - have you tried creating a test product using one of the existing, working product types? That might help narrow down if it’s a problem with the new Item class specifically or something broader.

Let us know what you find out! It’s always interesting to see how these things get resolved. :blush: