Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: VM account detail page

VM account detail page 10 years 9 months ago #5602

Dear Sir,
I have a question regarding your template (pureMart) and the integration with virtuemart.
I use joomla 2.5.9 and VM 2.0.22 ( latest version)
Recently I purchased another upgraded version of Puremart in order to set everything at latest version.
The question is :
After the registration if I click on the user profile page the website redirects me on the "standard" virtuemart user page, and not to your customized user page.
Is there a simple method to correct this issue and use your template also for these pages?
also, I would love to change the behaviour of the button "continue shopping" on the pop-up that comes out after the user click on the "buy" button.
I would like to simply close the pop-up , and not to be redirected on the category view.
I tried to change the virtuemart .php file ( altought I prefer not to do so, because I will have to hack the core on every virtuemart update with unpredictable effects) but everything still remains the same.
Should I chahge something on your template files?
If yes, where are they located?
The topic has been locked.

VM account detail page 10 years 9 months ago #5613

excuse me,I made some mistakes about the details for my website.
URL: test.ricaricadiprecisione.com
joomla ver. 2.5.11
joomla template: rockettheme "fresco"
virtuemart version : 2.0.22a
virtuemart template : puremart , ver. 3.7

it's a 3rd level domain for testing purposes, I will release this new website at another URL as soon as it will be fully functional.
The topic has been locked.

VM account detail page 10 years 9 months ago #5620

Hi,

re the unstyled registration form etc ..

very strange

we don't have a template overide for components/com_virtuemart/views/user/tmpl/edit.php but we over-ride the templates that are called by it e.g.

templates/YOUR_TEMPLATE/html/com_virtuemart/user/edit_address.php which then includes the /../assets/includes/flexibleMartGlobal.php which calls the flex css file

yours isn't..

can you check the above files are in templates/YOUR_TEMPLATE/html/com_virtuemart/user

you could also try adding this php to your components/com_virtuemart/views/user/tmpl/edit.php

 
$app		=	JFactory::getApplication('site');
$template	=	$app->getTemplate(); 
$flexibleGlobalCSSpath		=	'templates/'.$template.'/html/com_virtuemart/assets/css/';
$flexibleGlobalCSSfilename	=	"flexibleVM2Global.css";
JHTML::stylesheet($flexibleGlobalCSSfilename, $flexibleGlobalCSSpath);
 

just after

defined('_JEXEC') or die('Restricted access');

#############

continue shopping

this is core VM - the javascript for it is in components/com_virtuemart/assets/js/vmprices.js ~ line 62

you could try and delete the continue shopping link in components/com_virtuemart/controllers/cart.php ~ line 112

try something like $continue_link = '';

cheers
The topic has been locked.

VM account detail page 10 years 9 months ago #5623

Hello,
yes , the files are there ( see attached screenshot)

Attachment php_files.jpg not found



I've tried to follow your suggestion, adding the php code after
defined('_JEXEC') or die('Restricted access');

unfortunately adding this code results in several issues...
Almost all custom modules are gone and the template seems to be applied only on the top and the bottom of the registration form.
Also, with this php I've noticed that if you try to add another addres to your account and click the button "add/edit shipment address" you are redirect to another page , and not to a pop-up as it was before.

if you want to take a look I'm going to leave this mod there.
Please let me know if there is any other useful information I can give you to help me solve this issue.
Best regards
Giancarlo.
The topic has been locked.

VM account detail page 10 years 9 months ago #5624

How do you mean custom modules gone???
How could calling the flex css affect this??

There is very little styling of this page by us - you can see the standard flex style here - test.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=user&layout=edit

Your site page looks very comparable to it

test.ricaricadiprecisione.com/index.php?option=com_virtuemart&view=user&layout=edit&lang=it

test.ricaricadiprecisione.com/index.php?option=com_virtuemart&view=user&task=editaddressST&new=1&addrtype=ST&virtuemart_user_id[0]=47&lang=it

there is no popup for add an extra address - see our site...

