Only 1 Add to cart button not working with multiple products on 1 page
-
Hi,
Using the latest version of the plugin (3.8.8) I have the following issue
I use the plugin to sell school photo’s and all the info is stored in a database using the pods plug-in.
All works well, only that it looks like that the amount of products on a page is limited ???
There is nothing wrong with the code, simply tested by moving it around
I got:
photo1-photo2-photo3-photo-4-photo5-photoClassAll with a 3 versions add to cart button and a download button.
Photo4 doesn’t work, and if I change the order by copy/paste code like
photo1-photo2-photo3-photo-5-photo4-photoClass
photo5 doesn’t work ….
So it seems that the amount of buttons is limited
Page can be found here: https://www.schoolphoto.fr/photo/LLUA5102
Top righthand is photo4
<td align="center" align="centre" valign="top" width="80"><?php echo do_shortcode('[wp_cart_button name="' . $photo4 . '" price="5.50" var1="Option|A|B|C"]'); ?></td> <td align="center" valign="top">JPEG <br /><?php echo do_shortcode('[wp_cart_button name="Download ' . $photo4 . '" price="2.50" file_url="' . $listing_photo4 . ' "]'); ?></td>
<td align="center" align="centre" valign="top" width="80"><?php echo do_shortcode('[wp_cart_button name="' . $photo5 . '" price="5.50" var1="Option|A|B|C"]'); ?></td> <td align="center" valign="top">JPEG <br /><?php echo do_shortcode('[wp_cart_button name="Download ' . $photo5 . '" price="2.50" file_url="' . $listing_photo5 . ' "]'); ?></td>
https://www.ads-software.com/plugins/wordpress-simple-paypal-shopping-cart/
- The topic ‘Only 1 Add to cart button not working with multiple products on 1 page’ is closed to new replies.