Zen Cart Logo
Forums / All Other Contributions/Addons / Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Views: 658,497

Results 1,441 to 1,460 of 3,609
5 Feb 2012, 5:21 PM
#1441
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

spbw:

Hi,

I hate to jump in here with a post, as I notice a lot of anger within the thread - which I can really understand.
Don't assign any emotions to me.. I sure as heck NEVER SAID I was angry..

coopco:

Hey spbw, I sense no anger, just a lively discussion.EXACTLY!!!:clap:

coopco:

People who develop free add ons must do so in their free time because they have to make a living. While it would be nice to have all add ons ready to go when a new version of zen cart is rolled out, **it will never happen.**Nods in agreement:yes:

5 Feb 2012, 6:05 PM
#1442
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Hey everyone. Sorry I bailed on this mod. During the time I was reading it and fixing it. I got fired from the job I was working. I am now doing websites for some new clients and use a different shopping cart that has this featured and more I needed built in. So I stop furthering this mod.

Now one of my old client re-hired me to do work on their existing website which used Zen-Cart. I just upgrade it to 1.5.0. I will be readoing this mod to.work with 1.5.0. I don't promise anything new. Just getting my last version to work with the update. Stay tuned...

P.S.
Go Patriots!!! LOL

5 Feb 2012, 6:51 PM
#1443
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

creinold:

I was reading it and fixing it.

Was suppose to say, " I was redoing it and fixing it." Dang Android cell phone typing.

5 Feb 2012, 8:08 PM
#1444
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

creinold:

Was suppose to say, " I was redoing it and fixing it." **Dang Android cell phone typing.**I know what you mean!!!:laugh::laugh::laugh:

Question for you.. Perhaps you saw my rant on the last pages.. :laugh: Will YOU be making strides towards creating a UNIFIED SBA for Zen v1.5??

The code fragmentation and the fact that the readme files are updated to CLEARLY indicate what changes have been made in each submitted version are problematic.. It would be nice to see a fully unified version of SBA for the first time since v4.7 by Kuroi.. Your version had always seemed to be the most promising of the many variants as (if I recall correctly) you seemed to be leaning towards incorporating the half working Dynamic dropdowns mod..

8 Feb 2012, 7:51 AM
#1445
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I am about half way upgrading my version to work with 1.5.0. Hopefully have it out by the end of the week for beta testing. Spent about 5 hours just to get the admin settings to show up in the 1.5.0 Menu. LOL sigh For now I am not adding any new features it does have the dynamic drop down add on included in my version. I may remove all the radio buttons stuff that don't work and just have the dropdown options. I am just getting this mod to work with my one client I have left on zen-cart. If I had to do any more work on it... I'll just switch them over to the other cart system I am using instead. :wacko:

8 Feb 2012, 2:49 PM
#1446
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

In post #1293 I shared the following fix for zencart version 1.3.9h using the SBA version .13 - it is a no fuss no muss solution to get your store up and running. I have not worked with .14 but if you go back to 1.3.9 I highly recommend this fix. It has solved the problem for many here:

athena:

Here is the fix for Stock By Attributes 1.4.13 - replace includes/modules/pages/shopping_cart/header_php.php with the one below from an earlier version of stock by attributes, namely stock_by_attributes_4-7MULTIADD. :

