Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Photo Seller Plugin – Set QTY column to 1 by default

by

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, 9 months ago by Lofty Visions.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • June 4, 2014 at 3:17 pm #10959
    david
    Member

    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 #63494
    Peter
    Member

    Hi 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 #63495
    garfpt
    Member

    Please 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 #63496
    muffi32
    Member

    how 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 #63497
    muffi32
    Member

    got 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 #63498
    david
    Member

    Hi 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 #63499
    Peter
    Member

    We 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 #63500
    Lofty Visions
    Member

    Sorry 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 #63501
    Peter
    Member

    Try 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 #63502
    Lofty Visions
    Member

    Hi 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 #63503
    Lofty Visions
    Member

    Here’s a screenshot:

    [https://ln.sync.com/dl/ae6b13bb0#uhkrtee4-rr7xrh65-782id5h5-bkykkivy]

    August 3, 2016 at 10:51 pm #63504
    Peter
    Member

    I 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 #63505
    Lofty Visions
    Member

    Perfect! Thank you so much :)

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