Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller Plugin – Set QTY column to 1 by default
Tagged: quantity, shopping cart, WP Photo Seller
- This topic has 12 replies, 5 voices, and was last updated 8 years, 3 months ago by Lofty Visions.
-
AuthorPosts
-
June 4, 2014 at 3:17 pm #10959davidMember
Hi, I am using WP Photo Seller Plugin.
Could you tell me how to set the default value of the QTY column to 1.
I need this so the user does not have to put the 1 in the QTY column before clicking the Add To Cart button.
The user could simply click the Add To Cart button and a picture with QTY of 1 will be added to the cart.
Thanks for your time.
June 5, 2014 at 1:26 am #63494PeterMemberHi David,
Thanks for the useful suggestion.
Currently the plugin doesn’t have the automatic quantity setting but we will implement something along the lines of what you suggested in a future release.
June 12, 2014 at 1:57 pm #63495garfptMemberPlease update this issue and at least add 1 as the default quantity.
You can change it in the form as a hardcoded value.
Thank you
June 18, 2014 at 4:25 pm #63496muffi32Memberhow does this work hardcoded?
i changed every 0 to 1 in photo-details-template.php
still not working
this is really important to me as I just bought the plugin today with the hope to chance that quantity field
June 18, 2014 at 5:26 pm #63497muffi32Membergot it.
for those how r interested.
jss-gallery-buy.php change value “0” to 1
line 196
row+='<input class=”qtyInput” type=”text” value=”1″ size=”3″ /></td>’;
March 27, 2015 at 12:20 pm #63498davidMemberHi Could I have some help please. I still don’t understand where to change the input value.
Example
-Look at Menu on Left
-Left Click: ‘Plugins’
-Scroll down to WP Photo Seller & left click: ‘Edit’
-****** Please add more steps here etc *******
Thanks for your time
David
March 28, 2015 at 12:40 am #63499PeterMemberWe added a setting for this – go to Photo Seller -> Settings -> Advanced Settings
Look for the checkbox called “Set Photo Variation Default Quantity To 1”.
August 3, 2016 at 8:48 am #63500Lofty VisionsMemberSorry to drag up an old thread but I didn’t think it best to start a new one.
As i only sell digital downloads, I was wondering if it possible to remove the quantity value completely as I really don’t need it displayed as nobody is going to buy more than one digital copy.
Thanks
August 3, 2016 at 12:01 pm #63501PeterMemberTry the following:
1) Go and grab the following plugin:
http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
2) Then add the following CSS code in the settings of the above plugin:
.wps_standard_var_table th:nth-child(1), .wps_standard_var_table td:nth-child(1) {
display: none;
}August 3, 2016 at 12:09 pm #63502Lofty VisionsMemberHi thanks. That works perfectly when in the photo details pages. The column with the quantity value has gone, which is just as I wanted it thank you However, when you view the cart the item description column has also disappeared so you can only see the prices in the cart.
August 3, 2016 at 12:13 pm #63503Lofty VisionsMemberHere’s a screenshot:
[https://ln.sync.com/dl/ae6b13bb0#uhkrtee4-rr7xrh65-782id5h5-bkykkivy]
August 3, 2016 at 10:51 pm #63504PeterMemberI edited my last answer – please delete the last code I gave you and copy and paste that code.
August 4, 2016 at 12:54 pm #63505Lofty VisionsMemberPerfect! Thank you so much
-
AuthorPosts
- You must be logged in to reply to this topic.