– WordPress: Current
– NextGEN: Current
Currently running this all via wamp server not yet got a host.
I’ve been working on my site for a while now I’m using nextgen. Each image has and extra field added using the Nextgen custom fields plug-in. In this field it contains the following code/trigger text (Currently Test code) below which is used in conjunction with WP Ultra simple Paypal Cart.
wp_cart:Sunrise over Pen Ponds :price:[SIZE|6x4 - £10,10|7x5 - £20,20|8x6 - £30,30|9x5 - £40,40|12x8 - £50,50]:end]
When you click on an image from gallery it loads up in imagebrowser page Title at the top followed by the image then navigation description and then extra field. Via this code added to imagebrowser.php
<div class=”ngg-imagebrowser-Product-Item”><?php echo $image->ngg_custom_fields[“Product-Item”]; ?></div>
This works absolutely fine until I enable shutter ajax now the page is not reloaded each image which is much smoother but I have a new problem.
Now on the very first time imagebrowser page opens it’s fine as soon as you move forward or back. The code reverts to what’s shown above rather than being a drop-down box and a purchase button.
Does anyone have any ideas how I get this to be interpreted properly as it would without the ajax being enable or a way I can stop the page being refreshed with out the need to enable the ajax.
- The topic ‘Shutter Ajax code messing up shortcode forr WP Ultra simple Paypal Cart’ is closed to new replies.