Jump to content

 

mixstore

Member Since 30 Nov 2014
Offline Last Active May 09 2019 04:17 PM
-----

#262640 Additional Sku

Posted by mixstore on 28 October 2016 - 04:25 PM

1. Run this query in phpMyAdmin:

ALTER TABLE cscart_products ADD sku2 VARCHAR(64)  NOT NULL DEFAULT '';

2. Add this code in design/backend/templates/views/products/update.tpl:

<div class="control-group">
    <label class="control-label" for="elm_product_code">{__("sku2")}:</label>
    <div class="controls">
        <input type="text" name="product_data[sku2]" id="elm_product_code" size="20" maxlength="32"  value="{$product_data.sku2}" class="input-long" />
    </div>
</div>

after this:

<div class="control-group">
    <label class="control-label" for="elm_product_code">{__("sku")}:</label>
    <div class="controls">
        <input type="text" name="product_data[product_code]" id="elm_product_code" size="20" maxlength="32"  value="{$product_data.product_code}" class="input-long" />
    </div>
</div>

3. Add the language variable for "sku2".

Thanks Oleg.

 

Perfect.




#261843 Installation Stuck

Posted by mixstore on 19 October 2016 - 04:33 PM

Good evening.

 

I was trying to install cs-cart on local PC, each time installation stuck on "SetUp Companies".

 

Any ideas?

 

Best Regards

 

Martin