Hi I run a very successfull 3d printing business. with the site hosted and built with other software and a simple site builder.. people email me a file, and I manually calculate the price.. this is getting tedious.. I have built two php scripts, which do that work for me.
I’m creating a new website with wordpress..
I have installed two php scripts, (STLSTATS.php & LIVEPREVIEW.php) that when a customer uploads their 3D CAD file. it generates a value(PRICE), called $pri (livepreview.php) from this value is shown on my page , in a small html file, called LivePreview.html
I want to use one of the simple paypal buttons to use this generated price and “add to cart”, but only have the option of using a fixed value in the short code.
As the price $pri is generated in livepreview.php, do i put the short code in there? I have tried this, but can’t get it to pick it up.
I’m trying the WP ultra simple Paypal Cart
and trying this [wp_cart:Test Product:price:15.00:end] and replacing price with $pri, and inserting this in Live-preview.php, and tried in live-preview.html
Just get errors.
any help would be really appreciated..
surely this is simple.
I’m no programmer..BTW
- The topic ‘Add to Cart for generated price ? WP USPP cart’ is closed to new replies.