Re: Stock by Attributes Installation
YOUR_TEMPLATE simply means the template that you are using on your site. Rename the folder to match your template folder's name before uploading it to your site.
rename the admin folder to whatever you call your admin. these instructions were written for Zen Cart version 1.3.8, and the people who've updated the mod since them don't appear to have updated then for the changes that took place in 1.3.9.
Also, as you've told people where your site is and your admin name, I recommend changing it again.
Yes, you overwrite your site's version of the six files listed with those in the mod release. But if you've made any other changes to them, or installed any other mods that change them, those changes would be lost, so you would need to merge the changes together. Sounds scary if you're not a programmer, but is easier than it sounds.
Your post suggests you're thinking of uploading the files individually - not the best plan. They are organised to allow you to upload them together and arrive (after you've tweaked the admin and YOUR_TEMPLATE folder names), in the correct locations, just check that your FTP programme has overwrite enabled (it's normally the default).
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
Pablo
Two things here - If you have attributes set on the product, it will list in the attributes stock table.
The only way it won't show in your products pages where the customer picks it is if stock level is 0.
My guess is that you should go ahead and fill in all the attributes with large quantities and leave the
"Sync Quantities" button alone. I have found that that button produces some very unwanted results.
I find there is sometimes a need to press that button, because my stock counts become out of wack.
I hate that button... I don't understand the use of it exactly. If the mod worked the way it should then that button wouldn't be necessary, right? And why is it there next to each product? I'm confused about that!
That button didn't used to be there in earlier versions... Can somebody enlighten me about it? I was actually thinking of setting up a CRON job to keep syncing quantities.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
I am using v1.3.9f with Stock by Atributes module. I had problems with this before until I realized that I had to copy the header_php.php as per this support thread.
So now I have applied the 15% sale on the entire catalog and this is whats happening:
I see all the items with reduced price in the catalog admin as well as the shop. But when the products get added to the shopping cart - on some products with attributes it displays the full price and for some other products with attributes it works as expected.
For example the following product works fine:
http://sweetus.com/index.php?main_pa...roducts_id=324
While this one, displays the full price for default attribute and wrongly calculates the 15% discount (it really calculates the 15% discount on the default attribute and applies it to the other attribute) for the other atribute:
http://sweetus.com/index.php?main_pa...roducts_id=251
Thanks again for reading through this
I hope all this made some sense. Please help!!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Sorry if this has already been answered. I looked around and didn't see anything.
I have installed stock by attributes as the instructions said. and it seems that all the files went on the server correctly. but I can't find the section to set the stock by attributes, Catalog->Products with Attributes Stock does not show up anyone know what the problem might be?
I am using Zen Cart v1.3.9h
stock by attributes version 1.4.13
Thanks for any help
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Check to be sure that the files in the "Stock By Attributes" zip file actually got uploaded to "YOUR ADMIN" folder. If you have renamed your admin folder, as you should have and uploaded the "ADMIN" folder in the zip file without renaming it to your new admin folder name, files you need are not in the right place. :frusty:
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hi. I have a problem which I believe may have come up before, my 'out of stock items' are able to be checked out using the PayPal Quickpay button. The normal 'Pay button' correctly loops back to the cart with an Out Of Stock message. This is only the case when my products have attributes, with all other products both buttons loop back to the cart.
On page 70 of this thread i found this info but it doesn't seem to have made a difference.
****
Similar patch for making Pay Pal Express not allow checkout with not enough stock according to SBA.
Edit ipn_main_handler.php and find:
Code:
require('includes/application_top.php');
Just below that, add the following code:
Code:
// Stock Check - kiddo hack
if ( (STOCK_CHECK == 'true') && (STOCK_ALLOW_CHECKOUT != 'true') ) {
$products = $_SESSION['cart']->get_products();
for ($i=0, $n=sizeof($products); $i<$n; $i++) {
unset($attributes);
if(is_array($products[$i]['attributes'])){
$attributes = $products[$i]['attributes'];
} else {
$attributes = '';
}
if (zen_check_stock($products[$i]['id'], $products[$i]['quantity'],$attributes)) {
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
break;
}
}
}
This will not make the yellow button un-active, but will send the customer back to the shopping cart so they can change the cart contents so no out of stock items.
***
Any help would be appreciated, thanks in advance!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hi All,
Up until now I have been managing to get by just reading the forums, but its come time to post as I am stuck.
From the files readme, it says:
Quote:
Many of the changes made to this add-on from its previous incarnation were to support proper language support in the Admin functions and an additional "stock available + quantity" message in the shopping cart. To take advantage of these facilities three files need to be created. As a guide, I have included my translations of these files into French in the release pack. If you are using a language other than French, edit the directory paths from "french" to your language and similarly edit the three files.
All I finf in the release pack is some empty french folders? I am trying to get the module working with my spanish language pack.
Any help would be appreciated.
Cheers
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
evol2007
All I finf in the release pack is some empty french folders? I am trying to get the module working with my spanish language pack.
I wrote that over three years ago, and alas a number of people have made substantial (and not always helpful) changes to the mod since, but the readme has remained much the same :(
Best advice I can give you would be to make copies of the folders called english and make your language changes in there.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Thanx for the reply Kuroi. I see this is going to take a lot more effort than anticipated!! :huh:
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Cool products, BTW...I'll play around with this today on our cart and see what happens. Will post later. Thanks for the heads up...this could be a big problem if typical. The obvious difference between the two is that one attribute adds $10 to the item the other is just a color preference.
Quote:
Originally Posted by
zc_fan
I am using v1.3.9f with Stock by Atributes module. I had problems with this before until I realized that I had to copy the header_php.php as per this support thread.
So now I have applied the 15% sale on the entire catalog and this is whats happening:
I see all the items with reduced price in the catalog admin as well as the shop. But when the products get added to the shopping cart - on some products with attributes it displays the full price and for some other products with attributes it works as expected.
For example the following product works fine:
http://sweetus.com/index.php?main_pa...roducts_id=324
While this one, displays the full price for default attribute and wrongly calculates the 15% discount (it really calculates the 15% discount on the default attribute and applies it to the other attribute) for the other atribute:
http://sweetus.com/index.php?main_pa...roducts_id=251
Thanks again for reading through this
I hope all this made some sense. Please help!!