December 11, 2012 at 12:03 pm #8129
small problem here. I am creating a post and inserting in the eStore product ID link directly underneath some text – i.e:
However, on viewing the page, above the product id link button thing, there is now an extra space added. This has happened with all new posts I have created and is only really a recent thing.
I have tried deactivating various plug-ins but this has made no difference. I can kind no extra <p> characters being added in HTML view, nothing looks out of the ordinary here so I am baffled as to why these spaces are being added.
I have tried creating a new page and only adding the product id in and the space is still the same. A conflict somewhere?
I am using Suffusion theme and the most up to date WordPress install
You can see a page with the problem here:
Any help is greatly appreciated! Thanks in advance
henryDecember 11, 2012 at 9:47 pm #52253PeterMember
Hi, Could be that your theme is adding the extra spaces.
Which version of eStore are you using?
The shortcode you have mentioned appears to be an “old” one written in pre WP2.5 days.
Please see this post and try the new shortcode as per amin007’s reply:December 12, 2012 at 1:25 pm #52254
Hmm yes I think indeed it is/was the theme adding the spaces.
(Version of eStore is latest I believe)
I changed the shortcode to the new one, yes I believe this was the problem as using a new one, the spaces have disappeared. Great!
Just have to edit all album pages now – doh!
Thanks for the help!
HPDecember 12, 2012 at 5:13 pm #52255
That is pretty annoying they should change it. Now they look different and do not ‘go’ with the rest of my content so much. Also I have to change over 200 product ID’s on my site? Is there any other way?December 12, 2012 at 9:11 pm #52256PeterMember
“I have to change over 200 product ID’s on my site”
A: You can use PHPMyAdmin to make changes to the DB tables. In your case it will be the table called “wp_wp_eStore_tbl”.
Also remember that the ID must be unique for each product.
See this video tutorial for how to PHPMyAdmin to make DB changes:December 16, 2012 at 2:10 pm #52257
I have followed the video and imported the file into spreadsheet. But, there is no option here to change the product id code. Only prices and data located in the manage add/edit products section. Do i need a different file to change the product shortcodes?
thanksDecember 16, 2012 at 11:07 pm #52258adminKeymaster
The product ID code is for internal use only. It is automatically assigned when records are entered into the database. You can’t change this value (there is no need to change it for the plugin to work anyway). You simply take the product ID value of a product and use it in the shortcode.December 17, 2012 at 7:33 pm #52259
No, I dont need to change the ID value. I probably didnt explain properly but am trying to change the shortcode in all 200 of my posts. The shortcode from [wp_eStore:product_id:2909:end] (which is adding in spaces)
Just wondering if there is any other way round itDecember 18, 2012 at 4:18 am #52260adminKeymaster
I see what you mean. There is no automated way to change those shortcodes unfortunately.December 18, 2012 at 12:59 pm #52261
Ok no worries. Thanks for the help though!
- You must be logged in to reply to this topic.