It would be great to add support for module Panelizer.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

david.pashaev created an issue. See original summary.

davps’s picture

Assigned: davps » Unassigned
Status: Active » Needs review
FileSize
4.6 KB
13.12 KB

Case:

This allows to attach panels and any data to product or product variation page.
In our case, product page (in view mode "Full") builds via panelizer and we store on page different information, for example:

  • Product entity
  • Specific product variations
  • Custom blocks
  • and other

Requirements:

  1. General:
    • Enabled module Panelizer
  2. Product variation:

Available for product and product variation

davps’s picture

casaran’s picture

Status: Needs review » Reviewed & tested by the community

This patch has been tested on one of our sites and it is working fine.

Thank you @david.pashaev!

mglaman’s picture

Assigned: Unassigned » mglaman

I'm on a project in which we're using Panelizer, and was going to investigate this. Thanks for the patch, I will review.

However, per #2 you're saying #2865249: Product variation with canonical links is required? It's definitely a won't fix.

davps’s picture

However, per #2 you're saying #2865249: Product variation with canonical links is required? It's definitely a won't fix.

@mglaman this patch needs only for product variations and for IPE mode (In-Place Editor).

Panelizer fully supports the IPE (In Place Editor) meaning that panelized nodes can enable the alternative directly editable panel

But I'm not sure in stability of the Panelizer (with IPE) for product variations without canonical links. IPE can't properly work with 'v' (any) arguments in url.

mglaman’s picture

Is there still the admin way to edit the Panelizer? I'd assume that's how product variations would be managed. And, variations should really only be rendered in a view that links to the product. Either way, if we start with just Product we can follow up with variations.

mglaman’s picture

Status: Reviewed & tested by the community » Fixed

david.pashaev, sorry I forgot about this issue. In #2915274: Add PanelizerEntity plugin to support Panelizer integration for products we committed a Panelizer plugin for products that keep field injection working. That was also something missing here. The next step is to expose injected fields as blocks.

Closing as fixed so you get issue credit.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pyxio’s picture

I do not believe panelizer for product plays well with variations and attributes. please correct me if i am wrong ... but product variation items such as price field are not available for manipulation. in the panelizer UI