convict
-
Posts
1,302 -
Joined
-
Last visited
-
Days Won
1
Posts posted by convict
-
-
Please visit cubecart.org or google for cubecart expanding category links B)
-
Yes i understand what you mean.
If you dont use stok level it is easy, just a new line to includes/content/gateway.inc.php:
ADD THIS LINE
$orderSum['status'] = $db->mySQLSafe(3); // SET ORDER STATUS TO COMPLETE
JUST BEFORE
$insert = $db->insert($glob['dbprefix']."CubeCart_order_sum", $orderSum);
-
What is the reason you want to change order status to processing? Processing in other word means PAID.
-
Thanks Convict, that worked. How can I set it so that it does not have anything in the fields?
Also, on step 4, the "edit delivery address" is above the invoice address. Where is the code to change that?
Also, I need to add a dropdown box, a comments field and a delivery intructions field. How would I do that and intergrate it with the cart.
Sorry, my PHP knowedge is like null.
Thank you very much,
Micah
Custom modding, please visit cubecart.org there is an appropriate forum for.
-
... what is nice about direct payment you stay on your own site and you do not need ssl cert.
Good to know any credit card data from customer browser going to your site unecrypted
Can you post IP of your site?
Well it is strongly recomended to use SSL if any form used to fill sensitive data redides at YOUR site. PayPal Standrad, IPN nad Express Checkout is good, you dont need to have SSL because of a fact customer is writting all the data at PAYPAL site which use SSL connection.
-
No way as far as i know. what you see on paypal page is a PRODUCT screen.
-
i am working on my first cubecart installation and all is going fine, except i'd like to skip the first part of "step 5" in cart check-out where the user is prompted to select the payment gateway and enter comments. is there a way to go straight to the details page? we have one gateway configured and i'd like to go straight to it. thanks for any help.
Google for "cubecart quick checkout" :D
-
Paste following code to a new text file, name it whatever but extension php, upload to your root store folder and 'run'.
<?php include_once("includes/global.inc.php"); include_once("classes/db.inc.php"); $db = new db(); $db->misc("ALTER TABLE `".$glob['dbprefix']."CubeCart_category` ADD catDisplayOrderID int(11) NOT NULL default '0'"); $db->misc("ALTER TABLE `".$glob['dbprefix']."CubeCart_inventory` ADD productDisplayOrderID int(11) NOT NULL default '0'"); ?> DONE!
FYI: it is always prefered to contact the mod author first
-
This is what i found:
<input type="hidden" name="add2" value="82" />
<input type="hidden" name="quan2" value="1" />
Make sure there is an appropriate php code related to $_POST['add2'] & $_POST['quan2'] in includes/boxes/shoppingCart.inc.php. If not delete number 2 in template file from.
Standard cubecart knows $_POST['add'] & $_POST['quan'] only. Those form item names are used in product page.
-
@subten (Euan) I surprised you never posted any feedback there :D
Yeah sorry Convict... work has been mad (I only do this as a hobby) and I've only just found time to do some work as you'll know from me buying your mods
Null problemo, well work is mad sometime however i feel mad because of work LOL
Only I wanted to see how it works, thanks to wamasterhunter :D
-
Hi,
I need my customers to be able to send the product to friend while paying for it themselves. from what I have gathered, page three does that, but it is not there!? When I click the continue button on step two, it says it is going to page three, but it goes to page four instead.? what can I do stop the dedirect?
Thanks,
Micah
Just change the setting in admin control panel->Store Config->General settings->Locale Settings and set Allow dispatch to address other than invoice address? to YES
-
I'm trying to find a way in which to have the category link highlighted when you are in that category in the store.
Any suggestions anyone?
A modding is required or some kind of mod. Try to google for cubecart advanced expanding categories links
-
Well I use CSS throughout the site - can I style it like any html page?
If you want to use CSS related to yor site you have to add html related code (whole page) +
<link href="http://your.site.tld/path_to/filename.css" rel="stylesheet" type="text/css" />
in language file email part
OR
direct styling like style="any style property" in related html tag you use
-
/skins/rsi/styleTemplates/content/viewProd.tpl
-
Convict,
Thanks - it works perfectly!
One question, could I include styling for the font, etc? Would this go in the language/en/lang.inc.php file?
Welcome!
Well do use direct styling :(
-
You are welcome, happy to help. :w00t:
-
There is a mod to show shipping regardless to step just google for "cubecart shipping and tax always visible" however if you dont want to show it is step 0 2 3 send me a PM :w00t:Note that until you
have almost completed the checkout process the shipping wont be calculated and
shown..
I have a question regarding the shippingcost calculation not showing until the 2nd, 3rd and 4th step
it annoys me that the text 'Shipping' is visible in the 2nd and 3rd step, just because it's simply nothing there except for a -
now, i tryed to remove the $lang['front']['cart']['shipping'] in includes/content/cart.inc.php but that wasn't such a good idea because then the shipping wasn't announced in the 4th step
is there a way to remove the shipping text in the 2nd and 3rd step and have it visible in the 4th step??
any ideas, thx..
-
User-agent: *
Disallow: /index.php?act=login
Disallow: /index.php?act=taf
Disallow: /admin/
Disallow: /classes/
Disallow: /docs/
Disallow: /extra/
Disallow: /images/
Disallow: /includes/
Disallow: /js/
Disallow: /language/
Disallow: /modules/
Disallow: /pear/
Disallow: /skins/
Disallow: /cart.php
Disallow: /confirmed.php
Disallow: /download.php
Disallow: /offLine.php
Disallow: /switch.php
-
Well I did a separate topic for HTML format of digital goods download emails ;)Html tags in txt type of email are useless, you have to set html type of email first.
%s in your example is blank until you assign a value for it (select the appropriate product name from inventory and add it as the nex sprintf parameter).
Convict,
Thanks for taking time to reply. I can kind of understand what you mean but given my total lack of php, etc I don't know what I need to do.
Thanks for taking time to respond though.
Regards,
Euan
-
HTML format of digital goods download emails
includes/orderSuccess.inc.php
SEARCH FOR
$text .= sprintf($lang['front']['orderSuccess']['digi_email_body2'], $digitalProducts[$i]['name'], $glob['storeURL'], $digitalProducts[$i]['productId'], base64_encode($cart_order_id), $digitalProducts[$i]['accessKey']); }
REPLACE WITH
$text .= sprintf($lang['front']['orderSuccess']['digi_email_body2'], $glob['storeURL'], $digitalProducts[$i]['productId'], base64_encode($cart_order_id), $digitalProducts[$i]['accessKey'], $digitalProducts[$i]['name']); }
SEARCH FOR (last occurence, there are two..)
$mail->setText($text);
REPLACE WITH
$mail->setHtml($text);
language/en/lang.inc.php SEARCH FOR
'digi_email_body1' => "Dear %s, Thank you for your order no: %s placed on %s Below are the links you need to access the digital products you have ordered. IMPORTANT these links will expire on %s and you have %s attempts to download them. If you have any problems please contact us stating your order number. ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", 'digi_email_body2' => "%s DOWNLOAD LINK: %s/download.php?pid=%s&oid=%s&ak=%s ~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n",
REPLACE WITH
'digi_email_body1' => "Dear %s,<BR><BR> Thank you for your order no: %s placed on %s<BR><BR> Below are the links you need to access the digital products you have ordered.<BR><BR> IMPORTANT these links will expire on %s and you have %s attempts to download them. If you have any problems please contact us stating your order number.<BR><BR> DOWNLOAD LINKS:<BR><BR>", 'digi_email_body2' => "<a href='%s/download.php?pid=%s&oid=%s&ak=%s'>%s</a><BR>",
-
I have a couple of questions.
I want to edit the text for the download links email that gets sent out with the links for digital products.
'digi_email_body2' => "%s
DOWNLOAD LINK:
%s/download.php?pid=%s&oid=%s&ak=%s
~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n",
How can I change the text above so that the product name (which I think is %s is the link itself?
It is possible to create an html template so that you could include logos and banners within the download email?
I tried the following:
<a href='%s/download.php?pid=%s&oid=%s&ak=%s'>%s</a>but it didn't work.
Html tags in txt type of email are useless, you have to set html type of email first.
%s in your example is blank until you assign a value for it (select the appropriate product name from inventory and add it as the nex sprintf parameter).
-
-
Do you use ONLY shipping gateway? If so best to post the URL and admin access via PM will have a look.
To side note:
1:270,1.25:4.74 means
less/equal than 1 is 270
however less/equal than 1.25 and more than 1kg is 4.74
EDIT
ISO code for UK is GB
-
PM sent too ;)
Upgrading from 3.0.8
in Install & Upgrade Support
Posted
Did you upgrade cubecart files too? Your issue is related to non upgraded includes/ini.inc.php B)