Viewing 1 replies (of 1 total)
  • Plugin Author bluey80

    (@bluey80)

    You’ll have to do a little hack:

    Take a look at the function

    function scabn_sc($atts) {

    inside includes/functions.php

    That is where the code for the add to cart is generated. You can add your own code there by adding more lines of the form

    $output.="In Stock: " . $getQtyInStock($item_id) . "<br/>";

    And you’ll have to write the getQtyInStock function. Currently, SCABN doesn’t do any lookups / checking on the add to cart button — only when someone clicks on add to cart it checks the price, updates the quantity, etc.

Viewing 1 replies (of 1 total)
  • The topic ‘Unit quantities, or stock control…’ is closed to new replies.