Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

radhavallabh

Members
  • Posts

    711
  • Joined

  • Last visited

Reputation Activity

  1. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Yes I can see this .....radhavallabh.com/radhakrishna-store/ajax_index.php?cPath=25_32&nw=&sort=6d&1=17.
     
    What is nw? and where is 1=17 being processed?
  2. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Did you see if the filter parameters were being appended? and if so you need to make sure the parameters are being processed correctly in ajax_index.php.
  3. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    so you're saying filter.php also processes form data??? but aren't the filter checkboxes within the form that needs to get passed?
     
    If filter.php process form data as well then it's just getting too complex.
  4. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    the parameters are not being passed from the form
     
    can you change $("this.form") to $(this.form) inside the $get script like I have in the example script in the post further above B)
  5. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    @@radhavallabh
     
    I have updated your ajax_index.php (see your messages). The difficulty I'm having is that you have many changes to core code and your osCommerce version is far from standard. I don't know what these module files below do, that you have included in index.php, so there's no guarantee that any of this will work:
    include(DIR_WS_MODULES . FILENAME_FILTER_PROCESS); include(DIR_WS_MODULES . FILENAME_FILTER_FORM); To give you some explanation, the ajax_index.php file should have enough code to at least pull in some data from the server. The reason I use ajax_index.php is because that is how ajax works i.e. it calls a file which will manipulate data and you do something with the resulting data. ajax_index.php contains just enough code to manipulate the data needed for product listings, so won't contain all of what index.php contains especially not including template_top and template_bottom, since we do not want the whole website loaded inside the target div container, only the result data.
     
    Put ajax_index.php in you catalog folder and then update your filter script to include the script from the earlier post above.
     
    Test and see what happens. I will try to look at your site using developer tools to see if the ajax script is running. Let me know asap. 
     
    cheers
  6. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    @@radhavallabh
     
    As you know, this add-on is designed for osC234BS and was not intended for other versions, of which your osC non-BS version is not even standard, and it has many code changes. I see it is difficult to get this to work on your store, and I know this add-on works on osC234BS. It is not compatible with your store. I have tried to help and I am spending too much time on this. I don't know the inner workings of all your scripts and other code, which could impact on what we are trying to achieve and also impact on the correct functioning of your store. It would require looking at all your code in more detail, which I'm not prepared to do. But I will try to help one more time.
     
    This add-on should have nothing to do with your store since we are attempting to do something different, so please make sure it is not installed.
     
    Can you either attach copies or paste the code of your index.php and the ajax-index.php files for me to look at.
     
    In your filter.js script you will need to use this code (and no submit function):
    $("#attribs input[type=checkbox]").change(function(e) { e.preventDefault(); $.get('http://www.radhavallabh.com/radhakrishna-store/ajax-index.php', $(this.form).serialize(), function(data){ $('#left-div').html(data); }) });
  7. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Yes, make sure your forms have unique names/id's.
     
    Yes, that's what I meant, "onclick or something". The "change" function is the "or something" :).
     
    You need something like this (but get rid of the $("#form_srch").submit( ):
    $("#attrib input[type=checkbox]").change(function(e) { e.preventDefault(); $.get('http://www.radhavallabh.com/radhakrishna-store/more/filter/filter.php', $(this).serialize(), function(data){ $('#left-div').html(data); }) }); but I'm not sure if $(this).serialize() will capture the selected option, lets hope so.
     
    cheers
  8. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    What submits the form? Is there an onclick or something some where?
     
    The below code should work as long as the data inside filter.php is being returned in html format (not json). But if you have an onclick somewhere then the e.preventDefault won't work. In that case the $.get command needs to be inside the onclick code.
    $("#form_srch").submit( function(e){ e.preventDefault(); $.get('http://www.radhavallabh.com/radhakrishna-store/more/filter/filter.php', $(this).serialize(), function(data){ $('#left-div').html(data); }) });
  9. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    @@radhavallabh
     
    To get you started :),
     
    the way the script works in the module is that it targets specific html elements (and their id's and classes), initially to pinpoint the location of the product listing content:
    var bodyContent_listing = $("#bodyContent .contentContainer"); and then acting on the selected element:
    var sortlink = bodyContent_listing.find($("ul.dropdown-menu li a")); sortlink.on("click", function(e) { first setting up the ajax page link while gathering all the required parameters:
    var href_link = \'' . tep_href_link('ajax_advanced_search_result.php', tep_get_all_get_params(array('sort')) . 'sort=\'+sort_value+\'&languages_id=' . $languages_id) . '\'; and then loading the results page (i.e. ajax_advanced_search_result.php) within the target body content captured earlier:
    bodyContent_listing.load(href_link); Using developer tools with DOM explorer, you can see what element id's and classes are used on your site and then replace in the script with yours.
     
    You would need to create a new event for your customised filter (probably under each case statement):
    $("customer filter").on("click", function(e) { Also, the contents of the ajax pages, i.e. ajax_index.php, would need to be updated with the code from your current php files ie. index.php.
     
    cheers
  10. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Just to add to above, I'll try to help when I can.
  11. Like
    radhavallabh reacted to Tsimi in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    :D
    We need a miracle Dom!
    He wants this addon (http://addons.oscommerce.com/info/9374) to update the product listing page via ajax.
  12. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Anything's possible, even miracles :lol:. (It does work on stock std osC BS without core changes :D)
     
    @@radhavallabh Is your site even bootstrap?
     
  13. Like
    radhavallabh reacted to Tsimi in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    @@radhavallabh
     
    I knew that this addon would catch your attention. :D It doesn't work as it is. Let's see if auzstar can help out.
  14. Like
    radhavallabh reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Support thread for "Ajax Product Listing (bootstrap)".
     
    Report problems here.
     
    Feedback and comments welcome.
     
    Download link:
    http://addons.oscommerce.com/info/9455
     
     
    This add-on enables faster loading of product listing content, without re-loading the whole website, when using either the manufacturer/category filter drop down list, next/prev page and sort order.
     
    Useful, especially if you have other content above the product listings, where the current vertical scroll position is kept on the page when using the filter drop down list, next/prev page and sort order. For example, you may have "Category New Products Carousel" or "Category Popular Products Carousel" above category product listing content.
     
    Works for product listings on the following pages:
     
    - Category Product Pages
    - Specials Page
    - New Products Page
    - Search Results Page
     
    Note: content loaded via ajax is based on the stock osCommerce product listing content.
  15. Like
    radhavallabh reacted to Jack_mcs in View Counter   
    You need to find out the reason for the failure. It may be because your host is preventing it, the file name is triggering a blockage, the file size is too large or maybe something else. Asking you host about it is my first suggestion.
  16. Like
    radhavallabh reacted to Jack_mcs in View Counter   
    The .bin file is required. If your host won't allow the upload then you can't use this addon.
  17. Like
    radhavallabh reacted to Bob Terveuren in View Counter   
    Hi - can you rename it on your local computer as a .txt, upload and then rename on the server to a .bin?
  18. Like
    radhavallabh reacted to Jack_mcs in View Counter   
    @@radhavallabh Newer versions of oscommerce don't require an entry in the left column file. That's why the instructions state:
  19. Like
    radhavallabh reacted to Supertex in Mobile Devices - PayPal Standard - Buyer Being Returned to Shopping Cart After Purchase   
    @@radhavallabh
     
    I believe you're probably having the same issues as I am.  A customer MUST return to the store to have stock updated and send order process emails.  The problem is not affected by this fix - this only fixes mobile device purchases, which were completely broken (again, Ty Bob).
     
    Currently, if a non-mobile customer pays with PP account, they are auto-returned.  If they do NOT log into PP, and instead pay with a credit card, they are NOT auto-returned - they must 'click to return to (store)'  
     
    For click-to-return, there is no message telling them it's required, so some simply don't return.  For those orders...no emails...no stock updates.
  20. Like
    radhavallabh reacted to tgely in Bootstrap Modal Cart with Upsell Product   
    Hi Everbody,

    Modal Cart (Upsell base content module) for Bootstraped osCommerce. Popup could help to display
    prefered/upcoming/specials/connected/Featured/Xsell/also_purchased and so on products with modal cart page.

    Basicly its not figured out yet but would be appreciated some advices.
     


      
     
     
    Addon: http://addons.oscommerce.com/info/9334
  21. Like
    radhavallabh reacted to auzStar in [Contribution] Match Categories in Search Results for osCommerce versions 2.3.x   
    @@radhavallabh
     
    If you have the "Hidden Categories" add-on installed then you should have a "categories_status" field in the "categories" table, because the "Match Categories in Search Results" add-on relies on this when the setting Don't show hidden categories is set to true. If "categories_status" field is not used in the "categories" table, then there is some info in the install doco on how to modify the files.
     
    cheers
     
  22. Like
    radhavallabh reacted to Psytanium in [Contribution] Products Specifications   
    are you going to release new modified version soon ?
  23. Like
    radhavallabh reacted to Supertex in order status, stock change, & returning after paypal ... soo confused   
    @@radhavallabh
     
    May help:
     
    catalog/includes/languages/(your language)/modules/payment/paypal_standard.php:
     
    define('MODULE_PAYMENT_PAYPAL_STANDARD_TEXT_PAYPAL_RETURN_BUTTON', 'Complete My Order'); // Maximum length 60 characters, otherwise it is ignored. This replaces "Return to (store name)" button text on the PayPal site with "Complete My Order" indicating more clearly the need  to return to the store.  Original text implies nothing.
  24. Like
    radhavallabh reacted to kymation in [Contribution] Products Specifications   
    There's a link to a new filters box a few posts up. Use that one instead of the one in the addon package.
     
    Regards
    Jim
  25. Like
    radhavallabh reacted to kymation in [Contribution] Products Specifications   
    There is a filter box that you can put in either column, and there is one that you can put in the center of the page. Both are optional.
     
    It can also show a list of specifications on the product page, or a table of specifications for all of the products in a category. Also optional.
     
    I'm not sure if that answers all of yor questions, so ask again if you need more information.
     
    Regards
    Jim
×
×
  • Create New...