Still no success having made that change :(
<?php echo zen_draw_checkbox_field('chk_wholesale', 'on', $chk_wholesale, 'id="chk_wholesale"') . '<label class="checkboxLabel"...
Type: Posts; User: invision2
Still no success having made that change :(
<?php echo zen_draw_checkbox_field('chk_wholesale', 'on', $chk_wholesale, 'id="chk_wholesale"') . '<label class="checkboxLabel"...
Yep, that's exactly what I thought and set it to, but didn't get anywhere.
# create_account.php
$chk_wholesale = 0; // line 27
$customers_authorization = (CUSTOMERS_APPROVAL_AUTHORIZATION ==...
Where should I do this?
Thanks once more for your help.
So part of my tpl_modules_create_account.php should read:
<?php echo zen_draw_checkbox_field('wholesale', '1', $wholesale, 'id="wholesale-checkbox"') ....
Thanks again Absolute.
OK, so in my 'create_account.php' - what changes should I make?
Is it this part here on line 71 that I need to modify: $customers_authorization =...
Ignore post above, my apologies.
I basically want the user to tick a checkbox(when registering) to say if they're a Trade customer. Would I need to add some SQL which associates a 'group' with the...
Thanks for the speedy reply, Absolute.
I have the 'create_account.php' file open. What should I do now? It's a BIG file :)
I'm going to try set it up so $trade = '0' as default, then if they...
Thanks for the reply guys.
Absolute, I think your 2nd suggestion sounds good. What file should I be looking to edit when doing this?
I think the best solution would be if the user chooses...
Hi,
I am in the early planning of a shopping cart using Zen-Cart and just wonder if users have the choice of choosing their user group when signing up.
We will have TWO different types of...
Hi,
I'm testing adding a product but a little unsure what these fields are for:
Thanks again guys!
Thanks fairestcape! Great signature too :)
Found the issue.
When installing I left the box ticked in the final step to allow the server to speak with Zen-Cart.com but hadn't set up permissions in my firewall rules.
V1.3.8a
Not upgraded
No Add-Ons
It's a Brand New Install, front-end works fine.
If I use the incorrect login, login.php tells me.
If I use the correct login, it works away for a bit, then...
Again, can't thank you guys enough for your help with this.
Yes, I would never have taken on the dev work when an existing module already works.
Thanks, I will pm ceon for more info on this....
Many thanks for the speedy replies guys. Seems like a friendly lot here :)
OK, so on the surface the only 'tricky' part which may require extra work would be the Shipping part.
What's your...
Hi,
I'm new here.
I do PHP, MySQL, CSS & XHTML.
A client has asked me to build a shopping cart so they can:
- Create categories/sub-categories.
- Upload products to those categories.