★★★  The Magento Expert  ★★★

Magento Professional with 23192 hours project experience

DEUTSCH

  • Magento?
  • Magento Expert?
  • References?
  • Services?
  • Cooperation?
  • Solutions!
  • Cache Warmer

compare list

Deleting all items from the compare list in the database (Magento 1)

Mex 2014/02/26 Magento Solutions

The following MySQL query deletes all rows from the Magento compare list table.

1
delete from catalog_compare_item;

Show solution

Getting the compare list link programmatically (Magento 1)

Mex 2014/02/14 Magento Solutions

Using the following code you can obtain the Magento compare list link.

1
Mage::helper('catalog/product_compare')->getListUrl();

Show solution

Adding the compare list link to the product page (Magento 1)

Mex 2014/02/14 Magento Solutions

The Magento compare list link is shown on the category page by default. Using the following code you can add it to the Magento product page as well.

1
<a href="<?php echo Mage::helper('catalog/product_compare')->getAddUrl($_product);?>">link text</a>

Show solution

Magento Problems?

Magento Professional will solve all your Magento problems!

Your Magento project is giving you sleepless nights?

Why not trying to get assistance? Contact me and I will solve your problems!

✓ straightforward ✓ cost-effective ✓ efficient

Phone: (+49) 341/86264640

Mobile: (+49) 176/99250685

E-Mail: mex@nullthe-mage-expert.com

Contact Form

The Magento Health Check

Fixed Price Magento Health Check

Magento Health Check for a fixed price of $270.

Magento Keywords

address Admin Apache attributeset backend block breadcrumbs cache cart category category page CMS collection compare list config.xml cron-jobs custom options customer e-mail Firebug home page invoice JavaScript layout Lib Magento 2 maintenance order pager PayPal PDF product product page products session shipment tracking SKU SQL success page template (phtml) time translations upsell url XML

Protect your shop texts and product descriptions!

Copy Protection for your shop texts and descriptions

Theftcrusher JS - Copy Protection for your shop texts and descriptions!

Recent Entries

  • Using jQuery and domReady in a static block or CMS page
  • Pager missing after updating to Magento 2.4.3?
  • “Session size exceeded allowed session max size” problem solution
  • Checkout agreements not working / can not be accepted when using PayPal
  • Referencing a static block in a CMS page

Contact Information

Phone: (+49) 341/86264640
Mobile: (+49) 176/99250685
E-Mail: mex@nullthe-mage-expert.com
Contact Form

Magento Plagiarism Tools

Copy protection for your shop content: TheftCrusher or TheftWarner

Magento 2 Demo

Take a look at Magento 2: Magento Demo Shop.

Links

About
Copyright © 2023 The Magento Expert. Powered by WordPress and Vermonta IT- & Media Agency. Last Update 2023/02/09


Bewertungen für den Magento Experten
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site, you agree to the usage of cookies.I agree