Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product prices displayed in several currencies on home page #4464

Open
mmh2025 opened this issue Jan 9, 2025 · 4 comments
Open

Product prices displayed in several currencies on home page #4464

mmh2025 opened this issue Jan 9, 2025 · 4 comments
Labels

Comments

@mmh2025
Copy link

mmh2025 commented Jan 9, 2025

Preconditions (*)

  1. OpenMage v20.11.0
  2. Setup up at least 2 currencies
  3. Setup some products that will be shown as "New Products" on home page

Steps to reproduce (*)

  1. On home page, click on one product under "New Products" heading
  2. In the product's details page, switch to another currency
  3. Goes back to home page
  4. View the price of products under the "Your Recently Viewed" heading

Expected result (*)

  1. All products' price should be displayed with the currently selected currency.

Actual result (*)

  1. On the home page: Under the "New Products" heading, the price of products are still displayed using the first currency while the price of products under the "Your Recently Viewed" heading are displayed with the second (currently selected) currency.
@mmh2025 mmh2025 added the bug label Jan 9, 2025
@mmh2025 mmh2025 changed the title Different currencies shown on home page Product prices displayed in several currencies on home page Jan 9, 2025
@kiatng
Copy link
Contributor

kiatng commented Jan 14, 2025

How do you add "New Products" on home page? I am not aware of such feature in OpenMage.

@Hanmac
Copy link
Contributor

Hanmac commented Jan 15, 2025

How do you add "New Products" on home page? I am not aware of such feature in OpenMage.

Mage_Catalog_Block_Product_New and its child class, Mage_Catalog_Block_Product_Widget_New

but from the Cache Key, it should use the Store ID for the cache

public function getCacheKeyInfo()
{
return [
'CATALOG_PRODUCT_NEW',
Mage::app()->getStore()->getId(),

@sreichel
Copy link
Contributor

sreichel commented Jan 17, 2025

How do you add "New Products" on home page? I am not aware of such feature in OpenMage.

Sample date, CMS home page

{{widget type="catalog/product_widget_new" display_type="new_products" products_count="5" template="catalog/product/widget/new/content/new_grid.phtml"}}

@mmh2025
Copy link
Author

mmh2025 commented Jan 17, 2025

How do you add "New Products" on home page? I am not aware of such feature in OpenMage.

In the product's page, I put a date in the "Set Product as New from Date" and the product will appear in the home page once this date is past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants