Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
0
votes
1answer
216 views

Customer account section on subdomain

I have a single website, single store view Magento installation on, lets say, the domain example.com. Now I want to create a customer section "My Example.com" on my.example.com. So the whole customer ...
0
votes
0answers
67 views

What is the best way to edit your Magento site's toplinks block in the top right hand corner, WITHOUT editing core files? [duplicate]

This is the block which contains "My Account", "Log In/Log Out" etc by default. I've seen a few suggestions on how to do this, but I haven't seen anything complete that doesn't involve editing core ...
0
votes
2answers
630 views

How can i set limit to text area in “ Email to a friend ”

I want to set a maximum length of words to the "message" text field in the "email to a friend" template.
15
votes
2answers
4k views

Autologin on frontend from the backend

See the following scenario. I have some custom module that allows the frontend user to perform some actions on some custom entities. (details are not really important). The request is that an admin ...
8
votes
1answer
7k views

Cannot get custom frontend ajax layout to load

I always have challenges identifying the proper handles for everything, so please bear with me here. I've scoured Google, SE, and tried myriad variations, with no luck. (And yes, I've used ...
4
votes
1answer
644 views

Retrieve customer attribute properties

I am going to add front-end validation for customer attribute by adding CSS classes 'validate-length' and 'maximum-length-xx' in the input tag. I need to find how I can retrieve, for example, the ...
1
vote
3answers
6k views

Slider extension is not showing in frontend

I've installed the Magestore Banner slider extension in my store and uploaded some slides in the backend via Banner Slider > Manage Banner but it's not showing on the homepage. Any help and ...
5
votes
2answers
20k views

Override default template files

I am trying to implement an adjustment to the default .phtml files that are shipped with magento. I am a little confused as to how the .phtml files are altered without adjusting them directly, ...
4
votes
2answers
963 views

Frontend css cache issue

Having an issue with multisite where I edit css for each store to set image widths and height, for some reason the css isn't updating on certain sites. One of them took effect after clearing css/js ...
2
votes
1answer
5k views

Setting image, small_image, and thumbnail for media gallery imports

I have been faced with this dreaded issue that many have reported and failed to get working. My goal is to add images to products by matching SKU with the file, which is basically $sku . ".jpg" What ...
2
votes
2answers
2k views

how to insert flash video in magento cms page

How to insert flash video in magento cms page. I tried inserting video in the wyswyg editer. but it shows only a white background. I want to show a promotional video on about us page
2
votes
1answer
680 views

Change Magento decimal field format

I need to change Magento's default decimal format. I mean, when I save '1' to a decimal field, it becomes '10000.0000' with this '.0000' in the end. I need to change it to another format, which uses '...
2
votes
1answer
2k views

Programmatically show parent and child categories on frontend

Currently these are being rendered with cms blocks. Is there a way to include this type of functionality in a template which gets categories and subcategories and displays them like so: We just want ...
0
votes
2answers
721 views

frontName = page name?

In this config.xml of module I am using there is a frontName defined as adyen: <routers> <adyen> <use>standard</use> <args> ...
3
votes
4answers
8k views

Configurable Product options box not showing on the front end

The drop down selection box is not showing for configurable products, the configurable product itself is showing but not the options to choose which simple product is selected. It is probably notable ...
2
votes
1answer
2k views

Display Salesrule name in frontend

I'm looking for a way to get the name of a salesrule that is applied to a product, go show in the frontend. I've been looking in the SalesRule, Rule.php but with no real luck. Mage::getModel('...
1
vote
2answers
430 views

Why would product not be indexed?

I have a configurable product which is enabled, and visible in catalog, search. It has a child product which is also enabled, and in stock. But the product is not visible on the frontend. I have ...
0
votes
0answers
112 views

How to check if admin user is logged in on frontend [duplicate]

I was wondering how it is possible to check if admin user is logged in on the frontend?
0
votes
1answer
256 views

Fetching an admin URL from frontend

I am trying to access an admin routed url from a frontend routed URL using curl. I do the following: $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, 'http://site.com/index....
5
votes
2answers
1k views

How do I make certain frontend pages accessible only by admin?

How do I make certain frontend pages accessible only by admin? I have tried using Mage::getSingleton('core/session') and Mage::getSingleton('admin/session') to no good end. Any suggestions? Oh, and ...
3
votes
1answer
3k views

Custom form template - yesno select box html

Is it possible either in a block or template (adminhtml) to render a yes/no select box directly? Without having to get the option array first and then build the select manually? I would have thought ...
1
vote
1answer
308 views

CMS Home Page appears below custom Default Home on one store view

I want to set a different home page to route to a cms page for one of the stores only. I set up my default Home landing page in System > Configuration > Web > Default Pages and setting CMS Home ...
3
votes
1answer
6k views

Multi-Store issues with loading some template files/skins

We're having an issue here, where some stores load the store view with Magento defaults (only one of them does this out of 7 of them). SetEnvIf for MAGE_RUN_CODE is set in .htaccess based on request ...
2
votes
2answers
4k views

How to show validation error from Observer on frontend?

I'm customizing one page checkout and want to add validation of new field during billing step. To make this validation I don't want to rewrite controller or model, but want to use observer ...
0
votes
1answer
2k views

Observer - Stop controller action after review_save_after

I am using Magento 1.7.0.2. I need to prevent ratings in the frontend from saving after the reviews has been saved. So I have used the <reveiw_save_after> event in order to achieve it. But I am ...
0
votes
1answer
2k views

How to sort by (dropdown from toolbar.phtml) products which has special price comes first on product list (search or category) page?

On product list page want option in sort by dropdown discounted first products so all prodcuts in list with special price comes first. How I can do that?
0
votes
1answer
1k views

Magento redirecting to login page to user after SSL activated ( if get http request code 301 )

Recently I am facing very strange problem. After activating SSL for frontend sometimes user is redirected to login page after click on regular page even from homepage. As I follow method provided by ...
1
vote
2answers
3k views

How to create “Whats this?” style tool tips?

I'm trying to add a tool tip on the checkout pages next to certain fields which users may question the reason why they are required fields, such as phone number. I want to create a link next to the ...
3
votes
2answers
4k views

Product attribute not saving programmatically

I am running a method to save attribute store view titles prgrammatically, but one attribute store view titles does not save when the method is run inside a loop. I thought it was a caching issue, but ...
1
vote
1answer
952 views

frontend_type in eav_attribute table

I am working on custom product upload form where sellers can upload their products. So i generated a form using the attribute sets which will give the related attributes, lable, type which is required ...
1
vote
4answers
603 views

Copying a slideshow

I want to copy my entire slideshow from my homepage, and replicate it on another page... The page is http://crystelleclothing.co.uk/ and i need it on http://crystelleclothing.co.uk/trends/ Tried ...
0
votes
1answer
1k views

Magento front end only printing “local.xml”

I went to do a test customer registration and right after I submitted form, the page only loads what you see below. I deleted cookies and loaded the main page, and it has what you see below as well. ...
3
votes
2answers
13k views

Magento custom add to cart doesnt update cart data until page refresh

I am creating a small ajax add to cart functionality which works but is proving to be relatively expensive from the performance side of things. I am hoping someone can provide a more efficient way to ...
1
vote
1answer
1k views

Can / Should I Use The Admin Session in Frontend

For some use cases it would be nice to know, when on frontend, if an admin is logged in and to fetch the user's ACLs. I know that this is not "easily" possible, i.e. the frontend and admin sessions ...
0
votes
1answer
1k views

Getting redirected during payment [closed]

I've developed a new payment module for Magento. It works perfectly on the dev box, but when deployed to "Test" it behaves weirdly. Basically Magento tries to redirect to "<~>/index.php/admin/...
0
votes
2answers
5k views

Free homepage carousel

Can anyone recommend a free extension that allows a carousel to be placed on the hompage with rotating images? The images should be able to be uploaded in the admin area.
15
votes
2answers
15k views

how to sort categories as they are shown in admin?

Here is the code: $category = Mage::getModel('catalog/category')->load(3); $subCats = Mage::getModel('catalog/category')->load($category->getId())->getChildren(); $subCatIds = explode(',',...
6
votes
1answer
8k views

Change the order of CSS files. Load module's CSS before theme's CSS

How can I change the order of CSS files to load module's CSS before theme's CSS? Here are some code examples: Theme's CSS file (loaded on all pages) added in theme's local.xml: <default> <...
1
vote
1answer
2k views

getChildHtml - remove specific block after call

I want to output a specific child block at a specific place in a template. I am using: echo $this->getChildHtml('block_name') Obviously this works. However, in the same template there is a ...
5
votes
1answer
14k views

Magento doesn't displays group price

This is a bit frustrating but, some of my products displays the group price while some others not. I have the customer group X, and for this customer group I have different prices than the regular ...
4
votes
3answers
5k views

How to edit price function html in magento?

Currently price showing like: <span class="price">$589.00</span> i want currency to bit little than other fonts and i should be superlative? like: <span class="price"><sup>$...
2
votes
2answers
3k views

Sort Manufacturer's attribute by their “position”

I'm trying to sort manufacturer's attribute option values by their "position" as entered in the backend, in attributes' panel. I need to get, for example all the manufacturers with position 2, or all ...
1
vote
2answers
3k views

top menu not showing after upgrade

I just upgrade from Mag CE 1.5 to 1.7.0.2 and heck, fall in to troubles in a row..fixed a few but stuck at top menu.. app/design/frontend/default/tenniskarma/template/page/html/topmenu.phtml contains ...
2
votes
2answers
1k views

Copied to Local WAMP server, Exception: SQLSTATE[HY000] [1045] Access denied for user

So I had a website up at http://www.avantalarm.com/ and after many issues trying to add modules, I decided I'd export it to a local WAMP server to work on my development so I didn't break the site ...
0
votes
1answer
4k views

Custom Payment Method Not Showing in Frontend

I've created a new payment method in Magento1.7. But it's not showing up in frontend. In the backend, options are showing. Below is the code, config.xml <config> <modules> &...
1
vote
1answer
380 views

Magento Architecture - using helper to handle all data & variables

Is it considered good/bad architecture to set up a helper and let this handle all the constants, variables and data? I am currently writing a fairly simple extension to do with member/non-member ...
3
votes
3answers
9k views

How to remove the Breadcrumbs from the homepage

When Full Page Cache is on the breadcrumbs show up on the home page, i've tried changing the line <?php if($crumbs && is_array($crumbs)): ?> to <?php if($crumbs && is_array($...
3
votes
3answers
13k views

Remove “Home page” title from home page

On my startpage is a bold headline: Home page How can I remove it?
12
votes
2answers
7k views

Remove “powered by Magento” from footer

I would like to remove powered by Magento from the footer. It's not in CMS blocks "footer_links". HTML source code <p class="bugs"> - <a href="http://www.magentocommerce.com/bug-tracking" ...
1
vote
3answers
10k views

Best practice to display manufacturer/brand/attribute several places

So I know how I just don't know if my method is the best practice/"easy" way to do it. The places I plan to show brand/manufacturer name is: (always after product name) mini-cart checkout/cart ...