Hi i need a discount rule that looks at all the products in the cart > if the total of products in the cart from category A ≥$2500 > 15% discount is applied to the amount over 2500. is this possible?
Magento1
jQuery(function(){ //jQuery(document).ready(function ($) { { // Change this to the location of your server-side upload handler: var count = 0; var url = "<?php echo $this->url(array('module' => 'advalbum', 'controller' => 'index', 'action' => 'upload-photo'), 'default')?>"; jQuery('#fileupload').fileupload({ url: url, dataType: 'json', done: function (e, data) { $('files').style.display = 'block'; jQuery('.files-contain').addClass('success'); jQuery.each(data.result.files, […]
Newbie so apologies if I get some of the terminology wrong. I’ve recently started working with Magento using Mark Shust’s docker version and getting along ok. However, my custom theme that inherits from blank has stopped updating automatically. Clearing the caches either by command or emptying the relevant cache folders […]
I am having issues installing Magento2 on my local machine. I have been following this tutorial but I run into the same issue where my localhost/magento2/pub/ page doesn’t display content. I have been taking notes of things to watch out for when installing such as changing the Gd2.php script and […]
I have created the custom attribute through rest API and it is also reflected in magento admin, after which when I tried to update the product with the attribute code.it won’t worked. Below is my JSON for creating attribute code $data = [ "attribute" => [ "is_wysiwyg_enabled" => false, "is_html_allowed_on_front" […]
I am trying to filter my product collection using Range for a drop down attribute. Attribute name – btu_input_exact Here is my code to fetch product collection $productCollection = $collectionFactory->create() ->addAttributeToSelect('*') ->addAttributeToSelect('btu_input_exact') ->addAttributeToFilter('manufacturer', ['in' => $brands]) ->addAttributeToFilter('status', MagentoCatalogModelProductAttributeSourceStatus::STATUS_ENABLED); And now this is the code to add range filter $attributeCode = […]
Seeking Advice on High Number of PHP-FPM Processes in Magento Environment (Magento 2.4.6 & php 8.2 ) Hello Magento Community, I hope this message finds you well. I’m currently managing a Magento store and have observed a high number of PHP-FPM processes on my server, even during periods of moderate […]
During performance optimization, I am unable to make improvements related to the unused JS & CSS. I wanted to know if anyone has solutions/steps to reduce the unused CSS & JS in Magento2, please share. Thanks
$data = [ "product" => [ "sku"=> $productsku, // "attribute_set_id"=> 4, //"attribute_set_id" => $mage_attr_set_id, // "entity_type_id" => $entity_type_id, "visibility" => 2, // "custom_attributes" => $subArray "custom_attributes" => [ [ "attribute_code" => "selling_unit_of_measure", "value" => "each" ] ] ] ];