ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I think I need a bit of a sanity check with the install of this mod - I'm not even sure I'm posting in the right support thread.
Using SBA 1.5.3
Zen v1.5.1
I have a product with two attribute dropdowns
I select 'Giclée Print' from the first and 'Frame' from the second and add to cart
go back to the same product
and select 'Giclée Print' from the first and 'No Frame' from the second and add to cart
all works swimmingly - two items added to cart.
But, if I do the above in the opposite order i.e. 'No Frame' followed by 'Frame' I get an Out of Stock error on the 'Frame' item in the cart.
All my stock levels in SBA look ok. Does anything obvious stand out here?
I have this little (big) problem.
When adding something to the shoppingcart, loggin and click the checkout button, it loops. It keeps refreshing the shoppingcart page, but won't go forward. I don't know what the problem is, but I have this small voice saying it could be something to do with this addon.
This is what chrome elements gives as an error:
And than the 3th line is line 38:PHP Code:
Uncaught Reference
Error: $ is not definedzcJS.ajax @ index.php?main_page=shopping_cart:38(anonymous function) @ index.php?main_page=shopping_cart:147
jquery-1.11.1.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
And the 1sth line is line 147:PHP Code:
zcJS.ajax = function (options) {
options.url = options.url.replace("&", unescape("&"));
var deferred = $.Deferred(function (d) {
var securityToken = 'b3a44e98ef6d02b0d4e901a53a237517';
var defaults = {
cache: false,
type: 'POST',
traditional: true,
dataType: 'json',
timeout: 5000,
data: $.extend(true,{
securityToken: securityToken
}, options.data)
},
settings = $.extend(true, {}, defaults, options);
I don't know what this meansPHP Code:
zcJS.ajax({
url: "ajax.php?act=ajaxPayment&method=setNoscriptCookie",
data: {test: '1'},
async: false
}).done(function( response ) {
![]()
Last edited by Pompidompie; 6 May 2015 at 08:19 AM.
Language: Dutch
English: not so very good
Allready have a live shop, so building local/on my computer
There are several factors not yet explored.
1) Please try a different browser.
2) Does this happen with product not tracked by SBA?
3) Does this happen when temporarily using the default/classic template?
4) Does the item that is in the cart have stock?
5) Is this a test site and are you able to login with or without stock in the cart while using your current template? Does this change when temporarily using the ZC classic template?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
There are several factors not yet explored.
1) Please try a different browser.
2) Does this happen with product not tracked by SBA?
3) Does this happen when temporarily using the default/classic template?
4) Does the item that is in the cart have stock?
5) Is this a test site and are you able to login with or without stock in the cart while using your current template? Does this change when temporarily using the ZC classic template?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Zen Cart v.1.5.4
SBA v 1.5.3
Hello - I have not been able to find the answer in the thread so far, so I thought I'd ask here so (hopefully) at least someone can confirm the answer is in here somewhere?
SBA appears to be installed correctly, but when you order ZC is using the total stock to see if the item is in stock.
For example - Widget#1 comes as either Red or Blue.
If the stock is set to Red = 5, Blue = 1
It will not say out of stock if you order 6 Red (because there are 6 widgets - but obviously not 6 red ones, hence the issue)
Similarly, if you order 2 Blue and 5 Red it will say they are both out of stock (because you've ordered 7 in total, and there are only 6 in stock, although the order for Red is in stock)
If someone could point me in the right direction that would be great. Thank you.
Congratulations on merging SBA 1.5.3. With ZC 1.5.4;however, that version was written for ZC 1.5.1. There is version 1.5.4 thatiscompatible with ZC 1.5.3and ZC 1.5.4 available at https://github.com/potteryhouse/stoc...12345678_ZC154
That version should resolve your issue.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Hi
Is Stock by Attributes - Version: 1.5.3 also compatible with zen cart version 1.5.0?
thanks
Generally, the best way to confirm "compatibility" is to compare the code changes as well as to test. I haven't tested against ZC 1.5.0 and I do not know if potteryhouse, jeking or others have so at this point I can only speak from having done upgrades and worked with both versions of ZC. It seems to me that it should work as well on 1.5.0 as it does on 1.5.1.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Hello,
I am using zencart 1.5.1, and have encountered several issues and would really appreciate any help.
My clothes store has Tshirts with S,M,L sizes. If all sizes are in stock everything works fine.
However, if only 1 size is available, and I hit "Sync Quantities", all sizes show up with the same number. Here 1 only have small size:
https://www.clothes4mom.ca/index.php...&products_id=4
For another one there are 2 sizes (S,M) with L=0; however it shows as a sum on the page: (L should be zero, but instead it is S+M)
https://www.clothes4mom.ca/index.php...&products_id=5
Bookmarks