how to install my custom module on another magento2 project from git using composer i tried with composer config ->this work fine . when i run composer require its shows error [RuntimeException] Failed to execute git clone --mirror anybody please explain me to install a custom module by this method.
Magento
List.phtml: <?php $_productNameStripped = $block->stripTags($_product->getSecondName(), null, true); ?> <h2 class="product name product-item-name"> <div class="brand-name"> <?php $optionText = ''; $attr = $_product->getResource()->getAttribute('manufacturer'); if ($attr->usesSource()) { $optionText = $attr->getSource()->getOptionText($_product->getManufacturer()); } ?> <?php if($optionText){ ?> <?php echo "" . $optionText . "<br>"; ?> <?php } ?></div> <a class="product-item-link" href="<?= /* @escapeNotVerified */ $_product->getProductUrl() […]
I was trying to upgrade from 2.4.2 to 2.4.3 in my test environment. While trying to run bin/magento setup:upgrade, The below error appeared: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘249191’ for key ‘PRIMARY’, query was: ALTER TABLE catalog_url_rewrite_product_category ADD CONSTRAINT PRIMARY KEY (url_rewrite_id) How to fix these issues
How to redirect on custom page or custom step from PayPal express checkout page to Magento2. From PayPal express checkout it is redirecting to review page. But I want to redirect it on custom page how to do it. What I need to do.
My client wants to send a different order confirmation email for a country. Like we have a US store and receive order from Russia custom should receive email that we don’t ship their in Russian. Is this possible? Please help
i have installed the WebForms module for Magento from VladimirPopov , so i want to use the validate function in my custom module this is the file in vendor module : ... ... ... Object.extend(Validation, { validate: function (elm, options) { options = Object.extend({ useTitle: false, onElementValidate: function (result, elm) […]
i have cart price rule ( coupon Code)for 6 products which is working fine but when we add product not under the rule also get the discount
I created a new store view with code app. I made a new subdomain for it called app.example.com, if this Url ist getting loaded, then the MAGE_RUN_CODE changes to app, otherwise it is default. SetEnv MAGE_RUN_TYPE store SetEnvIf Host ^example.com MAGE_RUN_CODE=default SetEnvIf Host ^www.example.com MAGE_RUN_CODE=default SetEnvIf Host ^app.example.com MAGE_RUN_CODE=app SetEnvIf […]