<?php /** * shopping_cart header_php.php * * @package page * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: header_php.php 0000 2007-12-02 00:00:00Z kuroi $ */ // This should be first line of the script: $zco_notifier->notify('NOTIFY_HEADER_START_SHOPPING_CART'); require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php')); $breadcrumb->add(NAVBAR_TITLE); // Validate Cart for checkout $_SESSION['valid_to_checkout'] = true; $_SESSION['cart_errors'] = ''; $_SESSION['cart']->get_products(true); if (!$_SESSION['valid_to_checkout']) { $messageStack->add('shopping_cart', ERROR_CART_UPDATE . $_SESSION['cart_errors'] , 'caution'); } // build shipping with Tare included $shipping_weight = $_SESSION['cart']->show_weight(); /* $shipping_weight = 0; require(DIR_WS_CLASSES . 'order.php'); $order = new order; require_once('includes/classes/http_client.php'); // shipping in basket $total_weight = $_SESSION['cart']->show_weight(); $total_count = $_SESSION['cart']->count_contents(); require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; $quotes = $shipping_modules->quote(); */ $totalsDisplay = ''; switch (true) { case (SHOW_TOTALS_IN_CART == '1'): $totalsDisplay = TEXT_TOTAL_ITEMS . $_SESSION['cart']->count_contents() . TEXT_TOTAL_WEIGHT . $shipping_weight . TEXT_PRODUCT_WEIGHT_UNIT . TEXT_TOTAL_AMOUNT . $currencies->format($_SESSION['cart']->show_total()); break; case (SHOW_TOTALS_IN_CART == '2'): $totalsDisplay = TEXT_TOTAL_ITEMS . $_SESSION['cart']->count_contents() . ($shipping_weight > 0 ? TEXT_TOTAL_WEIGHT . $shipping_weight . TEXT_PRODUCT_WEIGHT_UNIT : '') . TEXT_TOTAL_AMOUNT . $currencies->format($_SESSION['cart']->show_total()); break; case (SHOW_TOTALS_IN_CART == '3'): $totalsDisplay = TEXT_TOTAL_ITEMS . $_SESSION['cart']->count_contents() . TEXT_TOTAL_AMOUNT . $currencies->format($_SESSION['cart']->show_total()); break; } // testing/debugging // require(DIR_WS_MODULES . 'debug_blocks/shopping_cart_contents.php'); $flagHasCartContents = ($_SESSION['cart']->count_contents() > 0); $cartShowTotal = $currencies->format($_SESSION['cart']->show_total()); $flagAnyOutOfStock = false; $products = $_SESSION['cart']->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (($i/2) == floor($i/2)) { $rowClass="rowEven"; } else { $rowClass="rowOdd"; } switch (true) { case (SHOW_SHOPPING_CART_DELETE == 1): $buttonDelete = true; $checkBoxDelete = false; break; case (SHOW_SHOPPING_CART_DELETE == 2): $buttonDelete = false; $checkBoxDelete = true; break; default: $buttonDelete = true; $checkBoxDelete = true; break; $cur_row++; } // end switch $attributeHiddenField = ""; $attrArray = false; $productsName = $products[$i]['name']; if (STOCK_CHECK == 'true') { $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity']); if ($flagStockCheck == true) { $flagAnyOutOfStock = true; } $stockAvailable = zen_get_products_stock($products[$i]['id']); } // Push all attributes information in an array if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) { if (PRODUCTS_OPTIONS_SORT_ORDER=='0') { $options_order_by= ' ORDER BY LPAD(popt.products_options_sort_order,11,"0")'; } else { $options_order_by= ' ORDER BY popt.products_options_name'; } foreach ($products[$i]['attributes'] as $option => $value) { $attributes = "SELECT popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix FROM " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa WHERE pa.products_id = :productsID AND pa.options_id = :optionsID AND pa.options_id = popt.products_options_id AND pa.options_values_id = :optionsValuesID AND pa.options_values_id = poval.products_options_values_id AND popt.language_id = :languageID AND poval.language_id = :languageID " . $options_order_by; $attributes = $db->bindVars($attributes, ':productsID', $products[$i]['id'], 'integer'); $attributes = $db->bindVars($attributes, ':optionsID', $option, 'integer'); $attributes = $db->bindVars($attributes, ':optionsValuesID', $value, 'integer'); $attributes = $db->bindVars($attributes, ':languageID', $_SESSION['languages_id'], 'integer'); $attributes_values = $db->Execute($attributes); //clr 030714 determine if attribute is a text attribute and assign to $attr_value temporarily if ($value == PRODUCTS_OPTIONS_VALUES_TEXT_ID) { $attributeHiddenField .= zen_draw_hidden_field('id[' . $products[$i]['id'] . '][' . TEXT_PREFIX . $option . ']', $products[$i]['attributes_values'][$option]); $attr_value = $products[$i]['attributes_values'][$option]; } else { $attributeHiddenField .= zen_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); $attr_value = $attributes_values->fields['products_options_values_name']; } $attrArray[$option]['products_options_name'] = $attributes_values->fields['products_options_name']; $attrArray[$option]['options_values_id'] = $value; $attrArray[$option]['products_options_values_name'] = zen_output_string_protected($attr_value) ; $attrArray[$option]['options_values_price'] = $attributes_values->fields['options_values_price']; $attrArray[$option]['price_prefix'] = $attributes_values->fields['price_prefix']; } if ( STOCK_CHECK == 'true' ) { // Added to allow individual stock of different attributes unset($attributes); if(is_array($products[$i]['attributes'])){ $attributes = $products[$i]['attributes']; } else { $attributes = ''; } // End change $stock_check = zen_check_stock($products[$i]['id'], $products[$i]['quantity'],$attributes); if (zen_not_null($stock_check)) { $flagAnyOutOfStock = true; $flagStockCheck = $stock_check; $stockAvailable = zen_get_products_stock($products[$i]['id'], $attributes); } } } //end foreach [attributes] $linkProductsImage = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']); $linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']); $productsImage = (IMAGE_SHOPPING_CART_STATUS == 1 ? zen_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], IMAGE_SHOPPING_CART_WIDTH, IMAGE_SHOPPING_CART_HEIGHT) : ''); $show_products_quantity_max = zen_get_products_quantity_order_max($products[$i]['id']); $showFixedQuantity = (($show_products_quantity_max == 1 or zen_get_products_qty_box_status($products[$i]['id']) == 0) ? true : false); // $showFixedQuantityAmount = $products[$i]['quantity'] . zen_draw_hidden_field('products_id[]', $products[$i]['id']) . zen_draw_hidden_field('cart_quantity[]', 1); // $showFixedQuantityAmount = $products[$i]['quantity'] . zen_draw_hidden_field('cart_quantity[]', 1); $showFixedQuantityAmount = $products[$i]['quantity'] . zen_draw_hidden_field('cart_quantity[]', $products[$i]['quantity']); $showMinUnits = zen_get_products_quantity_min_units_display($products[$i]['id']); $quantityField = zen_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"'); $buttonUpdate = ((SHOW_SHOPPING_CART_UPDATE == 1 or SHOW_SHOPPING_CART_UPDATE == 3) ? zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT) : '') . zen_draw_hidden_field('products_id[]', $products[$i]['id']); $productsPrice = $currencies->display_price($products[$i]['final_price'], zen_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . ($products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->display_price($products[$i]['onetime_charges'], zen_get_tax_rate($products[$i]['tax_class_id']), 1) : ''); $productsPriceEach = $currencies->display_price($products[$i]['final_price'], zen_get_tax_rate($products[$i]['tax_class_id']), 1) . ($products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->display_price($products[$i]['onetime_charges'], zen_get_tax_rate($products[$i]['tax_class_id']), 1) : ''); $productArray[$i] = array('attributeHiddenField'=>$attributeHiddenField, 'flagStockCheck'=>$flagStockCheck, 'flagShowFixedQuantity'=>$showFixedQuantity, 'linkProductsImage'=>$linkProductsImage, 'linkProductsName'=>$linkProductsName, 'stockAvailable'=>$stockAvailable, 'productsImage'=>$productsImage, 'productsName'=>$productsName, 'showFixedQuantity'=>$showFixedQuantity, 'showFixedQuantityAmount'=>$showFixedQuantityAmount, 'showMinUnits'=>$showMinUnits, 'quantityField'=>$quantityField, 'buttonUpdate'=>$buttonUpdate, 'productsPrice'=>$productsPrice, 'productsPriceEach'=>$productsPriceEach, 'rowClass'=>$rowClass, 'buttonDelete'=>$buttonDelete, 'checkBoxDelete'=>$checkBoxDelete, 'id'=>$products[$i]['id'], 'attributes'=>$attrArray); } // end FOR loop // This should be last line of the script: $zco_notifier->notify('NOTIFY_HEADER_END_SHOPPING_CART'); ?>
8 Feb 2012, 4:55 PM
#1447
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

