Page 1 of 2 12 LastLast
Results 1 to 10 of 49

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Support Thread: Checkbox Textbox Icon Addon for Listings

    What does this plugin do?

    Well, with more mobile devices coming into play, the method(s) of selecting items are changing. To address a few additional ways to select items to be added to the cart, this plugin has been put together. There are three basic types of selection added by this plugin. 1) A check box for each product that when the selected items are submitted to the cart will add the minimum quantity of the item(s) selected, 2) a check box with an editable text box that begins with the minimum quantity, and 3) icons that when selected will add or remove the quantity of items that meet the minimum/unit requirements. Note: initial selection will add the minimum quantity or unit quantity whichever is greater of items. Additional quantity of the item will be added on a per unit basis.

    Options 1 and 2 require the use of: the product having a status of allowing the product's quantity box to show (!=0) (Setting is on the product's information page), Display Product add to Cart Button !=0, Display Multiple Products Qty Box Status > 0 and applicable checkbox/textbox combo to be active (Previous 3 settings are in the applicable Listing area: Product Listing, Specials Listing, New Listing, Featured Listing). The checkbox textbox combination overrides the checkbox only option, so if both are active then the checkbox textbox combination will appear.
    Option 3 requires the product to have a status of allowing the quantity box to show (!= 0)(Setting is on the product's information page), Display Product Add to Cart Button set to 3 (on with Adj per Product) and Display Multiple Products Qty Box Status == 0 (Previous 2 settings are in the applicable listing area: Product Listing, Specials Listing, New Listing, Featured Listing).

    It is also suggested that the option to see the cart after adding an item to it be turned off for using Option 3 of the newly added options; however, it is not required. (See in Admin Panel, Configuration->My Store->Display Cart After Adding Product)

    There is also an option that has been added to show the quantity of an item that is in the cart. The setting is located in the Product Listing area of the configuration panel and is applicable to all listings. There are three settings: 0 (default) - Don't show the total quantity of the item adjacent to the item, 1 - Show the total quantity of the item if there is more than zero, and 2 - Show the total quantity of item regardless of the number present (zero included).

    The plugin described above has been submitted for review and will be made available when posted.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Very cool, do you have a working demo?

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Quote Originally Posted by rbarbour View Post
    Very cool, do you have a working demo?
    Icon option temporarily activated at (No CSS rules applied):

    http://shop(dot)pugsugottasave(dot)o...-PUGS-Products



    Checkbox Textbox Combination temporarily activated at (No CSS rules applied):

    http://shop(dot)pugsugottasave(dot)o...-PUGS-Products
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Quote Originally Posted by mc12345678 View Post
    Icon option temporarily activated at (No CSS rules applied):

    http://shop(dot)pugsugottasave(dot)o...-PUGS-Products
    Wouldn't this be the same as a "add to cart" button?

    Quote Originally Posted by mc12345678 View Post
    Checkbox Textbox Combination temporarily activated at (No CSS rules applied):

    http://shop.pugsugottasave.org/All-PUGS-Products
    I really like the check-box concept here!

    But, there is always a but.

    I'm not sure I would want to change the value for items I didn't want versus items I did.

    I would be even more frustrated if I scrolled 20 products, check 3 and find out I had to delete the other 17 that were added to my cart.

    Or am I doing something wrong?

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Quote Originally Posted by rbarbour View Post
    Wouldn't this be the same as a "add to cart" button?
    Similar; however, a few differences (and by-the-way I did not remove/vary any of the default settings, but added to the existing... This way the plug-in would be relatively non-intrusive to the routine operation.) Said to be similar in that it will add to the cart, but if not mistaken (at least in testing) clicking on the add to cart button took me to the product information page with the product added to the cart. Here the design concept was to stay on the same page (and in this case kept the page at the "same" location) to be able to increase/decrease the quantity of an item like using a push-button arrow or similar.


    Quote Originally Posted by rbarbour View Post

    I really like the check-box concept here!

    But, there is always a but.

    I'm not sure I would want to change the value for items I didn't want versus items I did.

    I would be even more frustrated if I scrolled 20 products, check 3 and find out I had to delete the other 17 that were added to my cart.

    Or am I doing something wrong?
    Yeah... Sorry, I kinda threw the software to the site because most of my testing had been local. I've brought in the modified shopping_cart.php class template file, so now it operates like it was supposed to... Not like how you found it... Sorry...

    Yes, it would be a complete pain to click 3 items on a page of 20 and then have to dump the 17 others that came over. That's why some additional design was needed. Only issue I've seen in the way I implemented it is if there is a change of the settings in mid use of one page and clicks to load something to the cart... Albeit a minute detail, it's one of those things... :)

    Can try the check box concept again. The reason initially for the textbox to go along with it was that the box would be prepopulated with the minimum that can be added as calculated by one of the Zen Cart functions, and that it could be selected down the row, then the quantity(ies) could be modified as needed/desired. This all stemmed from the original request to have a checkbox that could be used to add an item or list of items with a minimum amount applied. Then there was some discussion about how to add multiples at once (textbox added in), then an increase, decrease option... Icon option...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Quote Originally Posted by mc12345678 View Post
    Similar; however, a few differences (and by-the-way I did not remove/vary any of the default settings, but added to the existing... This way the plug-in would be relatively non-intrusive to the routine operation.)
    That is always a plus!

    Quote Originally Posted by mc12345678 View Post
    Said to be similar in that it will add to the cart, but if not mistaken (at least in testing) clicking on the add to cart button took me to the product information page with the product added to the cart. Here the design concept was to stay on the same page (and in this case kept the page at the "same" location) to be able to increase/decrease the quantity of an item like using a push-button arrow or similar.

    Admin>Configuration>My Store : Display Cart After Adding Product

    Quote Originally Posted by mc12345678 View Post
    Yeah... Sorry, I kinda threw the software to the site because most of my testing had been local. I've brought in the modified shopping_cart.php class template file, so now it operates like it was supposed to... Not like how you found it... Sorry...

    Yes, it would be a complete pain to click 3 items on a page of 20 and then have to dump the 17 others that came over. That's why some additional design was needed. Only issue I've seen in the way I implemented it is if there is a change of the settings in mid use of one page and clicks to load something to the cart... Albeit a minute detail, it's one of those things... :)

    Can try the check box concept again.
    Same result, I may have to clear my browser cache though.

    Quote Originally Posted by mc12345678 View Post
    The reason initially for the textbox to go along with it was that the box would be prepopulated with the minimum that can be added as calculated by one of the Zen Cart functions, and that it could be selected down the row, then the quantity(ies) could be modified as needed/desired. This all stemmed from the original request to have a checkbox that could be used to add an item or list of items with a minimum amount applied. Then there was some discussion about how to add multiples at once (textbox added in), then an increase, decrease option... Icon option...
    Trust me I understand.

  7. #7
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    I noticed if I checked a box in page 1 then went to page 2 then back to page 1 the item was unchecked but if I then clicked "add selected products to cart" it was added to the cart. (green success bar)

  8. #8
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Did I miss something in the posts?
    This morning I downloaded a fresh copy of the CheckBoxTextBoxIcon06V1.0.0.zip plugin, very carefully merged the files that needed merging, logged in to my store admin and uploaded the CheckBoxTextBoxIcon06V1.0.0.zip plugin files, clicked on Configuration > My Store and... I have never installed any sort of User Tracking in my stores.

    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/languages/english/extra_definitions/user_tracking_install_define.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/auto_loaders/config.user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/classes/class.user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/extra_datafiles/user_tracking_database_tables.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/functions/extra_functions/user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/init_includes/init_user_tracking_install.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/languages/english/user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/languages/english/user_tracking_config.php
    Warning Some Checkbox TextBox Icon files do not exist. Perhaps you have uploaded them incorrectly? Or the permissions are set incorrectly?
    Warning ********** Installation has been aborted. **********

    THEN:
    Installed (uploaded) the files for the Admin section from the package I had downloaded yesterday and it worked with one exception. (last error above).
    Because the shopping_cart(dot) php file wasn't in a CB_TXTB_ICON folder.
    fixed that by adding a CB_TXTB_ICON folder moved shopping_cart(dot)php into it and it then installed properly and works.

    Just to be sure I didn't get a corrupted download this AM I re-downloaded the CheckBoxTextBoxIcon06V1.0.0.zip plugin before posting this message but still get the errors.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Quote Originally Posted by linuxguy2 View Post
    Did I miss something in the posts?
    This morning I downloaded a fresh copy of the CheckBoxTextBoxIcon06V1.0.0.zip plugin, very carefully merged the files that needed merging, logged in to my store admin and uploaded the CheckBoxTextBoxIcon06V1.0.0.zip plugin files, clicked on Configuration > My Store and... I have never installed any sort of User Tracking in my stores.

    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/languages/english/extra_definitions/user_tracking_install_define.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/auto_loaders/config.user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/classes/class.user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/extra_datafiles/user_tracking_database_tables.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/functions/extra_functions/user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/init_includes/init_user_tracking_install.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/languages/english/user_tracking.php
    Warning Missing or unreadable file:/home/lucienos/public_html/lozc14/maintain_lozc14/includes/languages/english/user_tracking_config.php
    Warning Some Checkbox TextBox Icon files do not exist. Perhaps you have uploaded them incorrectly? Or the permissions are set incorrectly?
    Warning ********** Installation has been aborted. **********

    THEN:
    Installed (uploaded) the files for the Admin section from the package I had downloaded yesterday and it worked with one exception. (last error above).
    Because the shopping_cart(dot) php file wasn't in a CB_TXTB_ICON folder.
    fixed that by adding a CB_TXTB_ICON folder moved shopping_cart(dot)php into it and it then installed properly and works.

    Just to be sure I didn't get a corrupted download this AM I re-downloaded the CheckBoxTextBoxIcon06V1.0.0.zip plugin before posting this message but still get the errors.
    You did not receive anything other than what was provided to be posted. Unfortunately, what was provided had more changes to it than applicable to this plug-in.

    In attempts to develop what would be my second installer, quickly provide a turnaround on the original package, and having not maintained routine tight revision control, I provided a faulty auto-installer (attempting to move files that did not exist in the package).

    I've now taken the opportunity to incorporate comments that were provided and to make a few improvements to the installer. Once the moderators have are able to update the package, then things should be back to the way they should have been to begin with...

    I did also find a discrepancy in how the images were loaded in the new products listing, I modified the icon names to coincide with the abbreviation used elsewhere in the package and I have included an updated core file that affects cart actions. In the default 1.5.1 installation if a product is in a product type other than general product, and is added to the cart from a category like listing while the cart is set to not show after adding a product, then the product would be added to the cart; however, the URI created would not include the products_id and potentially notify the guest that the product of interest did not exist. For those that have already installed the original version, I did not force deletion of the images upon installation (although uninstall is expected to remove the image(s) so if you have made changes to them you may want to back them up before performing the uninstall.)

    Thank you for putting up with this initial testing... One thing I can see possibly to be revised is in the icon version to have the "increase" button above the "removal" button; however, I felt like having the positions switch after the first addition made one think at least once before continuing. Could also have both buttons always visible, but with the removal button inactive when nothing is in the cart. Trying not to add too many configurable options nor degrade the "shopping" experience.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: Support Thread: Checkbox Textbox Icon Addon for Listings

    Love this plugin for iPads! however.....

    In come cases "CheckBoxTextBoxIcon06V1.0.0" (CBTBI) and "column_layout_grid_2_3_1" (CLG) don't play well together.
    I suspect it may a simple matter of layout formatting.

    On a clean test install (default classic template) of CLG merged with CBTBI everything is cool until you enable Display Cart Quantity and/or the add to cart/remove from cart buttons.
    I could not determine what part (if any) of the code in tpl_modules_product_listing(dot)php controls the layout of that portion of the new code in CBTBI.

    Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product; 3=on with Adj per Product) 3
    Display Multiple Products Qty Box Status and Set Button Location 0
    Display Check Box and Text Box for Checkout 0
    Display Check Box for Checkout 0
    Display Cart Quantity (0 - None, 1 - Greater than 0, 2 - Always) (1 or 2)
    Display Product Description 150

    Product Listing - Layout Style columns
    Product Listing - Columns Per Row 4
    Product Listing - Layout Style - Customer Control 0
    Product Listing - Show Sorter for Columns Layout 0

    The product to the right of the product you enable with the above mentioned features (And any following products) get shoved down the page
    If you change the file tpl_modules_product_listing(dot)php provided by CGL back to the original (classic) tpl_modules_product_listing(dot)php the layout is correct.
    What happens when you use the original tpl_modules_product_listing(dot)php file is the system picks up the tabular (Tables version) form of the layout and therefore there are no div's to deal with.
    However it still does the column layout which puzzles me.



    Attachment 13654

    This is the additional code in the tpl_modules_product_listing(dot)php file by CGL to load the columnar layout.
    <?php
    /**
    * load the list_box_content template to display the products
    */
    if ($product_listing_layout_style == 'columns') {
    if (PRODUCT_LISTING_GRID_SORT) {
    echo "\n" . '<div id="gridSorter">' . PRODUCT_LISTING_GRID_SORT_TEXT . '<ul>';
    for ($col=0;$col<sizeof($grid_sort);$col++) {
    if ($grid_sort[$col]['text']) echo '<li class="item">' . $grid_sort[$col]['text'] . '</li>';
    }
    echo '</ul></div>' . "\n";
    }
    require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
    } else {// (PRODUCT_LISTING_LAYOUT_STYLE == 'rows')
    require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_tabular_display.php');
    }
    ?>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3726
    Last Post: 2 Feb 2026, 06:28 PM
  2. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  3. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  4. v151 Admin Master-Categories Link Icon addon [support thread]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Oct 2012, 08:07 PM
  5. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM

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