Page 1 of 1

Incorporate product description into bootstrap?

Posted: Mon Jul 07, 2025 3:50 am
by hannaconner
I have the gut feeling I am over complicating things. I think I have finally gotten the hang of boot strap’s grid and sizing. But I cannot seem to incorporate the product description into the bootstrapped layout.

I may be using incorrect terms, so please allow me to perhaps better explain. The Attributes, Buy Button, and Gallery are all working wonderfully and play nice together. But the Product Name, Price, and Description always display before or after the bootstrapped sections (Attributes, Buy Button, and Gallery). I was trying to get the description to display in the same section as the attributes (B in this instance).

I suspect that this may be because the Product Name, Price, and Description are not set up the same way as the Attributes, buy button, and gallery?

Re: Incorporate product description into bootstrap?

Posted: Mon Jul 07, 2025 4:21 am
by heatherbell
hannaconner wrote: Mon Jul 07, 2025 3:50 am I suspect that this may be because the Product Name, Price, and Description are not set up the same way as the Attributes, buy button, and gallery?
That's right.
If you look at the Modules menu in your Admin and click Content, you'll see that Name, Price and Description are there, meaning they are 'Content' modules. You'll also see a π Modular product_info module there.
Then if you look at the Modules menu in your Admin and click Layout, you'll see Attributes, Buy Button, and Gallery are there, meaning they are 'Layout' modules. Layout modules are children of the parent π Modular product_info module, meaning they display within that parent.
If you want Description to display within π Modular product_info, that module would need to be recoded to be a Layout (also known as a 'PI') module.