I tried removing $button_type=1 but all that does is take away the drop down box and lists the varitions as text and still nothing in the custom field.
hmmmmm!
I tried removing $button_type=1 but all that does is take away the drop down box and lists the varitions as text and still nothing in the custom field.
hmmmmm!
Try adding the variable at the end and not before $button_type=1
Tried that too, it has the same effect. i.e. displays variations as text and nothing in custom field.
I have tried removing variations all together but still nothing.
what's the url of your gallery
Im working on localhost at the moment as the website is actually live minus the shop right now.
You can view the site here: http://www.lawrencemckenzie.com
Gallery in question: http://www.lawrencemckenzie.com/equestrian/28th-august-2010
I have placed the shop/buttons under each image alt title.
In gallery-wp-eStore-addtocart.php:
'<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $gallery->imagewidth ?> >
<div class="ngg-gallery-thumbnail" >
imageURL ?>" title="" <?php echo $image->thumbcode ?> >
<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
<span style="text-align:center;"><?php echo $image->alttext ?>
</span>
<span style="text-align:center;"><?php echo get_button_code_for_product(1,$image); ?></span>
</div>
</div>'
Correct?
<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $gallery->imagewidth ?> >
<div class="ngg-gallery-thumbnail" >
<span class="prod_detail">
<?php echo $image->alttext ?>
<?php echo get_button_code_for_product(1,$image); ?>
</span>
</div>
</div>
All seems right, dunno what to tell you...
btw $nggImage is already used in eStore_misc_functions.php
What version wp-eStore are you running? mine is 3.4.8
Version v4.1.8, I got it today.
Just to show, I took a screen from the version im working on:
That could be an issue. I'm afraid to upgrade for that reason. The new variables could be interfering somehow. I'd try to install the earlier version with the mod to see if that works. If it still doesn't then there's something not configured properly. If it does work then the newer version(s) need more looking into as far as modding.
You must log in to post.