Struggling to determine the count of products in a category collection that also includes products from any subcategories. Specifically, I'm looking to filter this count based on a product collection, only including products that match certain criteria... ...
Is it possible to execute a Select Statement in _preparecollection within Magento when the main table is joined with another table that has 2 rows containing 1 parent ID? The current tables available are: Main Table: https://i.stack.imgur.com/DWrep.png ...
I'm looking to incorporate a quantity box into Magento's list.phtml file. The current code for the box is as follows: <div> <button type="button" style=" margin-left:185px; min-height:48px;"title="<?php echo $this->__('Add to Cart') ...
Seeking assistance in extracting product prices from Magento based on customer groups. Instead of utilizing tier pricing, I have set different prices for each customer group on a standard-priced product. However, I am facing difficulty in retrieving this ...
I am in the process of creating an e-commerce website using Magento for a client. The issue I am facing is that when I include a configurable product as a related item, it displays the product but without a checkbox. From what I have researched, Magento do ...
I've been tinkering with the Magento website over at For some reason, the CSS on the Home page doesn't load initially, but it loads fine when you click on any other link like Products or Gallery. Any ideas why this might be happening? Thanks in advance! ...
Recently diving into the world of Magento 1.9, I find myself facing a challenge with my custom theme. My goal is to incorporate a functional mini-cart in the top menu. However, I am currently unsure of the best approach to make this happen. Any tips or g ...
I recently set up PayPal Standard on my website, but it seems to be acting as an express checkout instead. I do not want PayPal checkout on the website. How can I change it to a more traditional payment method like PayUmoney or CC Avenue? Additionally, I ...
Embarking on the journey of creating an e-commerce website using Magento 1.7 has been quite the challenge for me as a newcomer to the platform. I have written the following code in /app/design/frontend/default/default/layout/catalog.xml: <block type=" ...
Is there a way to reindex a Magento 1.7.02 version site with over 24,000 products and numerous categories? Whenever I attempt to reindex the product price index in Magento Admin Index Management, it triggers an internal Server Error 500. Upon inspecting t ...
Can anyone provide assistance on how to implement the collapse and expand functionality for Magento layered navigation? I have come across this code, but I am unsure of how to use jQuery with the dd dt class. <dl id="narrow-by-list"> <?php $ ...
Currently, I am in the process of setting up a tracking pixel for a client that requires the price (post-discounts) for each purchased item. The tracking pixel is fired on the success page where I iterate through the items to retrieve the price. However, ...
I am modifying my addtocart.phtml file on my Magento website. My goal is to use PHP code to hide or show the add to cart button based on the product's category. Here is what I have in mind: <?php if($_product_category == "beds"){ <div class="add ...
While using Firebug, I discovered that JSON generates a message within the success function. However, I am having trouble figuring out how to display it. As a workaround, I attempted to add the following code snippet: if(data.status == 'ERROR'){ ...
Being new to Magento, I am trying to customize the product category page but struggling to locate the necessary file. The exact location of the category file eludes me. I am unsure of where to find this specific page. Thus far, I have observed that the p ...
Encountering an error message while working on a Magento PHP file and executing a CREATE TABLE query: SQLSTATE[42000]: Syntax error or access violation: 1069 Too many keys specified; max 64 keys allowed The section of code causing the issue is as follows ...
Currently, I am dealing with a project involving angularjs and magento. The challenge I am facing is that in magento, I am unable to add ng-model to each form element due to them being created dynamically. To retrieve the submitted data using jQuery, I hav ...
Currently facing an issue while attempting to set up Magento on my server. I have transferred all files from another server to mine, but now encountering an error. Could this be related to the symlinks I generated or is it caused by something else? Encoun ...
I am currently using Magento 1.9.2.4 (1.9.2.3 in my Testpage) and I have a few configurable products with multiple options. Each product (child of the configurable one) has a different delivery time. To achieve this, I created an attribute called "delivery ...
Currently, I am attempting to integrate Selenium into Magento TAF within Netbeans using a Wamp Server. However, when I execute the test, I encounter the following error: Call to undefined function curl_init() in C:\wamp\bin\php\php ...
An error occurred while attempting to process your request Issue with file: "C:\wamp\www\magento\app\code\core\Mage\SalesRule\sql\salesrule_setup\upgrade-1.6.0.0-1.6.0.1.php" - SQLSTATE[42000]: Syntax ...
It seems like the support provided by Varien for those who purchase the Enterprise Edition is not very helpful, so I am turning to this community for guidance. In Magento, I want to create a product attribute of type int. However, when I try to do this fr ...
My product list is quite large (10000 items) and using ORM for adding a new category and product is proving to be very slow. I am considering utilizing SQL for direct database access instead. However, with numerous tables to navigate, I am unsure of whic ...
My shipping free rule is set up as follows: Applicable to all customer groups No coupon required Limited to 0 uses per customer Conditions: Cart total must be >= 100, and Shipping country must be NL, BE, or DE Free shipment available for matching items. ...
Help needed to integrate a custom script on the success page. I have created a file called luisvalenciaaffiliatecj.xml with the following path: /app/design/frontend/base/default/layout/luisvalenciaaffiliatecj.xml <?xml version="1.0"?> <layout ve ...
Every time I try to upload an image in the product option, Magento 1.9.0.1 gives me an error saying "Disallowed file format." ...
I am seeking assistance to update an avatar picture using Ajax in Magento. Currently, my form is functioning without AJAX, utilizing the default form action="<?php echo $this->getUrl('customer/account/editProfile') ?>" Here is my code : < ...
In this scenario, the code is designed to assign the class "active" to the element with the ID "39" under two specific conditions. Firstly, the body must contain the class "hotel-stores", which can come in variations like hotel-stores, hotel-stores-1, hote ...
For the past few days, I've been grappling with a specific task in my Magento store. I am trying to dynamically display the bundles that include the current product on every product page. If anyone can point me in the right direction or provide some help ...
Despite making changes or deleting app/code/core/Mage/Core/Model/Email/Template.php, emails are still being sent. I have tried modifying the functions but my changes do not seem to take effect. I have uninstalled all modules and there are no modules locat ...
Currently, I am in the process of enhancing the registration form with my module by adding a new field. For this purpose, I need to introduce an attribute. Although my "install script" serves as an upgrade to the customer entity, the issue lies in the fact ...
I've been searching for a solution to my problem, but haven't come across one yet. The issue is similar to this query: Extract address from string However, I'm struggling to modify the php code in order to resolve my specific problem. Using Magento, I ha ...
I am currently developing a unique ecommerce website called bookslab.in. To enhance the user experience, I would like to replace the "add to cart" button with a "view details" button when users view the list of available products. Furthermore, when users c ...
I have set up multiple stores on my website. Let's say the second store is called Test. I've included the index.php file in the Test store using the following code: $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER[&ap ...
My goal is to add a custom tab to the customer edit page. When this tab is clicked, I want a Grid view to open with sorting and filtering functionality. Currently, I am able to display data in a grid. However, when I include 'filter' => tr ...
I'm currently running Magento 1.9.0.1! At the moment, I am developing a custom Magento extension where I need to display data from a custom MySQL table in an HTML grid table on a custom page. Here are all the files that I have created to accomplish this: ...
Currently seeking a solution to implement 'Shopping Cart Price Rules' on the product page itself, before adding the item to the cart. The reason for not opting for 'Catalog Price Rules' is due to its limitations in functionality. Specif ...
I found this code snippet: <div class="buttons-set"><button type="submit" title="<?php echo $this->__('Submit Review') ?>" class="button"><span><span><?php echo $this->__('Submit Review') ?></span></span& ...
As someone new to Magento, I am curious about where the "set product new from date" values for each product are stored in the database. I looked into the catalogrule_product table and found a column named from_time, but I'm unsure if this is the correct ...
When attempting to register a new Customer on my Magento portal using the REST API in Postman, I encountered an issue. The standard approach for Magento API registration only allows certain details to be sent via the POST Method; password cannot be include ...
Currently, I am working on developing an API that will enable data transfer from Magento to my POS system. To ensure compatibility with my POS supplier's requirements, I need to write the data in XML 1.0 format based on a specific code provided by them. I ...
I am facing an issue with retrieving data from the backend to display it in my controller. For instance, consider this module: In config.xml, I will configure a routers for the controllers <frontend> <routers> <custompay> ...
Running my E-commerce store on Magento, I encountered an issue with Paypal Express checkout. After selecting Paypal as the payment option and logging in on the Paypal platform to confirm the payment, I was redirected back to my Magento shop's review page ...
As I work on adding multiple configurable products to a category list page in Magento 1.7.2, I am facing some challenges due to using the Organic Internet SCP extension and EM Gala Colorswatches. While following tutorials from various sources like Inchoo a ...
Now, I am faced with the task of customizing the discounted price for my Shopping cart. After some independent research, I discovered that by modifying the view.phtml and item.phtml files, I can properly display the desired price. However, I still feel uns ...
My Magento Module includes a wysiwyg field where I encounter an issue with processing the image path. When using the "Insert image" button in the wysiwyg, it generates the following code: <img src="{{media url=" wysiwyg/slide.jpg"}}" alt=""/> The i ...
As a newcomer to the Magento platform, I find myself exploring its functionalities. Recently, I successfully installed version 1.7 of the Community Edition on my localhost environment. After adding a product and attaching corresponding images to it, I enc ...
I am working on creating a Magento sidebar box that can display products from a specific category. I have developed a file named most_sold_list.phtml which generates a list of products in a designated category, containing the following code... <?p ...
My issue is pretty straightforward. I find Magento's product display in list view to be too large for my liking. The images are bigger than necessary and each product takes up too much space. I want to resize the listing so that each product only occu ...
Currently, I am in the process of creating a custom product list within the Magento backend. Here is the code snippet I am using to add a new row: $this->addColumn('action_widget', array( 'header' => Mage::helper( ...
After developing a new module connected to another database, I attempted to call the helper class from a different module template file named "description.pthml". The code I used is as follows: $_helper = $this->helper('ForumProdPosts/output'); Unfort ...
Encountered CORS Policy Error While Trying to Access Magento REST APIs from Localhost I initially used the code snippets generated by "postman generate code snippets" in Postman, which worked fine. However, when I tried using Axios and other types of AJAX ...
Recently, I decided to add a location attribute to my products and wanted to filter them based on distance from a specific location using geocodes. However, the code snippet below has not been successful in achieving this functionality. $productCollection ...
After downloading the Magento community edition and sample data, I attempted to install Magento using XAMPP. The installation process seemed to be going smoothly until I encountered an error message after clicking on the install button. The error specifica ...
I came across this solution on Stack Overflow, but I can't seem to make it work. I'm attempting to add a custom block to my homepage. These are the steps I have taken: 1. Added the following code to my layout file: <cms_index_index> <refere ...
I am looking to update the search image in Magento. Currently, when searching in Magento, the image file used is btn_search.gif located in skin/frontend/default/default/images. The file /app/design/frontend/default/default/template/catalogsearch/form.mini. ...
I'm looking to customize my search function to only include the product title. I have already removed the description from the catalog search in the backend, but it's still searching based on the description as well and not giving me the results I want. ...
I'm working on creating a split screen view with one grid displaying products from a remote repository, and another grid showing products from a local repository. To simplify things, all I really need help with is incorporating the remote source into ...
Even though I have activated a PHP profiler for Magento, it seems to function as expected, recording all processing steps and database queries involved in creating a page from the initial request. https://i.stack.imgur.com/KQaGY.png In my testing environ ...
Is it possible to clear the session after closing the browser (not just the tab)? I would like to automatically log out any user who closes their browser. I tried configuring the settings in "system -> configuration -> web" and setting the cookie Lifetim ...
My situation involves two custom models, named "myorder" and "myarticle". Each "myarticle" model contains a foreign key called "rif_ord_app" that is related to the "rif_ordine_vsp" field in the "myorder" model. My goal is to filter both collections and the ...
This situation appears uncomplicated at first glance, but there are some complexities... I have a static Facebook FBML page where I am looking to have users sign up for my Magento newsletter. Typically, one would include the form code below in the fbml p ...