I'm trying to add a second button to a product page with a updated price.
For example I'm using [add_to_cart id='$product->id'] which displays correctly, but I would like to assign this short code a custom price.
The results should show two buttons on a single product page. One with the regular price value and the other with the custom price value.
I tried doing this through variables, but need them in two buttons instead of a drop down.
Thanks for the help!
Related
I am totally stumped in figuring this out and I think I am doing too many extra things in order to fix a simple issue. (I hope)
I am an artist, and I am selling prints and am also offering the original piece for sale on my website. I am trying to figure out how, on the single product page, to add a SEPARATE button that allows the customer to purchase the original piece. I tried adding it as a variable but it is not user friendly and other selections disappear if customers want to go back and select other print options. I do not want the option to purchase the original piece mixed in as a variable. I want it totally separate.
I have created drop down pages for prints and originals on my main site menu but it is messing up when the base ‘shop’ page is clicked because doubles pop up for each product- one is presented as a range in price (the prints) and the other is what the original costs. It is confusing and looks terrible. On top of that, when I try to upload/add new art pieces to either the ‘prints’ or ‘original work’ categories, they don’t show up on either page, they only show up on the ‘base’ shop page.
Is there ANY way to simplify this into removing the ‘prints’ and ‘original works’ subcategories and only have my base ‘shop’ page to display each product, BUT adding a button for the option to ‘purchase original’ along with ‘purchase prints’ on the actual single product page? I have been looking for answers for weeks and haven’t found anything.
Please help!! Thank you so much in advance! I have no clue what I am doing!!!
I have tried adding the 'original' piece into the variations menu and it didn't work correctly. I created subcategories for 'originals' and 'prints' but that is making my base shop page display double products, and when I upload new products and put them in their correct category, they dont go onto those pages, they stay on the base page.
I just want a 'Purchase Original' <---- simple product and a 'Purchase Prints'<----- variable product with size/material options.
I already managed to pre-select the first on-stock variation as soon as you load the single product page. Now I wanted to take a step further, I wanted to make woocommerce pre-select a variation selected through filtering on Archive pages and Shop page if a choice has been made obviously. Like: On shop page I filter Size M and after I select the product that has Size M avaiable, make it already selected and not the first one that could be like an XS. For instance I'm using the Stock Woocommerce Filtering Widgets with Attributes.
Is it possible?
Thank you so much!
I'm developing an e-commerce using Wordpress and I'm having a problem with product variations. I have about 40 photographic works
and each of them has different options:
print support
frame color
dimension
Currently only if a user selects all the choices the image is updated and a price is displayed based on the choices.
I would like a user to see the updated image and price even by selecting one or two of the options.
Is it possible to create a product variation by setting only one or two variations?
Here is a sample product that I would like to change already from the first or second choice of the user. (at the moment the image and the price are updated only by setting all three variations).
product link -> https://www.italiansummer.it/product/addaura/
Thanks in advance for any help
Try using the gravatar form plugin.
I've added custom products fields with this tutorial http://www.remicorson.com/mastering-woocommerce-products-custom-fields/
Now i need to show them in the products loop like shown in the image below
The left part are table headings with the custom field names, on the rigs side are products with up to 4 products on one page (the client doesn't want more).
I'm stuck on the product loop display here, got the procuct variations to show on category page with the ability to add to cart, but can't wrap my head around this task so any advice how to show this would be appreciated
using last versions of wordpress, woocommerce and cheope (theme).
the question: how to
add some extra fields in variations form (text and image field types)
show them on frontend so that their values change accordingly on changing of attributes-select values.
e.g.: the site sells candles and uses variable products, for each kind of candle has several dimensions (with specific different prices), each of which has different duration.
The duration is an important element that I want the user to be informed about.
The same to show the available colors all together.
Unluckily in the standard variation form there is no field where I can insert these or other features.
some help please?
updated 07-August-2013
I succeeded in adding to variations form a new field displayed on back-end, as you can see here, by inserting the code you can find here (please see the comments too) in the function.php file of the theme.
Now, what I’m not able to do is get this field to display with each proper value on front-end (please take a look to the last comment in the above linked page).
Any tip or trick?
thanks
1)Add product attribute and check checkbox Used for variations and Visible on the product page
2)go to variations and add new and fill all fields price and stock must add on them
Your producr display variations and their data