• Resolved henry321

    (@henry321)


    I am using shortcode to create a table of products, like this:
    [product_table id=”46″ skus=”123,234,542,6575″]

    The table has columns: image, sku, title, qty, and add to cart.
    The qty column is a drop down box that always default to 1. Is it possible to specify by shortcode that certain skus should default to a different quantity?

    Something like:
    [product_table id=”46″ skus=”123(qty=2),234,542(qty=5),6575″]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WC Product Table

    (@wcproducttable)

    Hi,

    Thank you for your query.

    Yes, you can show unique starting / minimum quantities for products in the table.

    But it works differently than the way you asked about.

    First, you need to use WCPT PRO on your website. The PRO version has been made compatible with dozens of 3rd party plugins, including multiple plugins that help you set min, max and step rules for the product quantity.

    Please see WCPT PRO 3rd party compatibility list > Quantity Min, Max and Step rules.

    You can also see other PRO exclusive features.

    Happy to answer any further questions about this.

    Regards,
    Kartik

    Thread Starter henry321

    (@henry321)

    Unfortunately, that doesn’t accomplish what I’m looking for. The quality min/max/step rules apply to a specific product across the board. What I’d like is to apply it per table. For one table, the default quantity may be 1, whereas the same product in another table may be 3.

    I am using this to help customers buy replacement parts for a bundle product. My bundle product is displayed normally in the store, then in a separate section for “replacement parts”, I list the individual components for each bundle using this Product Table plugin so the customer can purchase replacement parts a la carte. But it would be nice to indicate that for a certain replacement part, they’d normally need qty 2 to complete the bundle. I also don’t want to restrict a min/max/step because they may only need to replace 1 piece of the 2.

    Maybe a separate text column for “normally comes with qty”, and then a column for selectable “qty to buy”. Is that something the pro version can do?

    Plugin Author WC Product Table

    (@wcproducttable)

    Thank you for further clarifying your requirement. But what you are asking about is not really a facility in WCPT PRO or any plugin I know of as it is a very niche requirement (this is the first time I have come across it).

    To be clear – with WCPT you can have a column showing any attribute or custom field from the product. And you can also show the quantity element as a dropdown. But I am referring to the crucial part of your requirement – modify the starting quantity input based on the shortcode which can change from one table to the other. That is not a facility.

    However, it can be accomplished with custom work. If you need this, please write in via the support form and we will connect to discuss further.

    Plugin Author WC Product Table

    (@wcproducttable)

    Just to let you know – I am closing this topic as I have not received a response in over a week. But if you have any further questions related to WCPT, please feel free to write in again and I will be happy to answer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Specify initial qty from shortcode?’ is closed to new replies.