I really just want to add a fixed image to my zencart shopping cart without going to the admin panel. I have tried normal with no luck. I have also tried with the same issue.
I suspect there is a php function which gives me the correct page to my template folder, so if anyone knows how to do it please help
I created a function to build it for me. Did not find one directly to use.
Related
I wonder if any of you could help?!
I've recently started a new project which requires an e-commerce system, with that being said I have installed magento and have started to play around with it.... however I am struggling to find any sort of information on using the mage.php file.
What I need really is help on the list below...
I've been looking for the code to display a product from magento on a page that is not situated within magento's platform. Can anyway point me to the code needed for this please
I'd like to incorporate the checkout/login or logout/my account links on every page even when not viewing a page located in magentos system.
I suppose basically I want to use magento to handle the product side of things but want to create my website without having to touch magento except from to call in certain functions.
Any help on this would be appreciated!
You can build the website using an easier content management system such as Wordpress and only use Magento for the Shop section of the website.
There is a plugin for Wordpress that allows you to display products from a Magent website.
https://wordpress.org/plugins/magento/
I'm using an opencart theme called MarketShop and as part of the theme it comes with a featured slider on the top of the website. It was all functioning correctly this morning, I went to edit the pictures by removing the original module and recreating it with a different banner. Now the module has been created but its not showing up on the website.
What have I done wrong?
I believe the two modules have identical information but I could be incorrect.
I've tried reupoloading all files from the theme and just skipping any that were identical in order to try and find the missing file with no luck.
Any suggestions besides doing a factory reset are much appreciated!
UPDATE:
Doesn't seem like anyone is able to determine the fault... Going to do a fresh install unless someone wants to first login themeselves and see if they can find the problem?
I managed to resolve this issue myself finallly after a LOT of playing around!
Steps I took to fix this issue were as follows..
First I uninstalled the module and reinstalled (It deleted all tests I made + the original demo items).
Then I clicked the install button again and went to edit.
I added one slideshow item and choose my banner that I'd setup earlier via the banners link in the admin panel.
I then went to LAYOUTS which is found next to the banners link or after you click save in modules at the top a hyperlink to layouts is offered.
Upon going to the layouts section and playing around here for even more time I worked out I needed to go into the Homepage file and click edit (NOT THE ONE NAME DEFAULT)!
I tried this numerous times with the DEFAULT page (Note that my store is even set so that the default theme is default which led me to believe that was the right page, which it is not.
So go into homepage and click edit.
Then add one module with the blue plus. Select the module you've just created earlier. Position it where you want it on the page (to get it to work for me I selected "Content Top" and Sort Order I set to 1 (The other two modules had sort orders of 2 and 3)
And that was that, problem solved!
Hopefully this will help anyone else with similar issues.
I know this is a pretty broad questions but for learning purposes I'm trying to create a site similar to https://knockaround.com/shop/sunglasses/custom/custom-premium. I'm having trouble finding tutorials on how to accomplish this. I'm sure I can create the dropdowns to switch the images for the product, but where would I start when trying to pass the merged image to the cart? Also, I'm pretty sure the website uses Magento and Prototype JS. If someone could get me started in the right direction that would be great.
Thanks
Like this framework (http://fancyproductdesigner.com/), it must be merging the images on the server and created a single image saved with the cart entry.
You wouldn't pass the "merged image" to the cart, but rather the configuration. If you look at the hash on the page, it changes depending on the settings: #custom/3/6/13/259
So what you're passing the cart is "3/6/13/259"
I would appreciate any input here.
I have some php code that I've developed to import a csv file into a custom table in the Magento db and then compare this data with data in the sales_flat_order table and display a simple report.
I now need to add a link to this page in the Magento backend so the guys using the backend can find and use it easily.
I have a bit of experience with adding new Magento modules, but I was wondering if there is any easier way to just add the Magento backend look and feel to my php pages and add a new menu item linking to them?
It seems like a big bloated exercise to have to have to go through the process of adding a Magento module and to have to re-code everything now that its already done.
Any help would be very much appreciated!
Just pop your link in the header links - header.phtml in admin template folders. Job done, not elegant but why spend any longer on it?
I have been asked to upload a Zen Cart site to my servers and have done so fine.
I am getting a problem now with the fact that the client has uploaded his custom template into the includes/templates folder and selected it in the admin - but it still wont load it. instead it just loads the template_default style.
I am been through every document I can find and have performed the 'reset' of the Layout Boxes Controller, but nothing seems to resolve it.
Can anyone tell me if there's a file I need to tweak or something to make sure it loads my custom style?
Cheers,
C.
One solution would be to overwrite the default theme with yours. I know this is not what you are asking, however, it would solve your issue.
Zen Cart templates can be really simple or really complex. So installing them can be easy or complicated. The files are probably in the wrong place, or not completely installed. It's easy to make a mistake. Just in case, here's the outline:
1a. Simple - Copy the cart template files to includes/templates/your_template_name/.
or
1b. complex - Copy the cart template folders to includes/.
2 Go to Admin > Tools > Template Selection and click Edit.
Select your_template_name. (If you don't see your_template_name something has gone wrong.)
3 Many templates install with the sideboxes turned off. Go to Admin > Tools > Layout Boxes Controller and edit the sideboxes to turn them on.
One idea for trouble-shooting ...
Look at the database template_select table. What template_dir is set?
If this is happening, double check the file includes/templates/YOUR_TEMPLATE/template_info.php. This file is used by the system to determine if a folder under includes/templates is actually a template, and things won't work without this file. Once you've set this file up, go back to admin->tools->template selection and try re-selecting your custom template.