No Comments

How can I load data dynamically based on a dropdown selection?

What is example.com/rss/catalog/notifystock/ for?
% OFF all items in category x & Cart Subtotal must be = or less than $

I have lots of experience editing Magento sites on the backend but not so much coding knowledge outside HTML, CSS and chopping and changing PHP where necessary.

I would like to create a dropdown menu which contains a list of countries and loads the distributor information for that country when the option is selected.

My question is, what is the easiest to learn and quickest method to do this? I have researched some AJAX methods but they look far too complicated for me to learn in the timescale I wish to achieve this.


Solved

I have used a select in a HTML file which calls the values from another HTML file and stored these docs on the server. I have then displayed these in the Magento page using an iFrame.

Related Posts

  • Remove a shipping method from a store view (2)
    I have a magento store with 1 website operating 2 store views within it. I want to hide a shipping method which is displayed in a list item in one of the store views. I understand I can use css display:none for the li, but I am not sure how piece everything together. From my […]
  • Adding a new block to a category page (2)
    Hi I've created Ajax menu in a .phtml file using some lib and JavaScript & html code however I called the file for 1 product type. I don't want it to appear except in this product. However the location is going in a different location than where I want this block to be. I'm […]
  • Magento ajax request what actually contoller will return (1)
    i am learning begging step of creating a ajax request in magento and mostly i found same code logic. But where i am confused in these tutorials are actually what controller will return? https://www.atwix.com/magento/ajax-requests-in-magento/ in ajax request controller action is […]
  • M2: Is there a faster way to Update Frontend Themes? (1)
    When updating frontend components in Magento 2, meaning Templates as phtml, html templates for Knockout, CSS files, Less Files, Fonts, Images etc. I can only get this to work by Flushing the /var and /pub/static folders running php bin/magento setup:static-content:deploy for […]
  • M2: Is there a faster way to Update Frontend Themes? (1)
    When updating frontend components in Magento 2, meaning Templates as phtml, html templates for Knockout, CSS files, Less Files, Fonts, Images etc. I can only get this to work by Flushing the /var and /pub/static folders running php bin/magento setup:static-content:deploy for […]
  • Magento 2 product import won't import images (3)
    I am importing products using the built in CSV import (System - import - products) All my data is imported fine, but I get an error "Imported resource (image) could not be downloaded from external resource due to timeout or access permissions in rows: 1, 2, 3, 4, 5, 6, 7, 8, 9, […]
  • Troubleshooting Magento 1.9.2.4 with PHP 7 (1)
    I've been doing some research and decided to go ahead with an upgrade to PHP v7. Initially my front-end and back-end were non responsive, just a blank white page. Running the latest version of Magento 1.9.2.4. I came across the inchoo compatibility module: […]
  • Magento 2 Developer Mode 500 Error (3)
    I followed the Magento dev docs per below: If you add a new .html template, and then edit it, the changes will not apply until you do the following: delete all files in the pub/static/frontend and var/view_preprocessing directories, then reload the pages. You can delete the […]
  • Link AJAX with PHP file Magento 2 (0)
    I'm trying to create a simple "Register your interest" action. I have the front end working but I'm not sure how to link the AJAX to the PHP file. Where do I put the PHP file? My current code for the AJAX is: $.ajax({ url: "register-interest.php", […]
  • Remove index.php from admin url on live server? (3)
    I am trying to resolve this problem form 2 day ago but i cant success to resolved it I given all details of this problem we have magento installed on root directory i.e public_html on live server .htaccess file of server is something like this, AddHandler […]
What is example.com/rss/catalog/notifystock/ for?
% OFF all items in category x & Cart Subtotal must be = or less than $

Be the first to post a comment.

Add a comment