WordPress.org

Ready to get started?Download WordPress

Forums

Disable quantity off WP-ecommerce (4 posts)

  1. JanikMaC
    Member
    Posted 2 years ago #

    Hi

    I setted up Store Settings / Admin Settings Max downloads per file:1, but every time the user clicks on the Add product button, the costumer is able to add the same product infinite times, in this case they would be buying the same image of the same size... so I need to disable that function so it only allows one image of every size.

    I already deleted the code from:
    <!-- THIS IS THE QUANTITY OPTION MUST BE ENABLED FROM ADMIN SETTINGS -->

    To: <!--close wpsc_quantity_update--> </fieldset>

    on the wpsc-products_page.php file and the code between the following tags:

    * Quantity options - MUST be enabled in Admin Settings
    <!--close wpsc_quantity_update--> </fieldset>

    on the wpsc-single_product.php

    But havent been able to block or limit the times the user can order the same picture.

    I'd really appreciate if anyone can help me,
    - Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    - JanikMaC

  2. silafu
    Member
    Posted 2 years ago #

    I'm interested too. Have you found a solution?

  3. JanikMaC
    Member
    Posted 2 years ago #

    Hi Silafu!,
    Not yet, but I'm almost certain that the code in:

    wpsc-includes/ajax.functions.php
    .
    controlls it.

    Please, let me know if you do
    - Thanks in advance!

    - JanikMaC

  4. amaiadmin
    Member
    Posted 1 year ago #

    I have problems with this too. Have you figured anything out yet?

Topic Closed

This topic has been closed to new replies.

About this Topic