crwhite57
Forum Replies Created
-
I found a way to fix it. I now have to create a page for the gallery.
The album thumbnail says how many pictures there are but when I click on the album it opens the album and says there are no images.
I have not changed a thing
Forum: Fixing WordPress
In reply to: No images were foundNextGen Gallery
Forum: Plugins
In reply to: [WooCommerce] Custom Add to cart ButtonI use MDJM Event Manger and here is how it works. Say you are the client, you fill out the quote request with any add-ons you may want. I get an email with all of the details and put it into the system. You then get an email with the quote and a link to see a detailed quote. You desside to go ahead with the price quoted to you where you then click Book Event and sign the contract. At that point the event date is blocked out from anyone else trying to book it and (this is the part I am trying to get done) you would then add to cart the deposit or the full cost in the “Manage Your Event screen”.
I have the script written to get all the information like Event ID, Type of service, the deposit amount, the total amount, and the balance if a deposit is made. The button only appears once you have signed the contract and if you have not made your deposit or a balance is yet outstanding. Like I said, if I type everything to manually put it into the cart, it works with the item in the product page, but if I try to do it with what I put in last time, it only sends “www.pegasussal.com/?” and not the rest of it.
I don’t know if it is something in the submit button of what.Forum: Plugins
In reply to: [WooCommerce] Custom Add to cart ButtonOk here is what I have:
$product_id = (1400);
// fetch the product object
$my_product = wc_get_product($product_id);
// reset the price
$my_product->set_price(20);
$url = ‘www.pegasussal.com/?add-to-cart=’.$product_id;
?>
<form action=”<?php echo $url; ?>” method=”post” target=”_top”>
<input type=”submit” value=”Pay Now”>
</form>
Now it works great except it adds the price in the product page, not the new price. Just so you know the product name I am testing this on is “DJ Service”.Forum: Plugins
In reply to: [WooCommerce] Custom Add to cart ButtonOK what it is I run a DJ service with 4 basic services, Dj Service, DJ/Karaoke Service, Corporate DJ, and Corporate DJ/Karaoke Service. What I was thinking is I have 4 products so I have 4 product IDs. Now what I want to do is if possible is have a button that would use a url that uses the product ID but pass a new price to the cart without it having to create a new product otherwise it would create thousands of products.
Forum: Plugins
In reply to: [WooCommerce] Custom Add to cart ButtonThanks but that would call the information in the product page including the price. I need to be able to change the price that is sent to the cart.