truncated product descriptions
-
I have tried many settings but am unable to remove html or limit characters. Help please.
-
You could use the “edit values” option at the right of the “description” attribute. That option has a “strip tags” setting and that should remove all html characters from the description.
Let me know if that solved the issue.
I got so excited with your reply, but I tried “Strip Tags” and not work for me. I also tried “limit Char”. Can you remove items from the Feed?
Ok, two things:
1. Just to be sure, it often happens that after? updating the feed data, your browser still shows you an “old” (cached) version of the feed. Could you open the feed again and refresh the browser using CNTRL-F5 to clear the cache? Just to make sure the feed is actually still showing the issue.
2. Could you send me a raw description example that includes the html or limit characters you want to remove?
This XML file does not appear to have any style information associated with it. The document tree is shown below.
[Large code excerpt removed by moderator per forum guidelines. Please use Pastebin or a Gist for all large code excerpts, they work better anyway.]
- This reply was modified 3 years, 3 months ago by James Huff.
- This reply was modified 3 years, 3 months ago by James Huff. Reason: large code excerpt removed
not sure how to send file here.
https://nodytalk.com/wp-content/uploads/wppfm-feeds/Google.xml
The “strip tags” option should work. I tested it and it works on my test servers.
Can you confirm you’re using the setting as shown here?: https://pasteboard.co/Kf3m2bd.png
I was using the setting, i changed it back now. I just getting errors with Google Merchant Account
But you wrote that the “strip tags” did not work?
What errors are you getting from Google Merchant?
I say not working because Google merchant account say 6 products have truncated in description. I am willing to remove 6 items in last option. How I remove from feed if possible
Strange. If you use the “strip tags” option the description should be ok. Could it be that Google Merchant needs some time to evaluate your new feed? If I’m not mistaken Google only looks at the feed a few times a day.
Or could you maybe find out what words are truncated so I can have a look if I can edit the output such that it’s correct for Google?
BTW I would expect the description to be truncated when you use the “limit characters” option. Did you try to send in the feed with only the “strip tags” option or did you try it using both options together?
As for leaving products out, you have three options there.
1. If you have a premium version of our plugin, you can filter out products based on specific data (see https://www.wpmarketingrobot.com/support/documentation/advanced-filters/)
2. If all the products belong to a specific category, you could just not select that category in the Category Mapping table. That would exclude the products.
3. You could use the build in wppfm_feed_item_value filter. See https://gist.github.com/Auke1810/c62bb043926f539f9a99b418c06a3e6e for more information about this filter.
I used each option alone. I contacted Google merchant this past weekend and the rep stated my description included images and too many characters.
I did not try both options together.
Here is info from Google Merchant Account
The attribute contained a too long value and therefore got truncated.
Below are some example items that are affected by this issue.<div class=”ppd_block ppd_7 ppd_bg_white”> <div class=”ppd_txt”> <div class=”ppd_l”> <div class=”ppd_title auto23″>Does this sound like you behind the wheel?</div> </div> <div class=”ppd_r”> <div class=”ppd_desc”>You spend a lot of time in your car because…
6 products got truncated, I will review if same category and post here. Many thanks for all the help.
In the examples from Google you see that the data still contains html code. That’s probably what makes the attribute too long.
If you use the “strip tags” option and view the resulting feed you should see that the html code is removed.
Then Google Merchant needs to fetch that feed (without the html code) and it should be ok. As long as Google Merchant is reporting the error and gives you an example with still the html code in it (and thus not the new clean feed) they have not yet fetched the updated feed. You could try to contact you Google Merchant center to check why they have not yet fetched the updated feed.
I am submitting the feed but error message remains. I will go back and have just strip option and see what happens and give a couple of days. Thanks
- The topic ‘truncated product descriptions’ is closed to new replies.