Add read more to access product Descriptions

On our e-commerce site, our products have almost always long, 400 + product word descriptions, as you can imagine, this can become incredibly long.

So I was expecting a function read more, I can apply to the description, I understand there is one for blog posts, but I can't understand product descriptions.

You can see an example here.

Thank you.

Hi Liam,

You can also try this liquid approach, which first previews of in the the first 60 words in the description:

Go to the product great layout and replace this:

{{description}}

with this:

{{description | truncatewords: "60"}} Read more

and add this js at the end to make the power:

$('.short-description a.read_more').click(function(event){
event.preventDefault();
$('.short-description').hide();
$('.description').show();
});

Tags: Business Catalyst

Similar Questions

  • Crop the text of the XML... (how to add a read more link)

    I'm stuck... I want to have a read more link after 30 word in each paragraph of loading the xml file... Any help?

    I don't know even how to start with her... I have 5 video clips with instance name mc1, mc2, mc3, mc4 mc5. When I turn they load the content of the XML in the toolTipMC.

    Code: -.


    var x: XML = new XML();

    x.ignoreWhite = true;

    images of the var: Array = new Array();
    var titles: Array = new Array();
    Details of the var: Array = new Array();
    var urls:Array = new Array();

    x.onLoad = {function (success)}
    var locs:Array = this.firstChild.childNodes;
    for (j = 0; j < locs.length; j ++) {}
    images ["MC" +(j+1)] is locs [j].attributes.image;.
    titles ["MC" +(j+1)] = locs [j].attributes.title;
    Details ["MC" +(j+1)] = locs [j].attributes.detail;
    URLs ["MC" +(j+1)] = locs [j].attributes.url;

    }

    }

    x.Load ("Data.xml");


    myBtn.onRollOver = function() {}


    toolTipMC.img.imgHolder.loadMovie (images [this._name]);
    toolTipMC.tip.text = title [this ._name;]
    toolTipMC.detail.text = details [this ._name];

    };

    really, I don't think you should use that but, the following returns a substring which includes 29 spaces and about 30 "words":

    function textto29F(s:String):String {}

    var spaceNum:Number = 0;

    for (var i = 0; i)<>

    If (s.charAt (i) is"" ") {}

    spaceNum ++;

    {if(spaceNum==30)}

    Return s.substr(0,i);

    }

    }

    }

    s contains less than 29 places

    return s;

    }

  • Using a Mac OSX updated 10.9.5, to update to the latest update of Lightroom, now get error - Lightroom met permission issues. Click on fix - cannot fix. You click on read more and I tried all the solutions. Always error. Uninstalled and reinstalled - alwa

    Using a Mac OSX updated 10.9.5, to update to the latest update of Lightroom, now get error - Lightroom met permission issues. Click on fix - cannot fix. You click on read more and I tried all the solutions. Always error. Uninstalled and reinstalled - always error.  Cannot set up a new admin on Gov't computer user. Help

    Please make sure that you gave permission for the folders listed in the article, follow these steps.

    1 - give read and write permissions for the Application Support folder and preferably on User Library and the secret library.

    2 - Add user and admin both permissions.

    When you open the Get Info option for specific folder.

    Make sure you click on '+' symbol, it will open the list of user accounts. Add currently logged in user account and Director of user account, if it is not added.

    Both must have read and write to prevent access these some questions in the future.

    Important:

    Once you added as currently logged on user account and administrator user accounts and provided access for reading and writing.

    Make sure you click on the gear icon and select apply to closed.

    Lock dialog box and close the Get Info .

    So that all the folders in the folder Adobe will get read and write access.

    Let us know if this helps

    ~ Assani

  • Dividing the blog posts automatically with a function 'read more '?

    In our company the Business Catalyst blog will be used by several users, most of them without any HTML knowledge. At present the full blog is being shown on the first page of the blog, but I want to split the posts and have a feature «Read more»

    I know it's possible wie the {tag_blogpostbodypreview}, but I can't seem to find an easy way to do it. I really have insert tags < p > < /p > where I want the content to start and finish? I know bad will it come when users without knowledge start blogging.

    Is there an easier way to say BC to divide the positions? Maybe after a certain number of words or characters? Or better yet, simply by inserting a tag any where I want the function 'Read more' to come in place? (in case I want it after a photo or a video)

    Notice that you can easily add a button image instead of the text "Read more" by adding the img src = "" HTML inside the "blogpostbody" tag. "

    British Colombia, open view develop and access the Blog--> postlist

    For example, you can add this code directly in the tag:

    {tag_blogpostbody, 400,
    {http://nsa33.casimages.com/img/2015/03/11//150311020843942706.jpg"align ="right">}
  • Read more the error .flx

    Hi all, I am new to Motion Control, and I'm not being able to read the following in a movement system error message using the ' read more .flx of error ' in LabView.

    Could someone give me some advice please? In max, I see that it is possible and reading the error message to display in a chart. I need to use the following error value to other operations.

    Thanks in advance

    Edo

    Edo,

    There are several problems with your vi:

    1. Your vi generates an integrated program and you start the while loop, which should probably move on the host, in parallel with the function of memorization of the program ends. It the result is a race condition and you cannot say, if some work of the while loop calls stored in the program on board or not. It's probably the cause of your problem.
    2. All in loopruns without synchronization. This translates into 100% load CPU host and communication very high loadfor processor shipped. Yo ushould add a calendar in the range of 20 to 100 ms.
    3. The example you used just illustrates the use of on-board programming, but from the point of view of the embedded programming application is unnecessary at all. The same feature works very well in a host program. This is a quote from another thread, but it is also a good fit for this one:

      "Could you please explain what you are trying to accomplish with your program onboard? In general there are only very few applications that really require embedded programs. Programs on board only work not significantly faster host programs and they also don't run with better determinism, as they are performed in a low-priority task on the 68331 to the Board of Directors.

      A typical usecase for an integrated program prevents a gesture, if forces become too high by monitoring an entry, but they ar analog rarly used to complete implementation move sequences, as there is almost no real advantage for tasks like this. »

    I hope this helps,

    Jochen

  • The product description on the approvals pending email

    I am trying to add the product description of the requested item to the model of message that is sent to the approver of the User Manager/machine. Does anyone have any ideas on how to do that? Currently, the e-mail template is associated with the PWOHelperPWO table and calls the script VI_ITShopOrderDetail.

    Hello

    to add the description of the product to the e-mail template, you must add the text depending on where you want the description appear in the mail:

    $FK (UID_PersonWantsOrg). FK (UID_Org). FK (UID_AccProduct). Description$

    You must copy the original mail template "Request for the IT Shop - permission" If you don't have it already.

  • Read more button

    Dear Adobe Community:


    Recently, I downloaded a trial version of Adobe Contribute and wait to buy a full version soon. I'm new ABOUT US page of our Web site, which includes our biographies used. Currently, our bios are all listed on one page in full text. Rather than make a roll of customer down throughout the complete biography of each person, I want to add a function 'Read more' or a bio of each individual button. How can I implement this feature with Adobe Contribute?

    Thank you for your help.

    Maybe it's a little bit beyond what Contribute can do on its own. He's going to need a mix of HTML, CSS and jQuery.

    JQuery - Hide and Show effects

  • After a second, a number of categories disappear from the website and I can't read more?

    1. Question

    After a second, a number of categories disappear from the website and I can't read more?
    For instantance that I am looking for a telefoonnumber, I became the address and number once a second number disappears

    If you have installed Skype extension disable it.

  • Read more data 1 byte of visa

    Hi, when I use VISA to read more data of 1 byte, only the first table got the data, but I want to separate data from 40-bit to 5 tables. Does someone know how to separate data in the tables? Thank you for the reply!

    Your problem is the ASCII conversion attempt.  As I said before, you have raw binary data.  Therefore do not touch anything that deals with ASCII.  All you have to do is take your byte array and convert each element in an array of Booleans.

  • Difficulties to get its entry set up and its entry to read more than 2 channels

    I need a multichannel audio for my project. I can't read more than 2 channels of my audio interface.

    The interface Im using is a mixer Alesis Multimix8 USB 2 and audio interface. It supports 10 channels and 2 outputs. With other software, I can read that all the channels simultaneously, without any difficulty of entry. When I specify the audio set up and read of input sound, to read more than 2 channels of any extra channel is a white signal. I'm using Labview 8.5 here.

    Have a look here

    http://forums.NI.com/T5/LabVIEW/play-waveform-express-VI-list-devices-on-front-panel/TD-p/1559336

  • WRT310Nv2 I need to add a point of access that are compatible?

    I have a very weak signal, where my PC is against my wireless router, so I want to add as a Repeater access point, but I can't find a compatible list. I ran into a problem, try to add a Repeater or AP to a previous linksys wireless router and it would talk only with the exact same router, so I want to check before you buy something.

    Thank you!

    You can go with WRE54G Range Expander or WAP200E, repeating the signal router WRT310N Wireless Access Point.

  • Should I buy more than one product key to create a multiboot system?

    Do I need to buy more than one product key to create a multiboot system? !

    Unfortunately, yes do you.

  • Combine word files: Word needs more security-access to each file? I have to find and report each file...

    I use MacBook Pro mid 2012, latest OSX and Word 2016, 15.24, cloud of Document Adobe version 2015:010:20056

    Architecture: x86_64

    Build: 15.10.20056.167417

    AGA: 4.30.61

    CoolType: 5.14.5

    JP2K: 1.2.2.35592

    I'm trying to combine files, dragged two files word to combine-window, hit button combine and acrobats starting word to pdf conversion... but every time process stops due to the need to Word more than access to the files... I have to select each file again from the server to the conversion process... will this security? check for each document means a lot of extra work.

    Especially since I've made a few changes in the settings - the path of the server and the research should be trusted in the earlier version, it was possible to drag wordfiles to combine-window, hitting a button combines and conversion started in automatic.

    Since I combine the files several times a day, it's really annoying... How can I get rid of document access-windows in secure servers? I already tried to define the servers/search path as "Approved" in DC

    / Nils

    Hi Nils,

    It seems that this may be the known problem of Microsoft Office: grant access File: cannot open the document: user - Microsoft Community

    Have you checked with Microsoft on this issue?

    Kind regards

    Tariq Dar.

  • Social sharing - that I can change the wording of "read more"?

    Is it possible to change the wording of "read more"? See screen capture below. If so, how can I change?

    IMG_1926.PNG

    It is not possible to change the text "read more" at the moment. Under the roadmap, we evaluate several areas of customization, including the ability to change/customize the user interface text.

    Kristy

  • How to create a link read more to post blog?

    I can view the publication list using {module_blogsitesummary}, {module_blogposlist} and using a liquid like this:

    {"< p > {module_data resources ="blogposts' version = "v3" field = "blogId, postTitle, postBody, activated, slug" skip = "0" limit = "50" where="\{'blog.id':'20756'\}" order = 'postTitle' collection = "myData"}

    {% for article on myData.items-%} < /p >

    < h3 > {{item.postTitle}} < / h3 >

    {{item.postBody}} < /p > < p >

    < p > {endfor %} < /p >}

    But I Don t know how to combine this solution to create a link read more to a post. In this example, when I use a {{url}} output, the same link to the current page will link.

    Flavio Manarelli

    Hello

    You must include the postUrl in the fields for module_data and item.postUrl to make the url:

    Blogposts | Business catalyst support

Maybe you are looking for

  • printer

    How to set default application all in black and white? like Microsoft word, excel and etc. Setting the value in black and white, but when I go to print the Web page of the printer is currently color. any solution for me. Thank you

  • How to contact Toshiba's customer service?

    Hi friends I have Toshiba laptop installed Windows XP SP2. I have problem with RV HOST.exe. It comes when I start my laptop. Virus scan shows no virus detected. I had posted here problem with him on 25 January with subtitle RVHOST.exe how remove it.

  • Share a private server and Public Netwok SRV 2008 R2

    I have two separate networks I need to share a single server, with Public (192,...) and private (10...) East of private and Public is local internet circuit behind a firewall. I need two networks to see the server (which has two network cards both wi

  • Update and version of info-eye

    First of all, AVG (it comes with the phone by default) reports information-eye is spyware.  Then, I followed recommendation AVG and uninstalled Info-eye by moy. I tried different anti-virus / security app... pretty sure Info-eye is not spyware.  Now,

  • I need to use the standard to a legal document Courier font, but it is not in my list of fonts

    I have Vista and had to use the Standard Courier, not courier new font, but the standard is not in my options.  How can I do this quickly for a legal document?