Only inventory options can have individual product code?

Hello,

I’m a bit miffed right now. I have numerous products that are not inventory tracked but have options and I would like to put individual product codes to these options but I cannot. I’m probably going to put in a feature request but just wanted to check here and make sure I wasn’t imagining this, right?



Stephanie

Ver. 2.0.6 - in process

Can you give us more information? I guess I don’t understand why you don’t want some things inventory tracked. You want the parent item to be tracked but not the options?




[quote name=‘scase’]Hello,

I’m a bit miffed right now. I have numerous products that are not inventory tracked but have options and I would like to put individual product codes to these options but I cannot. I’m probably going to put in a feature request but just wanted to check here and make sure I wasn’t imagining this, right?



Stephanie

Ver. 2.0.6 - in process[/QUOTE]

I needed this feature in version 1.3.5 and paid CS-Cart to implement it for me. It wasn’t very expensive and probably is easily done if you know about coding, etc., but it was easier for me to get the experts to do it. So if you don’t get an answer through the forum, see how much CS-Cart will charge you to implement it.

Moka,

I have some items that are inventory tracked and some that are special order items and not tracked with inventory. Those non-tracked items have options to them (i.e. size, color, etc.) and I would like to be able to assign a product code to these specific products at the option level yet I can only put in a single product code at the parent level.



Hope that helps explains what I meant.



Thank you, Lyn, for the information about the mod from CS-Cart. I may just make do for now because I’m on a pretty tight budget and I can put the product code in the option name for now. Not too pretty but it will work until either this feature is added or I decide to pay for a mod.



Stephanie

Vers. 2.0.6

So, I was able to determine that I could select the Inventory checkbox for an option which makes the Product Code appear for my option combinations. The next problem, though, is that those option product codes are not appearing on the product detail page on the customer side. The inventory tracked products work just fine but the non-inventory tracked with an inventory option do not appear. I think I can add the product type to a .tpl but I’m not sure which one and what to add (very Smarty PHP illiterate here!)



Does anyone have any ideas on how to get the product code to appear for non-inventory tracked products with inventory options?



Thank you.

Stephanie

Hello,

I can use this functionality also. I have several options that are service options and do not require a physical inventory, but have a product code in Quickbooks as a non-inventory item. The same option is applied to all 140 products, but are not sub-items of the products. The current work around was to include the SKU# in the Name of the option and have it parsed out by a separate program before importing into QuickBooks. This is not a desirable way to do this.

Bob

Yes, that’s similar to what I will do until this, hopefully, becomes a standard feature. I will put the product code in the option name so the customer can see the code BEFORE they checkout. It doesn’t help for the customer to see the code AFTER they’ve already placed their order.



Stephanie

I had the same problem, after having them specifically explain to me exactly how to implement the option combination product codes in the first place. This is the “undo” to the 2.0.12 “fix” that made you have to turn inventory on for the product in the general settings.



To reverse this fix please pass the following steps:


  1. Open the “fn.cart.php” file located in the “core” directory of your CS-Cart installation.


  2. Replace this part of code:



    ```php $tracking = db_get_field(“SELECT tracking FROM ?:products WHERE product_id = ?i”, $v[‘product_id’]);



    if ($tracking == ‘O’) {

    $product_code = db_get_field(“SELECT product_code FROM ?:product_options_inventory WHERE combination_hash = ?i”, $cart_id);

    }

    ```



    with this one:



    ```php $product_code = db_get_field(“SELECT product_code FROM ?:product_options_inventory WHERE combination_hash = ?i”, $cart_id);

    ```


  3. Save the file.

mtnbiker,



I have done that code mod, but it doesn’t seem to work. Do you have it working?

Has anyone else tried this and been successful?