As it appears to me I cannot manage the appearence of the Price + Add to Cart Link in the node display settings.

Hiding the Price it does not have any effect.

I would like to habe the option wheather each node is a product at all. I have a node type 'material' and from 100 you can only order 5.

CommentFileSizeAuthor
#4 hook_field_extra_fields-1872170-4.patch835 bytesdeciphered

Comments

funkytraffic’s picture

Anybody?

p.selfin’s picture

Subsribe to

alex dicianu’s picture

In the new version, both the price field and add to cart link will be fields. This would allow a better integration with the node's display settings, display suite, views, etc.

As for the second question, I don't think this would be possible in the near future. You either have products or not. You might want to reconsider your content types if some nodes are products and some aren't

deciphered’s picture

Issue summary: View changes
StatusFileSize
new835 bytes

Clearly the module is heavily in development as HEAD is drastically different to rc1.

Regardless, I did roll a patch that implements hook_field_extra_fields() which exposes pseduo fields to the Node display form.

The patch is rolled from RC1, but is obviously not going to apply to HEAD anymore. Not going to mark as 'Needs review', because it's never going to be committed, but may be of use to other wanting this functionality now.

jenlampton’s picture

@Deciphered thanks so much, this is exactly what I was working on. Glad I found this issue first :)

norman.lol’s picture

Status: Active » Closed (outdated)

Thank you everyone for taking the time to report and discuss this issue. 🙇🏻‍♂️

As the Drupal 7 versions of this module are no longer supported, I’ll be closing this issue. 🔚

Huge thanks and credit to everyone who contributed in any way. ✨

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.