Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Add To Cart text link with price varitions
- This topic has 12 replies, 3 voices, and was last updated 11 years, 7 months ago by Robert.
-
AuthorPosts
-
January 14, 2013 at 9:28 pm #8330RobertParticipant
I’m using the add to cart text link with variations using something like:
…wp_eStore_add_to_cart=4&variation1=XLarge…
I have the proper format and it puts the proper item in the cart, but I have different prices on my variations and they don’t show in the cart, it shows the original price for the item. How can I have an add to cart text link for a specific variation that shows the proper price for that variation?
Robert
January 15, 2013 at 4:41 am #53029adminKeymasterThe text link feature didn’t have the price variation handling capability. I added this into the extra eStore shortcodes addon today. Please download a new copy of the extra shortcodes plugin now then you can make links like the following to add price variation:
[your-site.com/?wp_eStore_add_to_cart=4&variation1=XLarge&var1_price=10]
Adding an item using the above link will result a $10 addition to the based product price for the variation in question.
January 15, 2013 at 6:50 am #53030RobertParticipantThanks.
I noticed that when I hover over the text link it shows the link (with the parameters of course). Is there any way to hide this so you can’t see what is being passed?
January 15, 2013 at 11:58 am #53031PeterMemberI don’t think there is an easy way to hide the URL when hovering over an anchor element.
I believe this is a sort of security precaution to let users know where they are navigating to.
The alternative is to use the standard add to cart buttons. When you are using a text link, the user will always be able to see the link.
January 15, 2013 at 4:07 pm #53032RobertParticipantAlso, just downloaded the latest and tried the above code, but didn’t work.
I d/l the new plugin, deactiveated it, copied the new code over, then reactivated it. I noticed the version jumped up 1, so thought I had the right version.
January 15, 2013 at 11:16 pm #53033PeterMemberDid you delete the old plugin after you deactivated it and before you uploaded the new version? If not please try doing that.
January 16, 2013 at 12:03 am #53034RobertParticipantJust deleted and readded, still doesn’t work. Is there a version # to check or a file I can verify?
January 16, 2013 at 12:40 am #53035adminKeymasterHi Robert, Do you see 4.5.6 as the version number of the extra eStore shortcodes plugin? If you do then you are on the correct version. Please post a link to the page where you are using this add to cart links.
January 16, 2013 at 5:53 am #53036RobertParticipantI misunderstood, I thought I needed to update the eStore not the extra eStore. Once I updated the extra eStore, it worked fine.
Thanks,
Robert
April 19, 2013 at 12:36 am #53037RobertParticipantIs there a way to also pass the quantity in a text link?
April 20, 2013 at 12:09 am #53038adminKeymasterJust added this option to the extra eStore shortcodes addon. Download a new copy of this addon then you can use the following format to specify quantity value in the text link:
[your-site.com/?wp_eStore_add_to_cart=4&quantity=5]
April 20, 2013 at 4:03 am #53039RobertParticipantOk, will give it a try
April 20, 2013 at 4:16 am #53040RobertParticipantWorks great, thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.