Jump to content


Better, More Convenient, Private Support for Your iThemes Products Is Here.


We're moving support away from the forum and in to private tickets - Log In to Get Support Here


Note: any currently open support threads in the community forum will stay open while we resolve them.

Replying to Shortcode For Exchange?


Post Options

  or Cancel


Topic Summary

Posted 06 May 2015 - 11:21 AM

If I wanted to link this to the individual product's details page instead of having the "buy now" or "add to cart" function, how would that be done?

Thanks!

Ronald

Posted 24 April 2015 - 02:52 PM

Hi,

is there an error message on the white screen? And the code looks fine, make sure you don't add blanks, spaces, blank lines at the start and the end of the php file and at the end of the lines. Reducing the number of blank lines at the top and end is also a good idea.

Ronald

ambergoodwin

Posted 23 April 2015 - 10:51 PM

I came across this and thought it was a great idea! This is exactly what I'm looking for and I'd LOVE to try it out however I'm having the same issue another user was with the white screen!
Here is my pastebin - http://pastebin.com/Nrmp232s

I've even tried to remove everything but the opening and closing php tags and the snippet from Ronald and I still get an error. It doesn't seem to like this line
extract(shortcode_atts(array(


Is there anyone that might be able to help me figure why I can't get passed this part?

misowrong

Posted 11 March 2015 - 08:28 AM

Okay,

Here we go.  And thanks for your patience!

Ronald

Posted 10 March 2015 - 04:55 PM

Hi,

to add an image, you may want to check the tutorials on how to use the forum: http://ithemes.com/codex/page/Forum_Related

Ronald

misowrong

Posted 10 March 2015 - 04:53 PM

don't know what happened but the attachments didn't appear. probably standard i d 10 t error.

misowrong

Posted 10 March 2015 - 04:45 PM

the first screen shot is where the product is in the top but is using the teaser content from the post in the content section.

The second, the content section is not using a restricted content excerpt and therefore pulls the product info from the product desc.

Ronald

Posted 10 March 2015 - 01:56 PM

Hi,

I am not sure what you mean, can you add a screenshot, indicate what exactly you are referring to?

thanks,
Ronald

misowrong

Posted 10 March 2015 - 10:07 AM

Hi guys! I added mrarlen's code above and everything works great but I'm showing teaser content which over-rides the product description whenever there is any teaser posts. Any ideas?

This only happens when a post snippet that is locked down shows up in the content section. testing site is http://stongeresearch.com

cubixlabs

Posted 28 December 2014 - 01:37 AM

Any thought on this? Unfortunately, after adding the code as mentioned to a button on our front page, when clicked the page reloads adding '/?ite-sw-state=checkout' to the url but nothing else changes on the page/buy button...  Any thoughts?

I am also stuck here while making pricing page for my subscription products.

Review the complete topic (launches new window)

Better, More Convenient, Private Support for Your iThemes Products Is Here.


We're moving support away from the forum and in to private tickets - Log In to Get Support Here


Note: any currently open support threads in the community forum will stay open while we resolve them.