Results 1 to 7 of 7
  1. #1

    Default Stock by attributes for 1.3.0.2

    I just installed this module and it works like a charm.

    One of the issues though is that there are no page breaks. One suggestion in the read me is that I modify the php to build this in. Since I don't know nearly enough about php to do so, I am wondering if someelse has a copy I can use?

    Also, is there a way to mark which attributes are in stock, so the customer can see? Current the only way is trial and error by viwing them in the shopping cart.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by attributes for 1.3.0.2

    I'm afraid I don't know of any off-the-shelf code for your first question, however your 2nd has been done to death in the various Stcok by Attributes support threads.

    If you go this archive thread and seek out post #110 by Grayson, and her correction in #132. She shares code that she uses to show quantities for each attribute (though it will only work when there is at most one attribute per product), which could easily be adapted to supress display instead when the quantity is 0.

    Other people have adapted this programming to indicate for example, simply whether there is or isn't stock on the product info page, and have also confirmed that with only minor adaptations, Grason's code can be used in the current version of Zen Cart.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: Stock by attributes for 1.3.0.2

    Thanks for that. It didn't work however, since I don't have that file. I'm running the version for 1.3.x by danielcor, which doesn't have that file - includes/modules/pages/product_info/main_template_vars_attributes.php. However, I'll have a hunt around to see if there any mods for the one I'm running.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by attributes for 1.3.0.2

    Don't spend too long hunting as I don't believe that you'll find any.

    If instead you go to the support thread for Danielcor's version of the mod and look at posts #166-#169 you'll find somebody else with the same problem and the resolution. Although billed as solving it for 1.3.5, this adaptation would work for all version 1.3+.

    However, there's a separate question here? Why aren't you upgrading to Zen Cart 1.3.5?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5

    Default Re: Stock by attributes for 1.3.0.2

    Yeah I had a hunt around and found the answer - its a different file in 1.3.x. I'll have a looksee at the other thread and hopefully find an answer.

    As for upgrading -I just patched it because I stuffed up the database accidentally by deleting and entire table (configuration_id). As I understand it, 1.3.0.2 is moreorless bug free, whereas 1.3.5 has a few bugs. I'll probably wait until a later version comes out with additional features that I need before I bother. I'm hardly database or php literate, so I have to convince my friends to do it for me.

  6. #6

    Default Re: Stock by attributes for 1.3.0.2

    Oh - that was the same thread. I have multiple attributes, but I can combine them. Its the lesser of two evils as far as I'm concerned. I sell jewellery and have rings in different colours and size in the same listing. Currently I have colour and size seperate, but combining them is not problem.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by attributes for 1.3.0.2

    Quote Originally Posted by royalgemsnz View Post
    As I understand it, 1.3.0.2 is moreorless bug free, whereas 1.3.5 has a few bugs.
    I'm afraid your understanding is wrong. Although like any body of software this large and complex, 1.3.5 does have some bugs, it also contains numerous security patches and fixes all of the following 1.3.0.2 bugs
    # Bugfix: Deleting Images from admin for products, changed to work with recent browser updates: Added checkbox to handle removal.
    # Bugfix: Nick Name labels for forum now consistently displayed, and "*required" shows correctly
    # Bugfix: Zone problems related to adding addresses during checkout resolved
    # Bugfix: Zone problems where grabbing similar zones would ignore selected entry resolved
    # Bugfix: resolved display problem of "referral source" field in My Account->Edit
    # Bugfix: File Upload status messages now show when using upload attributes
    # Bugfix: table-cell alignment fix in tpl_tabular_display
    # Bugfix: My Account display of order information uninitialized array repaired
    # Bugfix: My Account display of newsletter/notifications now turns off properly via admin switch
    # Bugfix: Admin->Customers wasn't showing linked customer reviews stats properly
    # Bugfix: Shopping Cart sidebox had display blocks misaligned within loops
    # Bugfix: fixed problem with duplicates in whos_online display
    # Bugfix: shopping cart qty box no longer drops too many products when clicking update
    # Bugfix: prev/next now displays properly when "always show cat" is set to 1
    # Bugfix: when logging out, customer-selected language is retained until session expires
    # Bugfix: duplicate status indicators removed from order status html-email notices
    # Bugfix: email option for "sendmail-f" reinstated
    # Bugfix: fixed html syntax error on checkout-shipping-address page
    # Bugfix: CC module no longer stores full CC numbers
    # Bugfix: admin legends with red icons displayed inconsistent ALT texts
    # Bugfix: Breadcrumb issues with "Categories Always Show" switch set to a specific category
    # Bugfix: separated featured/specials properly in Admin->Catalog->Featured
    # Bugfix: phpBB link sometimes didn't detect properly if phpBB only partially existed.
    # Bugfix: error in FILENAME_FEATURED_PRODUCTS when multiple-add-to-cart was turned off
    # Bugfix: fixed attributes display of "Please Choose:" when READONLY are used
    # Bugfix: cPath problems on searches and filters resolved
    # Bugfix: reinstate functionality of admin switch for Minimum Value of Also Purchased Products
    # Bugfix: reinstate out-of-stock indicators on checkout_confirmation page
    # Bugfix: metatags handles manufacturer filters correctly
    # Bugfix: metatags handles unknown page correctly
    # Bugfix: also-purchased-products centerbox no longer queries the database if disabled
    # Bugfix: checkout restrictions fixed where gift certificate/coupon used and payment module not properly selected
    # Bugfix: adding a new admin was logging into new admin's account immediately (RG problem)
    # Bugfix: admin product-type listing now goes to edit layout mode upon clicking
    # Bugfix: ez-pages listing includes navigation buttons
    # Bugfix: languages_code setting for some admin areas wasn't set properly including editor
    # Bugfix: checkout_confirmation page has SSL link to shopping-cart to retain session for edits
    # Bugfix: fixed XHTML error on contact-us page
    # Bugfix: fixed line-spacing problems on support files for phpMailer. Added .htaccess to folder.
    # Bugfix: repaired pulldown form in customers-edit screen
    # Bugfix: HTML Emails were inserting @CRLF incorrectly for BR and P tags
    # Bugfix: restored linefeed-handler setting for emails
    # Bugfix: style added to handle "order_history" sidebox content so UL wasn't misaligned
    # Bugfix: upcoming-products page was showing disabled products
    # Bugfix: zones shipping module wasn't honoring tax-basis setting properly
    # Bugfix: phpBB link in information sidebox builds smarter based on 1.3 syntax change
    # Bugfix: SMTP server port setting reinstated
    # Bugfix: checkout cart-contents areas have a CSS selector
    # Bugfix: Page Not Found page now sends HTML 404 header
    # Bugfix: table shipping module now works with total, weight, and items
    # Bugfix: free shipping enhanced to work with item/weight/price on shipping modules
    # Bugfix: group-pricing module wasn't working with tax classes properly
    # Bugfix: Default Order Status was being set too early for zero-balance orders
    # Bugfix: redemption of Gift Certificate from GV-FAQ page fixed
    # Bugfix: phpBB error of duplicate email upon editing customer name resolved
    # Bugfix: product+download combo items excluded from free-shipping price or item
    # Bugfix: shipping modules were not consistently handling weights < 1
    # Bugfix: product-status was being set to off incorrectly if quantity was <1 instead of <=0
    # Bugfix: Version Info listing of database-upgrade history was sorted incorrectly and displayed some duplicates.
    # Bugfix: footer bar logic changed for ez-pages listing to remove a DIV that caused troubles
    # Bugfix: company field-validation on create-account wasn't happening
    # Bugfix: qty boxes weren't hiding properly using pulldown filter sideboxes
    # Bugfix: SQLPatch no longer mistakenly displays debug results of processed SQL statements
    # Bugfix: some "extra_" folders were loading non-php files mistakenly
    # Bugfix: More MySQL5 fixes implemented to prevent datatype errors requiring STRICT_TRANS_TABLES disabled. These fixes are not exhaustive. Still not MySQL5-certified
    # Bugfix: group-pricing and coupons order-total modules not calculating taxes correctly. Structurally improved to be full credit-class modules.
    # Bugfix: improved garbage-collection routines for session-handling
    # Bugfix: Shipping estimator page was not properly nesting table components
    # Bugfix: Admin... when editing customer records, customer's "zone" would be busted and replaced with the 2-letter state abbreviation, resulting in broken tax calcs in next checkout
    # Bugfix: Shipping Estimator now remembers more information about customer in popup unless a timeout occurs
    # Bugfix: product_music template was not showing genre and artist information
    # Bugfix: address-book restrictions less than 2 was still showing "change address" on checkout
    # Bugfix: sort order problem on modules in admin was preventing some modules from triggering if sort orders were the same
    # Bugfix: Admin password-forgotten is now treated as an SSL page
    # Bugfix: the category icon display on product-info pages now allows image option on/off
    # Bugfix: fixed stylesheet problem with category tabs in Opera
    # Bugfix: more reliable logic for stripping non-numeric characters from gv/coupon inputs
    # Bugfix: removed empty <div> when banner is blank and no tagline defined for tpl_header
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v151 Using Stock By Attributes, In Stock Value Is Sum Of Attributes' Stock
    By y0ul053 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 29 Aug 2013, 04:23 PM
  2. Replies: 5
    Last Post: 3 Aug 2011, 08:15 AM
  3. Stock by Attributes and displaying next to attributes for Customers 1.3.8
    By tirjasdyn in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 May 2009, 10:31 PM
  4. Stock level indicator, for stock by attributes controller
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2008, 09:49 AM
  5. Stock for attributes
    By Rachelflam in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Oct 2007, 05:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg