magento 1.9 – How do I correctly move products and categories between stores in magento1?

I currently have a magento 1.9 installation that uses two stores. Right now I am trying to move a category (as well as subcategories and products) from one store to another, but I run into some problems. Currently, several subcategories are missing and are not displaying correctly on the categories page.

What I have tried so far is simply to move the folder and change the file used for the static block to ensure they are the same between the two sites. What more could be missing?

Thanks in advance.

magento2 – Grouped Product Reviews – getting and displaying simple reviews of associated products

It's frustrating that the Magento core has a mechanism to handle configurable option reviews on a configurable product, but NOT simple products on bundled products.

My site uses grouped products. Since all orders are for simple products, reviews end up being simple products, but these will not show up on the grouped products page. I am looking to a) extend the review block to add simple product reviews and (ideally) b) extend the rating calculation to also include simple product ratings.

I've looked everywhere for any review extensions that support bundled products and couldn't find any. So I try to figure it out myself.

The first attempt has been to try to extend the MagentoReviewBlockProductViewListView Block to get the associated product ID list and to pass this list to the collection classes, then somehow I need the collection classes to search for a list of products instead of just one.

Collection classes MagentoReviewModelResourceModelReviewProductCollection Y MagentoReviewModelResourceModelReviewCollection build a query through method AddEntityFilter using the exact match this should be changed from entity_pk_value=? to entity_pk_value in (?).

This is a small change that is technically backward compatible, so I tried using a plugin first. Unfortunately, query building is all protected methods, so plugins can't work, or I got errors or got patches that just don't show.

It seems like I need to extend the collection classes as a whole just to make that change.

Is there a better way?

Reference request – Orthonormally based higher order domestic products

Leave $ pi $ be a measure of probability in some space $ mathcal {X} $, and let $ Phi = { phi_k } _ {k geqslant 0} $ be an orthonormal (possibly complex value) basis for $ L ^ 2 ( pi) $, with $ phi_0 equiv 1 $. Leave $ f in L ^ 2 ( pi) $ be expressible on this basis as $ f = sum_ {k geqslant 0} f_k phi_k $.

In some calculations, it has become relevant for me to handle (and bind) form quantities

begin {align}
Q ^ k = int pi (dx) | f (x) | ^ 2 | phi_k (x) | ^ 2 quad text {for} k geqslant 1,
end {align}

and ideally I would like a limit of how $ Q ^ k leqslant c ^ k sum_ {k geqslant 0} | f_k | ^ 2 $ for some explicit sequence $ {c ^ k } _ {k geqslant 0} $.

At first, $ Q ^ k $ is a quadratic form in the $ {f_k } _ {k geqslant 0} $, and this should be useful. However, the nature of this quadratic form is generally somewhat mysterious; should end up involving quantities like

begin {align}
Q ^ k_ {ij} & = int pi (dx) phi_i (x) overline { phi} _j (x) | phi_k (x) | ^ 2 \
& = int pi (dx) left ( phi_i (x) overline { phi} _k (x) right) cdot overline { left ( phi_j (x) overline { phi} _k (x) right)} quad text {for} i, j geqslant 0
end {align}

and this should depend a lot on the properties of the base $ Phi $.

Ultimately, I think a solution to this problem will only be possible once a base is fixed, and it is arranged to be quite manageable. In the case where $ Phi $ it's a Fourier base, for example, things are pretty good, and one can take $ c ^ k equiv 1 $. I think it might also be possible in other cases where $ phi_a overline { phi_b} $ can be written as linear combinations of other $ phi_c $; beyond that it could be quite complicated.

My question is: there is other Orthonormal bases for what limits in this way should be manageable? I would be particularly happy if there were classic orthogonal polynomial families for which this is possible, but I'm not sure where to look for such results. Any relevant reference will also be welcomed.

rest api: Magento web API that provides internal server errors to add products

I tried to post a product on my Magento site through its REST web API. I am using curl. I have this error:

{"message": "Internal error. Details are available in the Magento log file. Report ID: webapi-5e884238b420f"}

And when I searched the log file, I found:

/var/www/html/var/log/exception.log:(2020-04-04 08:15:52) main.CRITICAL: Report ID: webapi-5e884238b420f; Message: Property "ShowDefaultNotificationMessage" does not have accessor method "setShowDefaultNotificationMessage" in class "MagentoCatalogInventoryApiDataStockItemInterface". {"exception":"(object) (Exception(code: 0): Report ID: webapi-5e884238b420f; Message: Property "ShowDefaultNotificationMessage" does not have accessor method "setShowDefaultNotificationMessage" in class "Magento\CatalogInventory\Api\Data\StockItemInterface". at /var/www/html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, LogicException(code: 0): Property "ShowDefaultNotificationMessage" does not have accessor method "setShowDefaultNotificationMessage" in class "Magento\CatalogInventory\Api\Data\StockItemInterface". at /var/www/html/vendor/magento/framework/Reflection/NameFinder.php:100)"} ()

I tried to find out what this error meant. I couldn't find much.

This is my curl request:

curl -X POST "http://167.179.118.154/index.php/rest/default/V1/products"  -H "Content-Type:application/json" -H "Authorization: Bearer " -d '{"product":{"id":0,"sku":"string","name":"string","attribute_set_id":0,"price":0,"status":0,"visibility":0,"type_id":"string","created_at":"string","updated_at":"string","weight":0,"extension_attributes":{"website_ids":(0),"category_links":({"position":0,"category_id":"string","extension_attributes":{}}),"stock_item":{"item_id":0,"product_id":0,"stock_id":0,"qty":0,"is_in_stock":true,"is_qty_decimal":true,"show_default_notification_message":true,"use_config_min_qty":true,"min_qty":0,"use_config_min_sale_qty":0,"min_sale_qty":0,"use_config_max_sale_qty":true,"max_sale_qty":0,"use_config_backorders":true,"backorders":0,"use_config_notify_stock_qty":true,"notify_stock_qty":0,"use_config_qty_increments":true,"qty_increments":0,"use_config_enable_qty_inc":true,"enable_qty_increments":true,"use_config_manage_stock":true,"manage_stock":true,"low_stock_date":"string","is_decimal_divided":true,"stock_status_changed_auto":0,"extension_attributes":{}},"bundle_product_options":({"option_id":0,"title":"string","required":true,"type":"string","position":0,"sku":"string","product_links":({"id":"string","sku":"string","option_id":0,"qty":0,"position":0,"is_default":true,"price":0,"price_type":0,"can_change_quantity":0,"extension_attributes":{}}),"extension_attributes":{}}),"configurable_product_options":({"id":0,"attribute_id":"string","label":"string","position":0,"is_use_default":true,"values":({"value_index":0,"extension_attributes":{}}),"extension_attributes":{},"product_id":0}),"configurable_product_links":(0),"downloadable_product_links":({"id":0,"title":"string","sort_order":0,"is_shareable":0,"price":0,"number_of_downloads":0,"link_type":"string","link_file":"string","link_file_content":{"file_data":"string","name":"string","extension_attributes":{}},"link_url":"string","sample_type":"string","sample_file":"string","sample_file_content":{"file_data":"string","name":"string","extension_attributes":{}},"sample_url":"string","extension_attributes":{}}),"downloadable_product_samples":({"id":0,"title":"string","sort_order":0,"sample_type":"string","sample_file":"string","sample_file_content":{"file_data":"string","name":"string","extension_attributes":{}},"sample_url":"string","extension_attributes":{}}),"giftcard_amounts":({"attribute_id":0,"website_id":0,"value":0,"website_value":0,"extension_attributes":{}})},"product_links":({"sku":"string","link_type":"string","linked_product_sku":"string","linked_product_type":"string","position":0,"extension_attributes":{"qty":0}}),"options":({"product_sku":"string","option_id":0,"title":"string","type":"string","sort_order":0,"is_require":true,"price":0,"price_type":"string","sku":"string","file_extension":"string","max_characters":0,"image_size_x":0,"image_size_y":0,"values":({"title":"string","sort_order":0,"price":0,"price_type":"string","sku":"string","option_type_id":0}),"extension_attributes":{"vertex_flex_field":"string"}}),"media_gallery_entries":({"id":0,"media_type":"string","label":"string","position":0,"disabled":true,"types":("string"),"file":"string","content":{"base64_encoded_data":"string","type":"string","name":"string"},"extension_attributes":{"video_content":{"media_type":"string","video_provider":"string","video_url":"string","video_title":"string","video_description":"string","video_metadata":"string"}}}),"tier_prices":({"customer_group_id":0,"qty":0,"value":0,"extension_attributes":{"percentage_value":0,"website_id":0}}),"custom_attributes":({"attribute_code":"string","value":"string"})},"saveOptions":true}'

Is it because my JSON contains dummy data (which I just copied from the Magento web API documentation)? But I tried to modify some of the values ‚Äč‚Äčlike below, and still got the same answer:

{
  "product": {
    "id": 10,
    "sku": "phone8",
    "name": "iPhone8",
    "attribute_set_id": 0,
    "price": 10,
    "status": 0,
    "visibility": 0,
    "type_id": "string",
    "created_at": "string",
    "updated_at": "string",
    "weight": 0,
    "extension_attributes": {
      "website_ids": (
        0
      ),
      "category_links": (
        {
          "position": 0,
          "category_id": "string",
          "extension_attributes": {}
        }
      ),
      "stock_item": {
        "item_id": 0,
        "product_id": 0,
        "stock_id": 0,
        "qty": 0,
        "is_in_stock": true,
        "is_qty_decimal": true,
        "show_default_notification_message": true,
        "use_config_min_qty": true,
        "min_qty": 0,
        "use_config_min_sale_qty": 0,
        "min_sale_qty": 0,
        "use_config_max_sale_qty": true,
        "max_sale_qty": 0,
        "use_config_backorders": true,
        "backorders": 0,
        "use_config_notify_stock_qty": true,
        "notify_stock_qty": 0,
        "use_config_qty_increments": true,
        "qty_increments": 0,
        "use_config_enable_qty_inc": true,
        "enable_qty_increments": true,
        "use_config_manage_stock": true,
        "manage_stock": true,
        "low_stock_date": "string",
        "is_decimal_divided": true,
        "stock_status_changed_auto": 0,
        "extension_attributes": {}
      },
      "bundle_product_options": (
        {
          "option_id": 0,
          "title": "string",
          "required": true,
          "type": "string",
          "position": 0,
          "sku": "string",
          "product_links": (
            {
              "id": "string",
              "sku": "string",
              "option_id": 0,
              "qty": 0,
              "position": 0,
              "is_default": true,
              "price": 0,
              "price_type": 0,
              "can_change_quantity": 0,
              "extension_attributes": {}
            }
          ),
          "extension_attributes": {}
        }
      ),
      "configurable_product_options": (
        {
          "id": 0,
          "attribute_id": "string",
          "label": "string",
          "position": 0,
          "is_use_default": true,
          "values": (
            {
              "value_index": 0,
              "extension_attributes": {}
            }
          ),
          "extension_attributes": {},
          "product_id": 0
        }
      ),
      "configurable_product_links": (
        0
      ),
      "downloadable_product_links": (
        {
          "id": 0,
          "title": "string",
          "sort_order": 0,
          "is_shareable": 0,
          "price": 0,
          "number_of_downloads": 0,
          "link_type": "string",
          "link_file": "string",
          "link_file_content": {
            "file_data": "string",
            "name": "string",
            "extension_attributes": {}
          },
          "link_url": "string",
          "sample_type": "string",
          "sample_file": "string",
          "sample_file_content": {
            "file_data": "string",
            "name": "string",
            "extension_attributes": {}
          },
          "sample_url": "string",
          "extension_attributes": {}
        }
      ),
      "downloadable_product_samples": (
        {
          "id": 0,
          "title": "string",
          "sort_order": 0,
          "sample_type": "string",
          "sample_file": "string",
          "sample_file_content": {
            "file_data": "string",
            "name": "string",
            "extension_attributes": {}
          },
          "sample_url": "string",
          "extension_attributes": {}
        }
      ),
      "giftcard_amounts": (
        {
          "attribute_id": 0,
          "website_id": 0,
          "value": 0,
          "website_value": 0,
          "extension_attributes": {}
        }
      )
    },
    "product_links": (
      {
        "sku": "string",
        "link_type": "string",
        "linked_product_sku": "string",
        "linked_product_type": "string",
        "position": 0,
        "extension_attributes": {
          "qty": 0
        }
      }
    ),
    "options": (
      {
        "product_sku": "string",
        "option_id": 0,
        "title": "string",
        "type": "string",
        "sort_order": 0,
        "is_require": true,
        "price": 0,
        "price_type": "string",
        "sku": "string",
        "file_extension": "string",
        "max_characters": 0,
        "image_size_x": 0,
        "image_size_y": 0,
        "values": (
          {
            "title": "string",
            "sort_order": 0,
            "price": 0,
            "price_type": "string",
            "sku": "string",
            "option_type_id": 0
          }
        ),
        "extension_attributes": {
          "vertex_flex_field": "string"
        }
      }
    ),
    "media_gallery_entries": (
      {
        "id": 0,
        "media_type": "string",
        "label": "string",
        "position": 0,
        "disabled": true,
        "types": (
          "string"
        ),
        "file": "string",
        "content": {
          "base64_encoded_data": "string",
          "type": "string",
          "name": "string"
        },
        "extension_attributes": {
          "video_content": {
            "media_type": "string",
            "video_provider": "string",
            "video_url": "string",
            "video_title": "string",
            "video_description": "string",
            "video_metadata": "string"
          }
        }
      }
    ),
    "tier_prices": (
      {
        "customer_group_id": 0,
        "qty": 0,
        "value": 0,
        "extension_attributes": {
          "percentage_value": 0,
          "website_id": 0
        }
      }
    ),
    "custom_attributes": (
      {
        "attribute_code": "string",
        "value": "string"
      }
    )
  },
  "saveOptions": true
}

magento2.3 – Magento 2.3.3 MSI: Is there a way to remove products from search results or catalog pages when your salable_qty is going to

This is the scenario:

quantity = 2
there is a reserve for the product with quantity -2
salable_qty = 0

The product is still displayed in search results and category pages, but you cannot add it to your cart. This is a bad customer experience, as the user will have to click on the product to see that the product is out of stock or click Add to cart to see the notification.

Magento2.4 tries to import simple products through csv

I am trying to import products through a csv in Magento2.4, the file is a little big, it is 189 MB in size.
I edited the php.ini file to allow for a larger max_imput_size and larger upload_max_filesize. I restarted Apache, but now when I upload the file, a spinning arrow appears in the browser that never disappears.
I'm not sure what else I could do to keep this from getting stuck.

Suggestions?

css – How to show 2 products per row for mobile devices using WooCommerce?

I am developing an e-commerce with WooCommerce and I use the following code to show 2 products per row when the user uses a mobile phone:

@media only screen and ( max-width: 980px ) {
.woocommerce-page ul.products li.product:nth-child(n) {
width: 47.5% !important;
margin-right: 2.5% !important;
}
.woocommerce-page ul.products li.product:nth-child(2n) {
margin-right: 0 !important;
}
}

At store The page works very well.

The problem is Home, where the code doesn't work.
Probably because the products are handled in a different way:

Products on the home page

As you can see, Featured Y Best seller Products are items in the home.
I also used the inspector to retrieve the CSS class from those, but they are the same as in the added CSS (like ul.products).

I'm sure I'm missing something.
Could you suggest a way to solve this?
Thank you!

Woocommerce: how can I change the price of products according to the city?

I would need to understand how I can change the price of the products according to the city selected in the user payment process.

So far I have only found solutions by country.

Thanks to anyone who has time to respond.

woocommerce – Change design of [products] Short code

I would like to display additional products on my simple product pages. I am using the shortcode as in the short description of simple products.

[products ids="2113"]

The problem with this is the design of the resulting loop. Is there a way to customize the layout to provide the Name – Price – "Add to Cart" button on one line. Almost as if it were a variation option. Currently, I don't think this is possible with CSS only.

Thank you

Survivalreal.com Preparatory Guides and Affiliate Products Website

website and domain included
Website URL http://www.survivalreal.com

  • Automated content updated daily through plugins. This means that we use a plugin that is configured to upload a new YouTube video to each category on a daily basis, you can configure the plugin to add as many videos as you like and you can also add new categories.
  • 8 categories with hundreds of video posts already on the website
  • Free SSL certificate in the domain when you stay with us (SSL technology guarantees that everyone …

Survivalreal.com Preparatory Guides and Affiliate Products Website