Questions tagged [commerce]

E-Commerce related questions

221 questions
0
votes
1 answer

Woocommerce discount if has certain attribute

Every product in my database has an "pa_producator" attribute, and i want the following thing: When pa_producator is equal to "Bosch", apply an 10% discount on that product only, not on the whole cart. Is this possible? Until now i have only the…
Filip
  • 346
  • 1
  • 4
  • 15
0
votes
0 answers

Basic Drupal Commerce functions not being seen

I am getting the following error when invoking commerce_cart_order_product_line_item_delete() in a custom module I'm writing. Fatal error: Call to undefined function commerce_entity_reference_delete() in…
sakeferret
  • 305
  • 1
  • 6
  • 15
0
votes
1 answer

How to use commerce_cart_order_product_line_item_delete?

I've set up my own custom module structure, and am trying to implement commerce_cart_order_product_line_item_delete. At it's most basic level, i'm trying to delete line item 70 from order 1 in my cart with the following code in my module:
sakeferret
  • 305
  • 1
  • 6
  • 15
0
votes
1 answer

How to run spree commerce under a domain?

I have a vds server centos and directadmin installed. I want to install spree commerce and followed the instructions here Actually I have installed everything without problem (even spree commerce), but I don't know how to run the website under a…
Hüseyin Dursun
  • 550
  • 5
  • 15
0
votes
1 answer

How to rename an WebSphere Application server 7

Good day everyone. How can i change application server name (server1 by default) in dmgr environment? I've found similar topic - How to rename an application server in WebSphere Application Server 6.0.2.23 and tried method mentoined…
user3071273
  • 1
  • 1
  • 1
0
votes
0 answers

Save two coupons in database when generate drupal commerce coupon programatically

I use the following code to generate the coupon code programatically $coupon = commerce_coupon_create('commerce_coupon_pct'); commerce_coupon_save($coupon); If these code run in xxx.module file, it will write two coupons in the database when I…
waveer
  • 1
  • 1
0
votes
1 answer

How to add additional tables in DashCommerce 2 using SubSonic 2.0.3

I've inherited an website that is base on DashCommerce 2 SubSonic 2.0.3 I wish to add some customfields to the project however cannot find .tt files. Also there is not option to "run tool" Did SubSonic 2.0.3 use .tt files? I'm assuming .tt =…
frosty
  • 5,330
  • 18
  • 85
  • 122
0
votes
1 answer

SOLR admin console in solr.war of IBM WCS 7

I would like to debug how solr will internally makes call to its component when we make any call to it by passing a search team in below way solr/MC_10001_CatalogEntry_en_US/select?q=*:*&fq=defaultSearch:"red" It looks like using solr admin console…
Santosh Sidnal
  • 128
  • 1
  • 9
0
votes
0 answers

Drupal commerce and commerce_paypal puts 2 paypal icons in the payment method radio buttons list

I'm a drupal developer with years of experience building big complex drupal sites. In all my time working with drupal however, I've never been tasked with building an ecommerce enabled site. I'm now working up a commerce site using drupal 7 with…
axl
  • 153
  • 4
  • 9
0
votes
1 answer

Delta imports in Oracle ATG commerce

Is there an Out Of the Box way to import daily product/sku delta data into ATG CA for subsequent deployment into production target? How is this done normally as this would be a requirement in every project. I know about the repository loader…
user132797
  • 359
  • 5
  • 14
0
votes
0 answers

EntityMalformedException at delete product (Drupal commerce

I recently installed drupal commerce and am using the auction module, ever since i've been unable to delete a product. It always throws the following exception: EntityMalformedException: Missing bundle property on entity of type commerce_product. in…
SnK
  • 528
  • 1
  • 11
  • 32
0
votes
1 answer

How to change this block's position?

Before this block was up there in position 1. Once I shifted the position of some blocks, not replaced it with her on top again. What is the name of this block and how can I reposition it to position 1?
Ocaccy Pontes
  • 257
  • 1
  • 5
  • 14
0
votes
1 answer

Replace Episerver Commerce Editor (TinyMCE)

Is there anybody who knows how can I replace TinyMCE with the default editor on Episerver Commerce SP2?
Bara
  • 31
  • 3
0
votes
1 answer

How to get Discount Start and End Date from Commerce Server?

I am trying to retrieve the start and end date of a discount using Microsoft Commerce Server, server side code. How can this be achieved? The only data I am stuck with is the promo code "TEST". There are not a lot of code samples on how I can just…
Anna
  • 239
  • 1
  • 7
  • 21
0
votes
4 answers

IBM WebSphere Commerce Promotions

I'm pretty new to WebSphere Commerce and I had a question regarding Promotions. I know you can set Promotions to be only accessible by a certain group of users and what not. But how do you go about editing this and is it possible to restrict…