Child pages
  • Random Product Price
Skip to end of metadata
Go to start of metadata

Extension page: http://ecommerce.aheadworks.com/random-price.html


The Random Price Magento extension adds the ability to randomly change product price in your Magento store.

Installation

1. Backup your web directory and store database.

 Click to view details

You can make backup copies with any tool you find appropriate

If you are going to use the native Magento backup function, navigate to System -> Tools -> Backups and perform System and Database backups

 2. Log in to the Magento backend

 3. Disable compilation

 Click to view details

Navigate to System -> Tools -> Compilation.

If Compiler status is Disabled, you can skip to the next step

If Compiler is enabled, disable it.

IMPORTANT: after the extension is installed, you can enable the compilation again; IT IS CRUCIAL that you use "Run Compilation Process" function, not just "Enable button"

Icon

Installing an extension with the Compilation enabled will result in store downtime.

 4. Flush store cache

 Click to view details

You can flush the store cache in 2 ways:

  • via the backend:

Navigate to System -> Cache Management menu, and click Flush Magento Cache button

  • via filesystem:

On your server, navigate to Magento root folder, then proceed to /var/cache/; delete all the content there.

 5. Download the extension package from your account and extract the downloaded archive

 6. Copy the content of /Step_1/ folder to your store's root directory

If you are using a custom theme,

Icon
 read the instructions here.

In case you are using a custom theme, it is recommended to copy the design files to your current theme's folders. In case there are several themes in use at the same store, the design files must be copied to each of them.

  • Find this folder in the package: /step_1/app/design/frontend/base/default/ ; copy its content to /app/design/frontend/[your_package]/[your_theme]/
  • Find this folder in the package: /step_1/skin/frontend/base/default/ ; copy its content to /skin/frontend/[your_package]/[your_theme]/

 7. Copy the content of /Step_2/ folder to your store's root directory

 8. Flush store cache again; log out from the backend and log in again.

 

For Magento CE v.1.4.0.1:

 

 Click here to expand...

Open file /app/design/frontend/base/default/template/catalog/product/view.pthml, find string

and insert after it


Configuration

To configure the extension, navigate to Promotions > Random Price Rules.

Here you can add/edit/delete different random price rules. The conditions are the same as in Catalog Price Rules.

Random price block template

Default template is

{{randomprice_link}}  - link to get new price

{{link_title}} - link title

The Random Price block is duplicated on product pages with custom options.

Use CMS or Widget

Open the static block or CMS page you want random price block to be displayed at and insert block as widget. Also you can use the following text in the content field

where randompriceid is the ID of the random price rule that will be inserted

The Random Price block is duplicated on product pages with custom options.

Insert via XML Layout

You can insert random price block in any position via XML Layout

where randompriceid is the ID of the random price rule that will be inserted

The Random Price block is duplicated on product pages with custom options.

Uninstall

Since Magento does not give the ability to handle automatic uninstall for its modules, you need to run the following query on your database manually:

 

 

This will delete the extension attributes from the database. After that, you can safely remove the extension files from your store.

Troubleshooting

After the extension installation the store gives an error, or blank page, or suggests to start Magento installation procedure.

Change the owner of the extracted extension files to the web server user and set 775 permissions on them. Clear the store cache and try again.

There is no aheadWorks extensions under my configuration section, or having the extension tab clicked I get a blank page, or Access Denied error.

Clear the store cache, browser cookies, logout and login again.

I've set up everything correctly, inserted the HTML code, but there is nothing on that page.

Clear the store cache, clear your browser cache and domain cookies and refresh the page.

My configuration changes do not appear on the store.

 Clear the store cache, clear your browser cache and domain cookies and refresh the page.



You can always find the latest version of the software, full documentation, demos, screenshots and reviews at http://ecommerce.aheadworks.com
License agreement: http://ecommerce.aheadworks.com/LICENSE-M1.txt
Contact us: http://ecommerce.aheadworks.com/contacts/
Copyright © 2015 aheadWorks Co. http://www.aheadworks.com


 

  • No labels