Adding Cost Field (using brandonvd mod)

So, I really need the cost field and cannot begin inputting my products until I do so (I dont want to have to go through all my product data again and edit each product, I would like to just do this from the get go.)



I followed all the steps here: [url=“Mod to add cost field - Questions - CS-Cart Forums”]Mod to add cost field - Questions - CS-Cart Forums



I also even tried editing some of his code to see if I could make it work.



Here are the edits I tried:


<th width="10%"><a class="{$ajax_class}{if $search.sort_by == "cost"} sort-link-{$search.sort_order}{/if}" href="{"`$c_url`&sort_by=cost&sort_order=`$search.sort_order`"|fn_url}" rev={$rev}>{$lang.cost} ({$currencies.$primary_currency.symbol})</a></th>
```<br />
<br />
```php
<br />
<td><br />
			    <input type="text" name="products_data[{$product.product_id}][cost]" size="6" value="{$product.cost}" class="input-text" /></td><br />

```<br />
<br />
on manage.tpl<br />
<br />
and I tried<br />
<br />
```php
<div class="form-field"><br />
<br />
        <label for="product_cost" class="cm-required">{$lang.cost} ({$currencies.$primary_currency.symbol}) :</label><br />
<br />
        <input type="text" name="product_data[cost]" id="product_cost" size="10" value="{$product_data.cost|default:"0.00"}" class="input-text-medium" /><br />
<br />
</div>
```<br />
<br />
in the update.tpl<br />
<br />
Any help would be much appreciated!

ok, I dont believe I am typing this out now lol.



But with my above edits, it still wasnt working this morning after 2 hours so I gave up.



Just got home from work and logged back in to start messing with it…and now the field is there and working?!



I have no explanation lol.

I believe you will have better success when clearing your cache like this: [url=“https://www.yoursiteurl/adminname.php?cc”]https://www.yoursiteurl/adminname.php?cc[/url]



Btw, you can’t handle a 65 2+2 Fastback! 8)

[quote name=‘Struck’ timestamp=‘1345857931’ post=‘143586’]

I believe you will have better success when clearing your cache like this: https://www.yoursite…dminname.php?cc



Btw, you can’t handle a 65 2+2 Fastback! 8)

[/quote]





SSL connection error

[color=#000000][font=Helvetica, Arial, sans-serif][size=3]

Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don’t have.[/size][/font][/color][color=#777777][font=Helvetica, Arial, sans-serif][size=3]

Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.[/size][/font][/color]

What, was that a question?



Ok, just enter your url as http rather than https, you must not have SSL setup yet.



PS: you may be able to handle the 2+2, but no way you can handle the 70 Boss 429, maybe in time. ;-)

[quote name=‘Struck’ timestamp=‘1345858882’ post=‘143589’]

What, was that a question?



Ok, just enter your url as http rather than https, you must not have SSL setup yet.



PS: you may be able to handle the 2+2, but no way you can handle the 70 Boss 429, maybe in time. ;-)

[/quote]



The boss 429 was severely detuned for the street and would get smoked by a Boss 351 ;)



and thanks for the response.