RE: no stock alert message on shopping cart page for non attribute orders

I have stock_by_attributes_1.4.13 installed and zen cart v1.3.9h - if i add an attribute of a product to cart, which uses stock by attributes for stock, and i order more than stock available for that attribute, an alert message is displayed on the shopping cart page. this is great.

However, if i add a product to cart that is not an attribute (doesn't use stock by attributes, default stock system only) and order more than available stock, although i am stopped from continuing to checkout, there is no alert message as per above.

I think it is due to code changes in modules/pages/shopping_cart/custom_template/header_php.php.

I have tested on a different site with no stock by attributes installed and stock alert message is displayed if I try and order more than stock available.

If anyone can advise how i fix the code, or why this is happening that would be great.

10 Feb 2012, 4:42 PM
#1448
thefather avatar

thefather

New Zenner

Join Date:
Nov 2010
Posts:
21
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I am still looking for the answer on how to paginate the stock by attribute page. I have been looking for a way to implement some code for this but have not had any luck. I did find some code that I think will work but just am not sure where to add it in. The code I would like to use is:

<?php
//connecting to the database$error = "Could not connect to the database";mysql_connect('localhost','root','') or die($error);mysql_select_db('pagination') or die($error);
//max displayed per page$per_page = 36;
//get start variable$start = $_GET['start'];
//count records$record_count = mysql_num_rows(mysql_query("SELECT * FROM data"));
//count max pages$max_pages = $record_count / $per_page; //may come out as decimal
if (!$start)
   $start = 0;
   //display data$get = mysql_query("SELECT * FROM data LIMIT $start, $per_page");
while ($row = mysql_fetch_assoc($get))
{
 // get data
 $name = $row['name'];
 $age = $row['age'];
 
 echo $name." (".$age.")<br />";

}
//setup prev and next variables$prev = $start - $per_page;$next = $start + $per_page;
//show prev buttonif (!($start<=0))
       echo "<a href='index.php?start=$prev'>Prev</a> ";
//show page numbers

//set variable for first page$i=1;

for ($x=0;$x<$record_count;$x=$x+$per_page)
{
 if ($start!=$x)
    echo " <a href='index.php?start=$x'>$i</a> ";
 else
    echo " <a href='index.php?start=$x'><b>$i</b></a> ";
 $i++;
}
//show next buttonif (!($start>=$record_count-$per_page))
       echo " <a href='index.php?start=$next'>Next</a>";
?>

Can anyone give me some advice on how to modify the above code to work with this module?

Thanks in advance

13 Feb 2012, 10:29 PM
#1449
mentose457 avatar

mentose457

New Zenner

Join Date:
Dec 2010
Posts:
21
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Hi all,

I am having a hell of a time getting this to work. Im on 1.3.9h. Ive tried all of the stock by attributes add ones with no dice.

The one im trying to install is THIS one.

This is the procedure ive followed:

  1. install sql patch.
  2. Rename includes/templates/YOUR_TEMPLATE to my template name.
    NOTE: the instructions say to rename includes/modules/YOUR_TEMPLATE yet there is no /YOUR_TEMPLATE folder in /modules
  3. Use fillzilla to move the files to my online directory.
    The instructions say click on Catalog->Products with Attributes Stock to modify inventory levels but i have no such option.

Any help working this out would be appreciated.

Brent

14 Feb 2012, 2:50 PM
#1450
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

mentose457 - i'm not sure if there is a dedicated thread for 'Stock by Attributes 4.7 Multiadd WITH TABLE FILTER 1.6', but, if there is, prob worth posting there.

I haven't used 'Stock by Attributes 4.7Multiadd WITH TABLE FILTER 1.6', only 'stock by attributes'.

but, referring to:

NOTE: the instructions say to rename includes/modules/YOUR_TEMPLATE yet there is no /YOUR_TEMPLATE folder in /modules

yes, you need to create a folder in includes/modules/ with the name of your template folder, the same name as YOUR_TEMPLATE in includes/templates/YOUR_TEMPLATE. Although you dont have to do this, you could and it would work, it is better to add customised files to a template folder to override the original (but not overwrite the original), it looks like if you didn't create a template folder here and put the files in there you would be overwriting core files (avoid as much as poss).

always, always make sure all files are uploaded, sometimes the best way to do this is NOT upload files one at a time, in this case add the /admin/ and /includes/ folder... however, before you do this, rename the admin folder to the name of your admin folder, and, also create the /YOUR_TEMPLATE/ folders with the correct template name as per above, including in the /includes/modules/ folder

14 Feb 2012, 3:52 PM
#1451
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Because of the fragmented codebase for SBA (there are 4 versions of this mod floating around) Each only SLIGHTLY different than the next. The authors of all of these variants unfortunately didn't BOTHER to update the readme/installation instructions so they are accurate.

You are right, there is NO such folder.. I don't know if the variant you installed needs this folder and files in it, but you might want to download one of the other versions and see if the files/folder you are looking for is in one of the other SA variants..

mentose457:

Hi all,

I am having a hell of a time getting this to work. Im on 1.3.9h. Ive tried all of the stock by attributes add ones with no dice.

The one im trying to install is THIS one.

This is the procedure ive followed:

  1. install sql patch.
  2. Rename includes/templates/YOUR_TEMPLATE to my template name.
    NOTE: the instructions say to rename includes/modules/YOUR_TEMPLATE yet there is no /YOUR_TEMPLATE folder in /modules
  3. Use fillzilla to move the files to my online directory.
    The instructions say click on Catalog->Products with Attributes Stock to modify inventory levels but i have no such option.

Any help working this out would be appreciated.

Brent

You misunderstood mentrose457. There is NO FOLDER called "includes/modules/YOUR_TEMPLATE" in the install package of the SBA variant he installed.. So yes he could create that folder in his store, but why if there are no files in the install package to copy over.. Not sure if the variant of SBA heis using needs this file..

mattys:

mentose457 - i'm not sure if there is a dedicated thread for 'Stock by Attributes 4.7 Multiadd WITH TABLE FILTER 1.6', but, if there is, prob worth posting there.

I haven't used 'Stock by Attributes 4.7Multiadd WITH TABLE FILTER 1.6', only 'stock by attributes'.

but, referring to:

yes, you need to create a folder in includes/modules/ with the name of your template folder, the same name as YOUR_TEMPLATE in includes/templates/YOUR_TEMPLATE. Although you dont have to do this, you could and it would work, it is better to add customised files to a template folder to override the original (but not overwrite the original), it looks like if you didn't create a template folder here and put the files in there you would be overwriting core files (avoid as much as poss).

always, always make sure all files are uploaded, sometimes the best way to do this is NOT upload files one at a time, in this case add the /admin/ and /includes/ folder... however, before you do this, rename the admin folder to the name of your admin folder, and, also create the /YOUR_TEMPLATE/ folders with the correct template name as per above, including in the /includes/modules/ folder

15 Feb 2012, 3:14 AM
#1452
brianwi avatar

brianwi

New Zenner

Join Date:
Jun 2011
Posts:
35
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Zen Cart 1.3.9h
Stock by Attribute 4.14

I have seen the mods in this thread that show a stock quantity after each type (as long as you have only 1 attribute). However, when I use them, I lose my display only option value. For instance if I have Select Color, Brown and Black in a drop down, Select Color disappears and Brown is selected. Any one able to help?

15 Feb 2012, 10:12 PM
#1453
tesefoti avatar

tesefoti

New Zenner

Join Date:
Jul 2010
Location:
Italy
Posts:
66
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

IF you have positive brown and 0 black it will automatically exclude black and only show brown.

If doesn't make sense to allow people to select black since you don't have it.

16 Feb 2012, 4:13 PM
#1454
spbw avatar

spbw

New Zenner

Join Date:
Jan 2012
Posts:
50
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Has anyone actually got this to work? I am trying Stock by Attributes v4.7a

I know it does not work on V1.5, so I installed a new shop using V1.39h. I tried to follow the readme but it makes little sense when it comes to folder/file names.

In Admin, Catalog I can see "Products with attribute Stock". When I go there I get this error:

1054 Unknown column 'sort' in 'order clause'
in:
[select * from products_with_attributes_stock where products_id="1" order by sort ASC;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

When I go to the shop I see a blank page which I take is to do with the fact I am using another template design: dezina_advent138

**
Is there anyone who has got this thing working that can write a simple idiots guide to help us all get started? Please?**

Is it worth all the effort or is it less stressful to add items on an individual basis (e.g. T-shirt/XL/white, T-shirt/XL/Blue, T-shirt/L/White etc. etc.)?

Mark

17 Feb 2012, 1:28 AM
#1455
mentose457 avatar

mentose457

New Zenner

Join Date:
Dec 2010
Posts:
21
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

mentose457:

Hi all,

I am having a hell of a time getting this to work. Im on 1.3.9h. Ive tried all of the stock by attributes add ones with no dice.

The one im trying to install is THIS one.

This is the procedure ive followed:

  1. install sql patch.
  2. Rename includes/templates/YOUR_TEMPLATE to my template name.
    NOTE: the instructions say to rename includes/modules/YOUR_TEMPLATE yet there is no /YOUR_TEMPLATE folder in /modules
  3. Use fillzilla to move the files to my online directory.
    The instructions say click on Catalog->Products with Attributes Stock to modify inventory levels but i have no such option.

Any help working this out would be appreciated.

Brent

Well I don't know what I was thinking or seeing. It turns out i forgot to rename the admin folder. Ay iz derp.

20 Feb 2012, 2:58 PM
#1456
spbw avatar

spbw

New Zenner

Join Date:
Jan 2012
Posts:
50
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I just gave up on the whole thing and moved on to V1.5 for security. I think I will redo product types and use seperate items.

Mark

23 Feb 2012, 12:22 AM
#1457
garmour avatar

garmour

New Zenner

Join Date:
Jan 2012
Posts:
5
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Zen Cart V.1.3.9

Like many others, I'm trying to get Products with Attributes Stock installed on my Zen Cart website.

The instructions are very brief and somewhat vague, especially when it come to installing the files on the server. Drag and drop into public_html with FileZilla leaves me a bit uneasy with the possibility of overwriting key files.

Also, I found that there is no includes/modules/YOUR_TEMPLATE folder. It has been suggested in this thread that we need to add the theme folder name here. Okay, what goes there? Or, does it merely need to be in place in case Zen Cart needs to put something there?

If anyone has clear concise instructions on installing this plugin, please post a link.

Thank you,
Mike

BTW, I know that this plugin works. A friend is using it on his website. The person who did the installation is not available.

23 Feb 2012, 12:56 PM
#1458
ec_web avatar

ec_web

New Zenner

Join Date:
Feb 2011
Posts:
89
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I am posting a link to a thread here, I'm not sure if I'm doing this right, but I need help with the stock by attributes mod and this particular problem discussed here:

http://www.zen-cart.com/forum/showthread.php?t=175661&page=2

I am using Stock By Attributes version 1-4-13

23 Feb 2012, 1:54 PM
#1459
ec_web avatar

ec_web

New Zenner

Join Date:
Feb 2011
Posts:
89
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

kuroi:

@gsdcypher, If you're using the current version, 4.7, then running the following SQL should neuter itYou may wish to also replace the files mentioned in the installation documentation with their originals from the release package of the Zen Cart version that you have installed, but that shouldn't be necessary.

@greenraingraphics, installing won't help you as your problem has nothing to Stock by Attributes. See post #405.

Will this uninstall work with version 1.4.13