Page 9 of 15 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 147
  1. #81
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    So now that my client has had a week with this she is having issues..

    On the old Ceon one, you could sort by product, so when I was placing an order with a company I would just go into there and make sure I ordered what people were waiting on notifications for. This one doesn’t sort at all (even though there is a link on the Products column). It also doesn’t have the model number on there, so I have to keep going back to the product on the catalog page and looking up the model number. It also doesn’t tell me if it is in stock. With the old one, I could go in there and it would say how many were in stock. Then I could send notifications.
    Is anyone else having similar issues???
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #82
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by DivaVocals View Post
    So now that my client has had a week with this she is having issues..



    Is anyone else having similar issues???
    Nope never had that problem till now...

  3. #83
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    I'm trying to make a modification so that the POPUP will only work in the product page and not in the various product listing (also becouse the add-on only work in the product page) but till now i've no luck... any help would be appreciated

  4. #84
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by izar74 View Post
    I'm trying to make a modification so that the POPUP will only work in the product page and not in the various product listing (also becouse the add-on only work in the product page) but till now i've no luck... any help would be appreciated
    Remove the code that adds the fancy box in the TPL_footer or whoever you put it and add it to the TPL_product_info_default.

  5. #85
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by DivaVocals View Post
    So now that my client has had a week with this she is having issues..



    Is anyone else having similar issues???
    That is to be done/fixed along with the ability to delete and pagination in a future version.

  6. #86
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by bislewl View Post
    Remove the code that adds the fancy box in the TPL_footer or whoever you put it and add it to the TPL_product_info_default.
    Thanks bislew, it was quite simple... (the file should be tpl_product_info_display.php, right?).

    Maybe this is not related to the Back in stock add on so if i'm out of the box please tell me... I've modified the function_general.php so that it show a button instead of the simple text, and i was trying to modify the "out of stock" button to be able to be pressed and work exactly like the "Details" button opening the product info page from where you can click on the "out of Stock" button and it will correctly open the Fancybox. I know that clicking on the image just do the same, but having a button is simplier for customer.

    Here the function_general.php modification i've made:

    PHP Code:
    // cannot be added to the cart
        
    case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
          return 
    $additional_link;
          break;
        case (
    $button_check->fields['product_is_call'] == '1'):
          
    $return_button '<a href="' zen_href_link(FILENAME_CONTACT_US'''SSL') . '">' TEXT_CALL_FOR_PRICE '</a>';
          break;
        case (
    $button_check->fields['products_quantity'] <= and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):
          if (
    $_GET['main_page'] == zen_get_info_page($product_id)) {
            if(
    BACK_IN_STOCK_ENABLE == "true"){
                    
    $return_button '<div class="product_detail"><a class="back-in-stock-listing-popup-link" href="#back-in-stock-popup-wrapper">' zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALLBACK_IN_STOCK_LINK) . '</a></div>';
                    
    $return_button .= zen_draw_hidden_field('bis-product-id', (int) $product_id'class="bis-product-id"');
                    }
                    else{
                        
    $return_button zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALLBUTTON_SOLD_OUT_SMALL_ALT);
                    }

          } else {
            
    $return_button '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > and $_GET['filter_id']) > ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' $listing->fields['products_id']) . '">' zen_image_button(BUTTON_SOLD_OUT_ALTBUTTON_SOLD_OUT_SMALL_ALT) . '</a>';
          }
          break;
        default:
          
    $return_button $link;
          break;
        }
        if (
    $return_button != $link and $additional_link != false) {
          return 
    $additional_link '<br />' $return_button;
        } else {
          return 
    $return_button;
        }
      } 
    The part responsible for the link should be:

    PHP Code:
    $return_button '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > and $_GET['filter_id']) > ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' $listing->fields['products_id']) . '">' zen_image_button(BUTTON_SOLD_OUT_ALTBUTTON_SOLD_OUT_SMALL_ALT) . '</a>'
    but the link doesn't work, it miss the pruduct_id.

    in this image You can see the link (lower left corner) with the mouse pointer on the image:
    link2.jpg

    and this with the mouse pointer on the button:
    link1.jpg

  7. #87
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    The product listing box is slightly different as the fancy box is populated by jquery. Otherwise there would need to be a fancy box for each product.

  8. #88
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by bislewl View Post
    The product listing box is slightly different as the fancy box is populated by jquery. Otherwise there would need to be a fancy box for each product.
    Thanks for the info. I corrected the function so that now it work

    Here the PHP code of function_general.php, this way whae a product is out of stock it will show a CSS button that link to the product page.
    Finde the first line and replace with this code:

    PHP Code:
    // cannot be added to the cart
        
    case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
          return 
    $additional_link;
          break;
        case (
    $button_check->fields['product_is_call'] == '1'):
          
    $return_button '<a href="' zen_href_link(FILENAME_CONTACT_US'''SSL') . '">' TEXT_CALL_FOR_PRICE '</a>';
          break;
        case (
    $button_check->fields['products_quantity'] <= and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):
          if (
    $_GET['main_page'] == zen_get_info_page($product_id)) {
            if(
    BACK_IN_STOCK_ENABLE == "true"){
                    
    $return_button '<div class="product_detail"><a class="back-in-stock-listing-popup-link" href="#back-in-stock-popup-wrapper">' zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALLBACK_IN_STOCK_LINK) . '</a></div>';
                    
    $return_button .= zen_draw_hidden_field('bis-product-id', (int) $product_id'class="bis-product-id"');
                    }
                    else{
                        
    $return_button zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALLBUTTON_SOLD_OUT_SMALL_ALT);
                    }

          } else {
            
    $return_button '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > and $_GET['filter_id']) > ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . (int) $product_id) . '">' zen_image_button(BUTTON_SOLD_OUT_ALTBUTTON_SOLD_OUT_SMALL_ALT) . '</a>';
          }
          break;
        default:
          
    $return_button $link;
          break;
        }
        if (
    $return_button != $link and $additional_link != false) {
          return 
    $additional_link '<br />' $return_button;
        } else {
          return 
    $return_button;
        }
      } 
    Hope it will help

  9. #89
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by abcisme View Post
    Having difficulties getting this plugin to work properly. It subscribes fine and sends out a confirmation email. When I run the cron file, it says it is sending out notifications, but it doesn't send them. It marks the date in the database as 1899-11-30 00:00:00 for some, but others it leaves null. I'm not sure what the heck is going on. I need it to send out a notification when a product is changed from <=0 quantity to >1 quantity.
    I found the issue!
    When Maximum Emails per Batch = 0 Nothing goes out, change that value to what it should be or something incredibly impossible like 9999999

  10. #90
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by DivaVocals View Post
    So now that my client has had a week with this she is having issues..



    Is anyone else having similar issues???
    I discovered the issue is that it sorts by product_id (which is of little use) and so I will need to add a join statement with the product tables

 

 
Page 9 of 15 FirstFirst ... 7891011 ... LastLast

Similar Threads

  1. Ceon Back In Stock Notifications 3.0.0
    By conor in forum Addon Admin Tools
    Replies: 204
    Last Post: 8 Apr 2025, 05:19 PM
  2. Replies: 4
    Last Post: 14 Feb 2013, 09:33 PM
  3. back in stock notification - buttons 'back' and 'update' not working
    By flix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Mar 2010, 10:02 PM
  4. "Notify me when Out of Stock items is back in stock" Mod?
    By mes7000 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 21 Aug 2008, 06:04 PM
  5. Module: Back to Stock Items like this one how to?
    By explorer1979 in forum General Questions
    Replies: 0
    Last Post: 12 Aug 2008, 04:47 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR