I'm almost positive this topic has been addressed somewhere because my question feels so rudimentary. That said, I haven't had any luck searching, so here's the question:
I am using VM to sell ONE item only (digital download), and the default "Add to Cart" then "View Cart" 2-step process is cumbersome. What I want is the ability to change "Add to Cart" to a button that says "Purchase" (I don't need help here) and change the coding for the button so that ONE item is added to the cart and the user is taken automatically to the checkout page.
If there is a simple URL format to achieve this, that's my preference, because then I could just manually code out my own product page (like a Joomla article, rather than in VirtueMart) and then add my own "Purchase" button. However, if I have to modify PHP, that's fine too, I just need to get pointed in the right direction.
If someone could direct me to the proper resource for this? I can't believe I haven't been able to find something so rudimentary, and I suspect I'm not using the right search terms.
assuming you are using Joomla 1.5
here is an extension: http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-related-products/14458
see demos, I'm sure it will be fine for you
Compatible with VirtueMart 1.1.x (VM2 version is ongoing)
5/5 votes from 6 users
Related
So I'm using Prestashop 1.7.7.4 for a client's project and It's my first e-commerce site. I was planning on using WooCommerce but the client asked for Prestashop specifically so here we are.
Here's my issue: I order something on the store, the product is added to the cart, but the cart visually doesn't show that. It used to, but at some point it stopped automatically updating the cart's information unless I refresh the page.
I looked around some forums and they mentioned checking the debugger and hook positioning but I think I got those two checked because the debugger is only showing warnings regarding some missing translations, and the Cart module is positioned on the displayTop hook which is what it was by default.
The only thing I remember doing that might be related is that, while testing, I did move some modules around but then I put them back in place. So at least in the case of the displayTop hook, everything is as it was. Can't guarantee the same for other hooks, but would it matter?
Since I'm not really very savvy with programming yet, nor Prestashop, I can't figure out where I should be looking for clues.
Any ideas about what I can do to get to the bottom of this? Thanks!
Problem was solved by using the reset button for the cart module on the Modules page. Then you have to make sure the module is on the hook you want and it should be working. Thanks!
Is there a Virtuemart extension that makes it possible to go to the next product you want to edit so you do not need to go back to product overview page to pick the next one? Going through many products to be edited it would be great to quickly flick through them, but that seems to be impossible now. Ideas?
My kingdom for such a tool, but alas, to my knowledge there is no such tool. There IS, however, a workaround that I use - from the product page, I just right-click the link to edit it and choose "Open in New Window" and close the window when I'm done.
You can also get the URL in browser bar, take the id of product you are currently editing adding +1 to the id, to avoid opening more pages.
Remember to do this after saving, obviously
http://yourserver.com/ administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id[]=3615
and then you make
http://yourserver.com/ administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id[]=3616
and so on
In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?
Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).
try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul
I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.
Hope someone can point me in the right direction. I am not a Magento developer but am having to fix my site after my "developer" left me with most of the work to do.
Currently in my checkout screen i'm not seeing any values other than that of the actual product item value - no subtotals, discounts, shipping or the grand total. They all appear ok on the emails that are sent though (luckily).
I'm not using the default Magento package but from what i can see all the .phtml files seem to be there in the base directories and are not in my new design directories - so i would have assumed all would work ok. But alas, no. Is there anywhere i should be looking/tweaking etc etc? Have googled about as much as i can but to no avail.
I'm sure it must be something simple (!?) if all appear on the emails ok. Any ideas would be great!
I realise this is fairly old now but just in case anyone else comes across this I had this problem and for me all I had to do some enable the Mage_Tax module in System > Configuration > Advanced
It is difficult to answer your question without more insight, but here is what can be a starting point:
Login to your shop's admin panel.
In System menu click on Configuration.
From the Current Configuration Scope box select your Website.
Now in the menu on left-hand side under Configuration > Advanced (almost to the bottom of the screen)
Click on Developer
Now in the main panel, click on Debug.
For the field Template Path Hints select Yes.
Now reload your website (front-end) and you will see from which template is each part of the page being loaded.
Also if Magento's cache is enabled, you will need to clear that. I would suggest that this cache be disabled during development and/or on non-production versions of your site.
I need the browse page to show quantity box, custom attributes, and Add to Cart button all together.
It doesn't show it at all. Only when you go to the product page, you can see them.
Any solutions?
Thanks, Ahmed.
Ahmed, you'll have to modify the template directly to do something like that. VM uses a large number of template files written in PHP. If you're using the default template, you can find them here:
components/com_virtuemart/themes/default/templates/
From there, it takes a little looking around to figure out exactly which template you need to edit. If you need to edit a browse template, my recommendation is go to your VirtueMart Administration in Joomla backend and look at Admin | Configuration | Site | Layout to get an idea of which files you're using. It will probably say "Default" in the dropdown, with a Configuration link directly below. Click that link and look at the very first item, Product List Style. From the description of your layout desires, you might be using Flat Product List.
The main file for editing that layout is:
components/com_virtuemart/themes/default/templates/browse/includes/browse_listtable.tpl.php
If you're a programmer, you should be able to look thru the code and correctly guess which code elements are being used to display VM product details. If you're not a programmer, you can still fake it by commenting out sections to see what "goes away" on the actual product page. Use what you learn to strip out useful code and move it around.
Another useful file to pull VM product code from is:
components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php
This is the actual product view (unless it's been changed in VM config), and contains pretty much all the common code elements that extract product details. You should be able to lift some of that code and place it where it needs to go in other forms.
Good luck with all of this. I find VM coding painful, and community support in the VM forums can be... sparse...