Cheers
Last Edit: 10 years 9 months ago by John.
The topic has been locked.

VM account detail page 10 years 9 months ago #5625

I've just tried to modify the cart.php file as suggested , to remove the link of the button "continue shopping" to the category page.
In virtuemart 2.0.22a seems that the line is the 285 and not the 112, but anyway, even if I remove the link everything is still acting as before.
for your convenience I will write down the original code :

$this->json->msg = '<a href="' . JRoute::_('index.php?option=com_virtuemart', FALSE) . '" >' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';

$this->json->msg .= '<p>' . JText::_('COM_VIRTUEMART_MINICART_ERROR') . '</p>';

$this->json->stat = '0';

}

echo json_encode($this->json);

jExit();
The topic has been locked.

VM account detail page 10 years 9 months ago #5627

was only a suggestion - as I say this has nothing to do with our templates - this is core VM ...
The topic has been locked.

VM account detail page 10 years 9 months ago #5628

dear John,
yes, I agree with you. your template is almost the same as my website.
Maybe it's my fault, but I was convinced that all the fields should be with the same look and colour as your template.
Let me explain better, even in you template website, if I click on the "register and checkout" button ( in the upper right corner) the style of the registration form is looking the same "light brown" color as the cart of your template.
Unfortunately even in your demo website this button redirect the user to a "blank" page , and I don't want this behaviour, because in this way the customer has no navigation bars.

if this is not possible just please let me know.
regarding the "cusotm" modules,
After adding your php code the "search" module, the "user profile" module ( the 2 little blue modules up in the middle and in the right area of the website) and all the right side modules are gone, and the page only have the registration form.

one last thing:
I'm sorry, you're right, there is no "pop-up" even in your website. I was confused by the fact that if you go ahead and try to purchase a product when you are in the "cart" area and click on the "register and checkout " or "checkout as a guest" the registration forms comes out as a popup, and I belive that this behaviour should be the same even when you register without a purchase.
The topic has been locked.

VM account detail page 10 years 9 months ago #5630

Hi Giancarlo,

it's just a matter of restyling your page to what every you would like it to look like..

you can use the css already incl. in the flexibleVM2Global.css

just use Firebug to find what ids and classes you need to target

www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/342-using-firebug-for-customization-or-troubleshooting

the background is styled e.g.

.checkout-content-cart {
background: url("../images/Flexible/checkoutBack.jpg") repeat-x scroll 0 0 #E2DDD9;
border-bottom: thin solid #A5A5A5;
border-left: thin solid #A5A5A5;
border-right: thin solid #A5A5A5;
margin-bottom: 10px;
margin-top: -10px;
padding: 15px;
}

re modules - looks to me as if they aren't published for this page.. there is nothing in the source and all the php does is import the css

cheers
The topic has been locked.

VM account detail page 10 years 8 months ago #5684

thank you John,
I will surely follow your suggestions .
Yes, you are right one more time, seems that the modules are not published for these pages, but the main problem is that my website has virtuemart as a part of the site , and it's not a complete VM website, so I need certain modules to be published only in certain area of the site, and not in every page.
Plus, having the website in EN and in IT ( mulitlanguage) I have to duplicate some modules and publish them only for the specific language.
This means that if I publish the modules for "every pages" they shows in the "user detail page" , but even in some pages that I don't want to.
Anyway, as this is an issue related to VM/joomla and not to your template I don't want you to bother anymore.
best regards
Giancarlo
The topic has been locked.

VM account detail page 10 years 8 months ago #5695

Hi again,

there are modules (extensions) available for this problem - a very powerful one I can recommend is metamod.. allows u to publish exactly what u want where u want it

extensions.joomla.org/extensions/style-a-design/modules-management/3391
The topic has been locked.

VM account detail page 10 years 8 months ago #5701

I will give it a try for sure,
thank you.
Giancarlo.
The topic has been locked.

VM account detail page 10 years 8 months ago #5705

ok - will mark solved

Cheers
The topic has been locked.
Time to create page: 0.140 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo