Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have Commerce kickstart 7.x-2.0-rc2 installation without demo store. I can't get "read more" -links visible.
Is it gonfiguration problem or is it in template or css?
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2013-02-19 at 18.35.17.png | 50.18 KB | vaccinemedia |
Comments
Comment #1
jsacksick CreditAttribution: jsacksick commentedComment #2
Cookiz CreditAttribution: Cookiz commentedFixed in : https://code.drupalcommerce.org/496
The classes identifying the body in order to apply the read more button was too specific for commerce kicstart with full demo.
Comment #3
bojanz CreditAttribution: bojanz commentedMerged.
Comment #5
vaccinemedia CreditAttribution: vaccinemedia commentedI too am having an issue - the read more link is not appearing on my own product types. See attachment.
Comment #6
vaccinemedia CreditAttribution: vaccinemedia commentedComment #7
vaccinemedia CreditAttribution: vaccinemedia commentedComment #8
vaccinemedia CreditAttribution: vaccinemedia commentedIt's to do with the fences module removing the wrapper divs with classes "field-items" and "field-item" on NEW content types and not affecting ones which come with the demo installation. http://drupal.org/node/1803732
I fixed the issue by removing the field-item selector from the jquery function in /profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_product_ui/commerce_kickstart_product_ui.js
Comment #9
martin74 CreditAttribution: martin74 commentedfixed using vaccinemedia 's method
/profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_product_ui/commerce_kickstart_product_ui.js
Line 19
Change :
$('.node-product-type .field-name-body .field-item').expander({
To
$('.node-product-type .field-name-body').expander({
Comment #10
jsacksick CreditAttribution: jsacksick commentedDuplicated of #1803732: Missing wrapper for fields
Comment #11
ThomasIsabelle CreditAttribution: ThomasIsabelle commentedThank you, Martin_S! That worked very easily. Seems like a hack job, but it works. :-)
Comment #12
jacqueschoquette CreditAttribution: jacqueschoquette commentedI am having the opposite problem how the heck do I remove the read more links and just display all content?
Comment #13
Poieo CreditAttribution: Poieo commented@jacqueschoquette - If you edit the body field on your product display content type and change the wrapper markup to 'no markup', the read more feature will go away.
+1 for a setting in the UI that disables this. It assumes too much.
Comment #14
Staler75 CreditAttribution: Staler75 commentedis there a way to make this happen on commerce without kickstart?
realy like the option and want to use it on my project