Categories
CMS Mastering Development Wordpress

Creating a subscription platform with the ability to post dynamic content to user pages

I have a business case which I want to share and ask for suggestions. Need to create a subscription platform for an on demand copy system. The user chooses a subscription plan, raises requests to get personalized copies, the clients team works on those copies and the approved copies should be available on the users […]

Categories
CMS Joomla Mastering Development

not able to do ajax request in my custom component i’m not working in mvc right now

My ajax request is not working i’m passing url of my components file here option = com_jumi this is my custom component and fieldid =44 is where my php insert into databse operation is there but it is not working. I have gone through different answers like https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_AJAX but in here it tell about mvc. […]

Categories
CMS Drupal Mastering Development

Transfer Drupal 7 users to Drupal 8 while retaining passwords

I’m transferring 10K users from Drupal 7 to Drupal 8. I want to retain passwords. What I’m trying is dump user records from Drupal 7 as a CSV file dump hashed passwords from MySQL as a CSV file load user records and hashed passwords into a custom program in the program, add hashed passwords to […]

Categories
CMS Drupal Mastering Development

TypeError: $element[response.method] is undefined in Media Library Form API Element module. How to create custom field image media d8?

When I insert selected image, there is an error show in command TypeError: $element[response.method] is undefined ajax:618) How to create custom field image media?

Categories
CMS Magento Mastering Development

How to properly replace database in Magento 2?

I want to connect my Magento 2 to a new database, I’ve updated the /app/etc/env.php What other steps do I need to take

Categories
CMS Magento Mastering Development

File copy between two environments in magento cloud

Is there way to copy / sync files (media) from one environment to another environment in magento cloud ( ex: staging to production )

Categories
CMS Magento Mastering Development

show text in item description for currently selected attribute

Magento 1.9.3 I have a custom piece of code in the description.phtml page for a product. This description auto populates if the item has attributes associated with it. This works well for my purpose but to refine it further I would like it to show instead of the products attribute show the currently selected attribute […]

Categories
CMS Magento Mastering Development

how to show stock quantity on module-catalog-widget (luma theme, grid.phtml)

I try to show product quantity on module-catalog-widget (grid.phtml) by using the below code (Magento 2.3) <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $StockState = $objectManager->get(‘\Magento\CatalogInventory\Api\StockStateInterface’); $qty = $StockState->getStockQty($_product->getId()); echo $StockState->getStockQty($_product->getId()); ?> It showed that We’re sorry, an error has occurred while generating this content. Please anyone help me, which code should be used on product widget front […]

Categories
CMS Magento Mastering Development

Calculate product price from several fees

My products have a base price, but each product can have additional fees, like costs for the packaging or for special delivery conditions (Dangerous Goods Fee). How can I calculate the final product price dynamically by using all my costs? Christian

Categories
CMS Magento Mastering Development

Store switch error in admin magento 2

I have a custom module. when I switch store view it not show anything. normally it still working fine in all store view update: I have added it in XML file <referenceContainer name=”page.main.actions”> <block class=”Magento\Backend\Block\Store\Switcher” name=”store_switcher”> <action method=”setUseConfirm”> <argument name=”params” xsi:type=”string”>1</argument> </action> </block> </referenceContainer> Any help? Thank in advance.