Closed (duplicate)
Project:
Commerce Kickstart
Version:
7.x-2.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
25 Oct 2012 at 10:53 UTC
Updated:
21 Jan 2015 at 03:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jsacksick commentedComment #2
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 commentedMerged.
Comment #5
vaccinemedia commentedI too am having an issue - the read more link is not appearing on my own product types. See attachment.
Comment #6
vaccinemedia commentedComment #7
vaccinemedia commentedComment #8
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 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 commentedDuplicated of #1803732: Missing wrapper for fields
Comment #11
ThomasIsabelle commentedThank you, Martin_S! That worked very easily. Seems like a hack job, but it works. :-)
Comment #12
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 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 commentedis there a way to make this happen on commerce without kickstart?
realy like the option and want to use it on my project